/**
 * Cloudpedia Order Form - Custom Styles
 * Matching Figma Design for Product Hosting Page
 */

/* ========================================
   Page Gradient Background (Full Width)
   ======================================== */
body:has(#order-standard_cart) {
    background: #F5F6FB !important;
    min-height: 100vh;
    padding-left: 0 !important;
}

body:has(#order-standard_cart) #main-body {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 100vh;
    background:
        radial-gradient(ellipse 65% 85% at -5% 50%, rgba(193, 115, 255, 0.3) 0%, transparent 65%),
        linear-gradient(135deg, #E0DDDD 0%, #F5F6FB 50%, #F5F6FB 100%) !important;
    position: relative;
    overflow: hidden;
}

body:has(#order-standard_cart) #main-body .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body:has(#order-standard_cart) #main-body .row {
    margin: 0 !important;
}

body:has(#order-standard_cart) #main-body .primary-content {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body:has(#order-standard_cart) #main-body .sidebar {
    display: none !important;
}

/* Data Center Illustration - Bottom Left */
body:has(#order-standard_cart) #main-body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 320px;
    height: 320px;
    background-image: url("/templates/cloudpedia/assets/img/data-center-real.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    opacity: 0.8;
    pointer-events: none;
}

@media (max-width: 991px) {
    body:has(#order-standard_cart) #main-body::after {
        display: none;
    }
}

/* ========================================
   Layout & Sidebar
   ======================================== */
/* Hide the sidebar since we have navigation in the header */
.cart-sidebar {
    display: none !important;
}

/* Hide the knowledgebase search form in the top toolbar on order pages */
.cp-top-toolbar form.form-inline {
    display: none !important;
}

/* Hide the collapsed categories and actions panels */
.cart-sidebar-collapsed,
.panel.panel-sidebar.panel-sidebar-collapsed,
.cart-body .panel.card.panel-default {
    display: none !important;
}

/* Make cart body take full width */
.cart-body {
    width: 100%;
    max-width: 100%;
    flex: 1;
}

#order-standard_cart {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

#order-standard_cart .row {
    margin: 0;
}

/* ========================================
   Hero Section
   ======================================== */
.cloudpedia-hero-section {
    text-align: center;
    margin: 0 auto 16px;
    max-width: 800px;
}

.product-label {
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.gradient-heading {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #1F2937;
}

.gradient-text {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) {
    .gradient-text {
        color: #8B5CF6;
    }
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #6B7280;
    margin: 0 auto;
    max-width: 650px;
}

/* ========================================
   Product Cards Container
   ======================================== */
.cloudpedia-products {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    background: #E7F1FC;
    border-radius: 16px;
    padding: 24px;
}

/* ========================================
   Individual Product Card
   ======================================== */
.cloudpedia-product-card {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 12px;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 0 32px;
    align-items: center;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cloudpedia-product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: #CBD5E0;
}

/* ========================================
   Product Left (Icon + Info)
   ======================================== */
.product-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-icon {
    width: 88px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ========================================
   Product Info
   ======================================== */
.product-info {
    min-width: 0;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.product-description {
    font-size: 12px;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   Product Features (Two Columns)
   ======================================== */
.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 32px;
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkmark {
    flex-shrink: 0;
    margin-top: 2px;
    width: 16px;
    height: 16px;
}

.feature-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.feature-text strong {
    font-weight: 600;
    color: #0F172A;
}

/* ========================================
   Pricing & CTA
   ======================================== */
.product-pricing-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    min-width: 180px;
}

.pricing-info {
    text-align: right;
}

.pricing-info .price {
    font-size: 22px;
    font-weight: 700;
    color: #0F172A;
    display: inline;
}

.pricing-info .cycle {
    font-size: 15px;
    color: #64748B;
    font-weight: 400;
    margin-left: 2px;
}

/* ========================================
   Order Now Button
   ======================================== */
.btn-order-now {
    background: #0048E6;
    color: #FFFFFF;
    border: none;
    border-radius: 24px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-order-now:hover {
    background: #0038B8;
    color: #FFFFFF;
    text-decoration: none;
}

.btn-order-now:active {
    background: #002D91;
}

.btn-order-now .btn-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ========================================
   Responsive Design - Tablet
   ======================================== */
@media (max-width: 991px) {
    .cloudpedia-hero-section {
        margin-bottom: 32px;
    }

    .gradient-heading {
        font-size: 36px;
    }

    .cloudpedia-product-card {
        grid-template-columns: 160px 1fr auto;
        gap: 0 20px;
        padding: 20px;
    }

    .product-left {
        gap: 12px;
    }

    .product-icon {
        width: 72px;
    }

    .product-features {
        gap: 6px 24px;
    }

    .product-pricing-cta {
        min-width: 150px;
    }

    .pricing-info .price {
        font-size: 18px;
    }

    .pricing-info .cycle {
        font-size: 14px;
    }
}

/* ========================================
   Responsive Design - Small Tablet
   ======================================== */
@media (max-width: 860px) {
    .cloudpedia-product-card {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 16px 20px;
    }

    .product-left {
        grid-column: 1;
        grid-row: 1;
    }

    .product-features {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
    }

    .product-pricing-cta {
        grid-column: 1;
        grid-row: 2;
        align-items: flex-start;
        flex-direction: row;
        gap: 16px;
        min-width: auto;
    }

    .pricing-info {
        text-align: left;
    }
}

/* ========================================
   Responsive Design - Mobile
   ======================================== */
@media (max-width: 640px) {
    .gradient-heading {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .cloudpedia-product-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
        padding: 20px;
    }

    .product-left {
        grid-column: 1;
        grid-row: auto;
    }

    .product-icon {
        width: 72px;
    }

    .product-features {
        grid-column: 1;
        grid-row: auto;
        grid-template-columns: 1fr;
    }

    .product-pricing-cta {
        grid-column: 1;
        grid-row: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-width: auto;
    }

    .pricing-info {
        text-align: left;
    }

    .btn-order-now {
        min-width: auto;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .cloudpedia-product-card {
        page-break-inside: avoid;
        border: 1px solid #000;
    }

    .btn-order-now {
        display: none;
    }
}

/* =====================================================================
   ORDER FLOW PAGES - Figma-Aligned Design
   Scoped to pages WITHOUT .cloudpedia-products (domain, config, cart,
   checkout, complete). Does NOT affect the products listing page.
   =====================================================================

   Color Palette:
     Primary Green:  #22C55E
     Green Hover:    #16A34A
     Dark Navy:      #1A1F36
     Input Border:   #E5E7EB
     Heading Text:   #111827
     Body Text:      #374151
     Muted Text:     #6B7280
   ===================================================================== */

/* ========================================
   ORDER FLOW: Page Headings
   ======================================== */
#order-standard_cart .header-lined {
    border: none;
    margin-bottom: 24px;
    padding-bottom: 0;
}

#order-standard_cart .header-lined h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1c0e5a;
    border: none;
    margin: 0;
    padding: 0;
}

/* Sub-headings with green left accent */
#order-standard_cart .sub-heading {
    margin: 28px 0 16px;
    padding: 0;
    border: none;
}

#order-standard_cart .sub-heading span {
    background: none !important;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    padding: 0 0 0 14px;
    border-left: 4px solid #22C55E;
    display: block;
    line-height: 1.4;
}

/* ========================================
   ORDER FLOW: Form Elements
   ======================================== */
#order-standard_cart .form-control {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #374151;
    background: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    height: auto;
}

#order-standard_cart .form-control:focus {
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
    outline: none;
}

