/* MailArsivi Premium WHMCS Checkout Redesign */
#order-standard_cart {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Page Headers */
#order-standard_cart .header-lined {
    border-bottom: 2px solid #eef2f6;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

#order-standard_cart .header-lined h1 {
    font-weight: 700;
    color: #1a2b4c;
    letter-spacing: -0.5px;
}

/* Main Content Area */
#order-standard_cart .secondary-cart-body {
    padding-right: 30px;
}

/* Product Info Card */
#order-standard_cart .product-info {
    background: #ffffff;
    border: 1px solid #e1e8f0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

#order-standard_cart .product-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(135deg, #007bff 0%, #00d2ff 100%);
}

#order-standard_cart .product-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #1a2b4c !important;
    margin-bottom: 15px !important;
}

/* Feature List (Product Description) */
#order-standard_cart .product-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#order-standard_cart .product-info ul li {
    padding: 12px 0;
    border-bottom: 1px dashed #eef2f6;
    color: #4a5568;
    font-size: 15px;
    display: flex;
    align-items: center;
}

#order-standard_cart .product-info ul li:last-child {
    border-bottom: none;
}

/* Custom Checkmark for lists containing ✓ */
#order-standard_cart .product-info ul li {
    position: relative;
}

/* Remove default checkmarks if they exist in text and replace visually */
#order-standard_cart .product-info ul li i.fa-check, 
#order-standard_cart .product-info ul li i.fas.fa-check {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 6px;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 12px;
}

/* Sub Headings */
#order-standard_cart .sub-heading {
    border-bottom: 2px solid #eef2f6;
    margin: 30px 0 20px;
}

#order-standard_cart .sub-heading span.primary-bg-color {
    background-color: transparent !important;
    color: #1a2b4c !important;
    font-weight: 700;
    font-size: 18px;
    padding: 0 0 10px 0;
    display: inline-block;
    border-bottom: 3px solid #007bff;
    margin-bottom: -2px;
}

/* Order Summary Sidebar */
#order-standard_cart .secondary-cart-sidebar {
    padding-left: 15px;
}

#orderSummary {
    position: sticky;
    top: 30px;
    z-index: 10;
}

#order-standard_cart .order-summary {
    background: #ffffff;
    border: 1px solid #e1e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 25px;
}

#order-standard_cart .order-summary h2 {
    background: #f8fafc;
    color: #1a2b4c;
    font-weight: 700;
    font-size: 20px;
    padding: 20px;
    margin: 0;
    border-bottom: 1px solid #e1e8f0;
    text-align: center;
}

#order-standard_cart .summary-container {
    padding: 25px 20px;
    font-size: 15px;
    color: #4a5568;
}

/* Total Price Display */
#order-standard_cart .summary-container .total {
    font-size: 28px;
    font-weight: 800;
    color: #007bff;
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed #e1e8f0;
}

/* Checkout Button */
#btnCompleteProductConfig {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 30px;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    width: 100%;
}

#btnCompleteProductConfig:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
}

#btnCompleteProductConfig i {
    margin-left: 10px;
}

/* Form Controls */
#order-standard_cart .form-control {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 10px 15px;
    transition: all 0.2s ease;
    box-shadow: none;
}

#order-standard_cart .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Addons */
#order-standard_cart .panel-addon {
    border-radius: 12px;
    border: 1px solid #e1e8f0;
    transition: all 0.3s ease;
}

#order-standard_cart .panel-addon:hover {
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

#order-standard_cart .panel-addon-selected {
    border-color: #007bff;
    background-color: #f8fbff;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    #order-standard_cart .secondary-cart-body {
        padding-right: 0;
    }
    #order-standard_cart .secondary-cart-sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
}

/* Custom Crossmark for lists containing X */
#order-standard_cart .product-info ul li i.fa-times, 
#order-standard_cart .product-info ul li i.fas.fa-times {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
    padding: 6px;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 12px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#order-standard_cart .product-info ul li i.fa-check, 
#order-standard_cart .product-info ul li i.fas.fa-check {
    color: #10b981 !important;
    background: rgba(16, 185, 129, 0.1) !important;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Select Box Alignment Fix */
#order-standard_cart select.form-control,
#order-standard_cart select.custom-select {
    height: 46px !important;
    padding: 10px 35px 10px 15px !important;
    line-height: 1.5 !important;
    appearance: none !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px 12px !important;
    background-color: #fff !important;
}

#order-standard_cart select::-ms-expand {
    display: none;
}