#order-standard_cart .form-control::placeholder {
    color: #9CA3AF;
}

#order-standard_cart .form-group {
    margin-bottom: 16px;
}

/* Prepend icon fields (checkout) */
#order-standard_cart .prepend-icon {
    position: relative;
}

#order-standard_cart .prepend-icon .field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    z-index: 2;
    margin: 0;
    font-size: 14px;
}

#order-standard_cart .prepend-icon .field {
    padding-left: 40px;
}

/* Input groups (www. prefix) */
#order-standard_cart .input-group-addon,
#order-standard_cart .input-group-prepend .input-group-text {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: #6B7280;
    font-size: 14px;
    padding: 10px 12px;
}

#order-standard_cart .input-group .form-control {
    border-radius: 0 8px 8px 0;
}

/* ========================================
   ORDER FLOW: Buttons
   ======================================== */
#order-standard_cart .btn-primary {
    background: #22C55E;
    border: none;
    border-radius: 24px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

#order-standard_cart .btn-primary:hover,
#order-standard_cart .btn-primary:focus {
    background: #16A34A;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

#order-standard_cart .btn-primary:active {
    background: #15803D;
}

#order-standard_cart .btn-primary.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

#order-standard_cart .btn-default,
#order-standard_cart .btn-secondary {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
}

#order-standard_cart .btn-default:hover,
#order-standard_cart .btn-secondary:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
}

#order-standard_cart .btn-success {
    background: #22C55E;
    border: none;
    border-radius: 24px;
    color: #FFFFFF;
    font-weight: 600;
}

#order-standard_cart .btn-success:hover {
    background: #16A34A;
    color: #FFFFFF;
}

/* ========================================
   ORDER FLOW: Alerts
   ======================================== */
#order-standard_cart .alert {
    border-radius: 8px;
    border: none;
    font-size: 14px;
    padding: 14px 18px;
}

#order-standard_cart .alert-danger {
    background: #FEF2F2;
    color: #991B1B;
}

#order-standard_cart .alert-warning {
    background: #FFFBEB;
    color: #92400E;
}

#order-standard_cart .alert-info {
    background: #EFF6FF;
    color: #1E40AF;
}

#order-standard_cart .alert-success {
    background: #F0FDF4;
    color: #166534;
}

/* ========================================
   ORDER FLOW: Domain Selection Page
   ======================================== */
#order-standard_cart .domain-selection-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#order-standard_cart .domain-selection-options .option {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px 24px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#order-standard_cart .domain-selection-options .option:has(input:checked) {
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
    border-left: 4px solid #22C55E;
}

#order-standard_cart .domain-selection-options .option label {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

#order-standard_cart .domain-selection-options .option input[type="radio"] {
    accent-color: #22C55E;
    width: 18px;
    height: 18px;
    margin: 0;
}

#order-standard_cart .domain-selection-options .domain-input-group {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #F3F4F6;
}

/* Domain search results */
#order-standard_cart #DomainSearchResults {
    margin-top: 24px;
}

#order-standard_cart .domain-checker-available {
    color: #22C55E;
    font-weight: 600;
}

#order-standard_cart .domain-checker-unavailable {
    color: #EF4444;
    font-weight: 600;
}

#order-standard_cart .domain-price {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 12px 0;
}

/* Spotlight TLDs */
#order-standard_cart .spotlight-tlds {
    margin: 24px 0;
}

#order-standard_cart .spotlight-tlds-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

#order-standard_cart .spotlight-tld {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    font-weight: 600;
    color: #111827;
    min-width: 120px;
    transition: border-color 0.2s ease;
}

#order-standard_cart .spotlight-tld:hover {
    border-color: #22C55E;
}

#order-standard_cart .spotlight-tld .price {
    display: block;
    font-size: 14px;
    color: #22C55E;
    font-weight: 700;
    margin-top: 8px;
}

/* Add to Cart buttons */
#order-standard_cart .btn-add-to-cart {
    background: #22C55E;
    border: none;
    border-radius: 24px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    transition: background 0.2s ease;
}

#order-standard_cart .btn-add-to-cart:hover {
    background: #16A34A;
    color: #FFFFFF;
}

/* Suggested domains */
#order-standard_cart .suggested-domains .panel-heading,
#order-standard_cart .suggested-domains .card-header {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    color: #111827;
    padding: 14px 20px;
}

#order-standard_cart .suggested-domains .list-group-item {
    padding: 14px 20px;
    border-color: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#order-standard_cart .suggested-domains .panel-footer,
#order-standard_cart .suggested-domains .card-footer {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 12px 20px;
}

#order-standard_cart .suggested-domains .domain-suggestion .domain {
    font-weight: 600;
    color: #111827;
}

#order-standard_cart .suggested-domains .domain-suggestion .price {
    font-weight: 700;
    color: #22C55E;
}

/* Continue button */
#order-standard_cart #btnDomainContinue {
    margin-top: 28px;
}

/* ========================================
   ORDER FLOW: Product Configuration Page
   ======================================== */
#order-standard_cart .secondary-cart-body {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 28px;
}

#order-standard_cart .secondary-cart-body .product-info {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

#order-standard_cart .secondary-cart-body .product-info .product-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

/* Configurable options */
#order-standard_cart .product-configurable-options .form-group {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 14px 16px;
}

/* Addon panels */
#order-standard_cart .panel-addon,
#order-standard_cart .card.panel-addon {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

#order-standard_cart .panel-addon:hover {
    border-color: #22C55E;
}

#order-standard_cart .panel-addon-selected {
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

#order-standard_cart .panel-addon .panel-body,
#order-standard_cart .panel-addon .card-body {
    padding: 16px 20px;
}

#order-standard_cart .panel-addon .panel-price {
    background: #F9FAFB;
    padding: 10px 20px;
    font-weight: 700;
    color: #111827;
    font-size: 15px;
    border-top: 1px solid #F3F4F6;
}

#order-standard_cart .panel-addon .panel-add {
    background: #22C55E;
    color: #FFFFFF;
    padding: 10px 20px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

#order-standard_cart .panel-addon .panel-add:hover {
    background: #16A34A;
}

/* Order Summary Sidebar (dark navy) */
#order-standard_cart .secondary-cart-sidebar .order-summary {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 28px 24px;
    color: #2b3553;
    border: 1px solid #eef0f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

#order-standard_cart .secondary-cart-sidebar .order-summary h2 {
    color: #2b3553;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

#order-standard_cart .secondary-cart-sidebar .order-summary .summary-container {
    color: #2b3553;
    font-size: 14px;
}

#order-standard_cart .secondary-cart-sidebar .order-summary .summary-container strong {
    color: #2b3553;
}

#order-standard_cart .secondary-cart-sidebar #orderSummaryLoader {
    color: #2b3553;
}

#order-standard_cart .secondary-cart-sidebar .order-summary + .text-center {
    margin-top: 20px;
}

#order-standard_cart .secondary-cart-sidebar #btnCompleteProductConfig {
    background: #22C55E;
    border: none;
    border-radius: 24px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
}

#order-standard_cart .secondary-cart-sidebar #btnCompleteProductConfig:hover {
    background: #16A34A;
}

/* ========================================
   ORDER FLOW: Cart Review Page
   ======================================== */
#order-standard_cart .view-cart-items-header {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px 12px 0 0;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

#order-standard_cart .view-cart-items {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

#order-standard_cart .view-cart-items .item {
    padding: 18px 20px;
    border-bottom: 1px solid #F3F4F6;
    transition: background 0.15s ease;
}

#order-standard_cart .view-cart-items .item:last-child {
    border-bottom: none;
}

#order-standard_cart .view-cart-items .item:hover {
    background: #FAFBFC;
}

#order-standard_cart .view-cart-items .item-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    display: block;
    margin-bottom: 4px;
}

#order-standard_cart .view-cart-items .item-group {
    font-size: 13px;
    color: #6B7280;
    display: block;
}

#order-standard_cart .view-cart-items .item-domain {
    font-size: 13px;
    color: #374151;
    display: block;
    font-weight: 500;
}

#order-standard_cart .view-cart-items .item-price {
    text-align: right;
}

#order-standard_cart .view-cart-items .item-price span:first-child {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    display: block;
}

#order-standard_cart .view-cart-items .item-price .cycle {
    font-size: 13px;
    color: #6B7280;
    font-weight: 400;
}

#order-standard_cart .btn-remove-from-cart {
    color: #9CA3AF;
    transition: color 0.2s ease;
}

#order-standard_cart .btn-remove-from-cart:hover {
    color: #EF4444;
}

#order-standard_cart .view-cart-empty {
    padding: 48px 24px;
    text-align: center;
    font-size: 16px;
    color: #6B7280;
}

#order-standard_cart .empty-cart .btn-link {
    color: #9CA3AF;
    font-size: 13px;
}

#order-standard_cart .empty-cart .btn-link:hover {
    color: #EF4444;
}

/* Promo / Tax tabs */
#order-standard_cart .view-cart-tabs {
    margin-top: 24px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
}

#order-standard_cart .view-cart-tabs .nav-tabs {
    border-bottom: 1px solid #E5E7EB;
    padding: 0 16px;
    background: #F9FAFB;
}

#order-standard_cart .view-cart-tabs .nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
    border-radius: 0;
    transition: color 0.2s ease, border-color 0.2s ease;
}

#order-standard_cart .view-cart-tabs .nav-tabs .nav-link.active,
#order-standard_cart .view-cart-tabs .nav-tabs .nav-link:hover {
    color: #3b4e6e;
    border-bottom-color: #3b4e6e;
    background: transparent;
}

#order-standard_cart .view-cart-tabs .tab-content {
    padding: 20px;
}

/* Cart Order Summary (dark navy) */
#order-standard_cart .secondary-cart-sidebar .order-summary .subtotal,
#order-standard_cart .secondary-cart-sidebar .order-summary .bordered-totals > div,
#order-standard_cart .secondary-cart-sidebar .order-summary .recurring-totals {
    color: #2b3553;
    padding: 8px 0;
    font-size: 14px;
}

#order-standard_cart .secondary-cart-sidebar .order-summary .subtotal span,
#order-standard_cart .secondary-cart-sidebar .order-summary .bordered-totals span,
#order-standard_cart .secondary-cart-sidebar .order-summary .recurring-totals span {
    color: #2b3553;
    font-weight: 600;
}

#order-standard_cart .secondary-cart-sidebar .order-summary .bordered-totals {
    border-top: 1px solid #eef0f6;
    border-bottom: 1px solid #eef0f6;
    margin: 8px 0;
    padding: 4px 0;
}

#order-standard_cart .secondary-cart-sidebar .order-summary .total-due-today {
    background: #f0f0fa;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
    text-align: center;
}

#order-standard_cart .secondary-cart-sidebar .order-summary .total-due-today .amt {
    font-size: 28px;
    font-weight: 700;
    color: #1c0e5a;
    display: block;
}

#order-standard_cart .secondary-cart-sidebar .order-summary .total-due-today span:last-child {
    font-size: 13px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Checkout button in cart */
#order-standard_cart .secondary-cart-sidebar .btn-checkout {
    background: #1c0e5a;
    border: none;
    border-radius: 24px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    margin-top: 16px;
    width: 100%;
    display: block;
    text-align: center;
}

#order-standard_cart .secondary-cart-sidebar .btn-checkout:hover {
    background: #2a1b7a;
    color: #FFFFFF;
}

#order-standard_cart .secondary-cart-sidebar .btn-continue-shopping {
    color: #D1D5DB;
    font-size: 13px;
    margin-top: 8px;
    display: inline-block;
}

#order-standard_cart .secondary-cart-sidebar .btn-continue-shopping:hover {
    color: #FFFFFF;
}

/* ========================================
   ORDER FLOW: Checkout Page
   ======================================== */
#order-standard_cart .already-registered {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 24px;
}

#order-standard_cart .already-registered .btn-info {
    background: #22C55E;
    border: none;
    border-radius: 24px;
    padding: 10px 24px;
    font-weight: 600;
    color: #FFFFFF;
}

#order-standard_cart .already-registered .btn-info:hover {
    background: #16A34A;
}

#order-standard_cart .already-registered .btn-warning {
    background: #F59E0B;
    border: none;
    border-radius: 24px;
    padding: 10px 24px;
    font-weight: 600;
    color: #FFFFFF;
}

#order-standard_cart .already-registered .btn-warning:hover {
    background: #D97706;
}

/* Account selection */
#order-standard_cart .account-select-container .account {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 12px;
    transition: border-color 0.2s ease;
}

#order-standard_cart .account-select-container .account.active {
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Checkout form section cards */
#order-standard_cart #containerNewUserSignup,
#order-standard_cart #containerExistingUserSignin,
#order-standard_cart #containerNewUserSecurity {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

#order-standard_cart #containerNewUserSignup .sub-heading:first-child,
#order-standard_cart #containerExistingUserSignin .sub-heading:first-child,
#order-standard_cart #containerNewUserSecurity .sub-heading:first-child {
    margin-top: 0;
}

/* Total due today banner */
#order-standard_cart #totalDueToday.alert-success {
    background: #1A1F36;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 20px 24px;
    font-size: 18px;
    text-align: center;
}

#order-standard_cart #totalDueToday.alert-success strong {
    font-size: 24px;
    color: #22C55E;
}

/* Payment gateway selection */
#order-standard_cart #paymentGatewaysContainer {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

#order-standard_cart #paymentGatewaysContainer .radio-inline {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 12px 18px;
    margin: 4px;
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

#order-standard_cart #paymentGatewaysContainer .radio-inline:has(input:checked) {
    border-color: #22C55E;
    background: #F0FDF4;
}

#order-standard_cart #paymentGatewaysContainer .radio-inline input[type="radio"] {
    accent-color: #22C55E;
}

/* Credit card input */
#order-standard_cart .cc-input-container {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

/* Apply credit */
#order-standard_cart .apply-credit-container {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

/* Marketing opt-in */
#order-standard_cart .marketing-email-optin {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
}

#order-standard_cart .marketing-email-optin h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

/* Complete order button */
#order-standard_cart #btnCompleteOrder {
    background: #22C55E;
    border: none;
    border-radius: 24px;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
}

#order-standard_cart #btnCompleteOrder:hover {
    background: #16A34A;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

#order-standard_cart #accepttos {
    accent-color: #22C55E;
}

/* Security notice */
#order-standard_cart .checkout-security-msg {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    color: #6B7280;
    margin-top: 20px;
    font-size: 13px;
}

#order-standard_cart .password-strength-meter .progress {
    border-radius: 8px;
    height: 6px;
}

#order-standard_cart .generate-password {
    border-radius: 24px;
}

/* ========================================
   ORDER FLOW: Order Complete Page
   ======================================== */
#order-standard_cart .order-confirmation {
    background: #1A1F36;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    font-size: 16px;
    border: none;
}

#order-standard_cart .order-confirmation span {
    font-size: 24px;
    font-weight: 700;
    color: #22C55E;
    display: block;
    margin-top: 8px;
}

/* Domain registrant fields */
#order-standard_cart #domainRegistrantInputFields {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-top: 12px;
}

/* Modals */
#order-standard_cart .modal-content {
    border-radius: 12px;
    border: none;
}

#order-standard_cart .modal-header {
    border-bottom: 1px solid #E5E7EB;
}

#order-standard_cart .modal-footer {
    border-top: 1px solid #E5E7EB;
}

/* ========================================
   ORDER FLOW: Responsive - Tablet
   ======================================== */
@media (max-width: 991px) {
    #order-standard_cart .secondary-cart-body {
        margin-bottom: 20px;
    }
}

/* ========================================
   ORDER FLOW: Responsive - Mobile
   ======================================== */
@media (max-width: 640px) {
    #order-standard_cart .header-lined h1 {
        font-size: 24px;
    }

    #order-standard_cart .domain-selection-options .option {
        padding: 16px;
    }

    #order-standard_cart .secondary-cart-body {
        padding: 18px;
    }

    #order-standard_cart .secondary-cart-sidebar .order-summary {
        padding: 20px 18px;
    }

    #order-standard_cart #containerNewUserSignup,
    #order-standard_cart #containerExistingUserSignin,
    #order-standard_cart #containerNewUserSecurity {
        padding: 18px;
    }

    #order-standard_cart .view-cart-items .item {
        padding: 14px 16px;
    }
}

/* View Cart Layout Styles */
.layout-two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.cart-items-column {
    flex: 1 1 calc(66.666% - 12px);
    max-width: calc(66.666% - 12px);
}
.cart-summary-column {
    flex: 1 1 calc(33.333% - 12px);
    max-width: calc(33.333% - 12px);
}
@media (max-width: 991px) {
    .cart-items-column, .cart-summary-column {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
.cart-body {
    padding: 0;
}
.secondary-cart-body {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #eef0f6;
}
.view-cart-items-header {
    background-color: #1c0e5a;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin: -24px -24px 24px -24px;
}
.view-cart-items .item {
    border-bottom: 1px solid #eef0f6;
    padding: 16px 0;
}
.view-cart-items .item:last-child {
    border-bottom: none;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    padding: 24px;
    border: 1px solid #eef0f6;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1c0e5a;
    margin-bottom: 20px;
    border-bottom: 2px solid #eef0f6;
    padding-bottom: 12px;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .summary-container {
    color: #2b3553;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .subtotal, 
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .bordered-totals .clearfix, 
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .recurring-totals {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f6;
    color: #2b3553;
}

/* NEW — Totals separator line */
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .recurring-totals {
    border-bottom: none;
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    margin-top: 4px;
    font-weight: 600;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .subtotal span,
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .bordered-totals span,
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .recurring-totals span {
    color: #2b3553;
    font-weight: 500;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .bordered-totals .clearfix {
    font-size: 0.9em;
}

/* NEW — Tax line purple accent */
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .bordered-totals .clearfix span.float-left {
    color: #7c3aed;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .bordered-totals .clearfix span.float-right {
    color: #7c3aed;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .total-due-today {
    background: #f0f0fa;
    color: #2b3553;
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
    text-align: center;
    border: 1px solid #dddcf0;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .total-due-today .amt {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1c0e5a;
    margin-bottom: 4px;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .total-due-today span:last-child {
    font-size: 0.875rem;
    opacity: 1;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .btn-checkout {
    background: #1c0e5a;
    border: none;
    color: #ffffff;
    border-radius: 24px;
    padding: 14px 24px;
    font-weight: 600;
    width: 100%;
    margin-top: 20px;
    transition: all 0.2s ease;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .btn-checkout:hover {
    background: #2a1b7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 14, 90, 0.3);
    color: #ffffff;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .btn-continue-shopping {
    display: block;
    width: 100%;
    background: #7c3aed;
    color: #ffffff;
    border-radius: 24px;
    padding: 14px 24px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    margin-top: 12px;
    transition: all 0.2s ease;
}
#order-standard_cart .secondary-cart-sidebar .cloudpedia-order-summary .btn-continue-shopping:hover {
    background: #6d28d9;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}
.view-cart-tabs {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef0f6;
    overflow: hidden;
}
.view-cart-tabs .nav-tabs {
    border-bottom: 1px solid #eef0f6;
    background: #f8fafc;
}
.view-cart-tabs .nav-tabs > li > a {
    color: #1c0e5a;
    font-weight: 600;
    padding: 16px 24px;
    border: none;
    border-bottom: 2px solid transparent;
}
.view-cart-tabs .nav-tabs > li.active > a, 
.view-cart-tabs .nav-tabs > li > a.active {
    color: #3b4e6e;
    background-color: transparent;
    border-bottom: 2px solid #3b4e6e;
}
.view-cart-tabs .tab-content {
    padding: 24px;
}
#inputPromotionCode {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    padding-left: 40px;
    height: auto;
}
.btn[name="validatepromo"] {
    background: #1c0e5a;
    color: #ffffff;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    margin-top: 16px;
    border: none;
}
.btn[name="validatepromo"]:hover {
    background: #2a1b7a;
    color: #ffffff;
}
.cloudpedia-cart-empty i {
    color: #a3b0fb;
}
.cloudpedia-cart-empty h3 {
    color: #1c0e5a;
}
#order-standard_cart .cloudpedia-cart-empty .cloudpedia-btn-start-shopping {
    display: inline-block;
    background: #0096ff;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1.5;
}
#order-standard_cart .cloudpedia-cart-empty .cloudpedia-btn-start-shopping:hover {
    background: #0082db;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 150, 255, 0.3);
    text-decoration: none;
}

/* ========================================
   CalcTaxes Form — Clean Stacked Layout
   ======================================== */
#calcTaxes .form-group.row {
    flex-direction: column;
    margin-bottom: 16px;
}

#calcTaxes .form-group.row label,
#calcTaxes .form-group.row [class*="col-"] {
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    max-width: 100%;
    flex: none;
}

/* Override Bootstrap's .text-sm-right which fires inside a media query at ≥576px */
@media (min-width: 576px) {
    #calcTaxes .form-group.row label.text-sm-right,
    #calcTaxes .form-group.row [class*="col-"].text-sm-right {
        text-align: left;
    }
}

#calcTaxes .form-group.row > div {
    max-width: 100%;
    flex: 0 0 100%;
    padding-left: 0;
}

#calcTaxes .form-group.text-center {
    text-align: left;
    margin-top: 8px;
}

#calcTaxes .btn-default {
    background: #3b4e6e;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease;
}

#calcTaxes .btn-default:hover {
    background: #2e3f5a;
    color: #ffffff;
}

