/* ============================================================
   Lagom Starter Theme - Custom CSS
   A Lagom-inspired design for WHMCS dev environments
   ============================================================ */

/* ======================
   CSS Variables (Lagom Design Tokens)
   ====================== */
:root {
    /* Brand Colors */
    --brand-primary: #05259F;
    --brand-primary-lighter: #A3C0F0;
    --brand-primary-lighter-2: #C4D5F1;
    --brand-primary-lighter-3: #E4EAF3;
    --brand-primary-lighter-4: #E4EAF3;
    --brand-primary-darker: #051751;
    --brand-secondary: #3352D3;
    --brand-secondary-darker: #031030;

    /* Status Colors */
    --brand-success: #1E7B32;
    --brand-warning: #B84B00;
    --brand-danger: #CA202C;
    --brand-info: #05259F;

    /* Grays */
    --gray-darker: #17191C;
    --gray-base: #4B4F58;
    --gray-lighter: #595E69;
    --gray-lighter-2: #6D7482;
    --gray-lighter-3: #DEE0E3;
    --gray-lighter-4: #EFEFF1;
    --gray-faded: #F7F7F8;

    /* Spacing */
    --spacing-1x: 8px;
    --spacing-2x: 16px;
    --spacing-3x: 24px;
    --spacing-4x: 32px;
    --spacing-5x: 40px;
    --spacing-6x: 48px;

    /* Shadows */
    --shadow-sm: 0px 0px 1px rgba(0, 0, 0, .04), 0px 2px 6px rgba(0, 0, 0, .04);
    --shadow-md: 0px 0px 1px rgba(0, 0, 0, .04), 0px 4px 16px rgba(0, 0, 0, .06);
    --shadow-lg: 0px 0px 1px rgba(0, 0, 0, .04), 0px 8px 32px rgba(0, 0, 0, .06);
    --shadow-xl: 0px 0px 1px rgba(0, 0, 0, .04), 0px 8px 56px rgba(0, 0, 0, .08);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-base: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
}

/* ======================
   Base / Typography
   ====================== */
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-base);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'DM Sans', sans-serif !important;
    color: var(--gray-darker);
    font-weight: 700;
}

h1,
.h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.17;
}

h2,
.h2 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
}

h3,
.h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

h4,
.h4 {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
}

h5,
.h5 {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
}

h6,
.h6 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.33;
}

a {
    color: var(--brand-primary);
    transition: all 0.24s ease;
}

a:hover {
    color: var(--brand-primary-darker);
    text-decoration: none;
}

p {
    color: var(--gray-base);
    line-height: 1.7;
}

::selection {
    background-color: var(--brand-primary-lighter-3);
    color: var(--brand-primary);
}

/* Restore Font Awesome icon fonts — prevent body font override */
.fas,
.fa {
    font-family: "Font Awesome 5 Pro" !important;
    font-weight: 900;
}

.far {
    font-family: "Font Awesome 5 Pro" !important;
    font-weight: 400;
}

.fal {
    font-family: "Font Awesome 5 Pro" !important;
    font-weight: 300;
}

.fad {
    font-family: "Font Awesome 5 Duotone" !important;
    font-weight: 900;
}

.fab {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400;
}

.fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400;
}

/* ======================
   Header / Navigation
   ====================== */
#header {
    background: #fff;
    border-bottom: 1px solid var(--gray-lighter-4);
    box-shadow: none;
}

.header .topbar {
    background: var(--gray-faded);
    border-bottom: 1px solid var(--gray-lighter-4);
    padding: 6px 0;
    font-size: 13px;
}

.header .topbar .btn {
    font-size: 13px;
    color: var(--gray-lighter);
    padding: 8px 20px !important;
    border: none;
    background: transparent;
}

.header .topbar .btn:hover {
    color: var(--brand-primary);
}

.header .topbar .input-group-text {
    background: transparent;
    border: none;
    font-size: 13px;
    color: var(--gray-lighter-2);
    padding: 0;
}

.header .topbar .btn-active-client {
    color: var(--gray-darker);
    font-weight: 500;
    background: transparent;
    border: none;
}

.header .topbar .active-client .btn-group .btn {
    border: none;
}

/* Navbar */
.navbar {
    background: #fff !important;
    padding: 12px 0;
    border: none;
    box-shadow: none;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand .logo-img {
    max-height: 44px;
    transition: all 0.24s ease;
}

/* Search bar in header */
.navbar .search {
    border: 1px solid var(--gray-lighter-3);
    border-radius: var(--radius-base);
    overflow: hidden;
    transition: all 0.24s ease;
}

.navbar .search:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(5, 37, 159, 0.1);
}

.navbar .search .btn-default {
    background: var(--gray-faded);
    border: none;
    color: var(--gray-lighter-2);
    border-radius: 0;
}

.navbar .search .form-control {
    border: none;
    font-size: 14px;
    font-weight: 300;
    box-shadow: none;
    padding-left: 4px;
}

.navbar .search .form-control:focus {
    box-shadow: none;
}

/* Toolbar buttons */
.navbar-nav.toolbar .nav-link {
    color: var(--gray-lighter);
    font-size: 18px;
    border-radius: var(--radius-base);
    padding: 8px 12px !important;
    transition: all 0.24s ease;
}

.navbar-nav.toolbar .nav-link:hover {
    color: var(--brand-primary);
    background: var(--brand-primary-lighter-4);
}

/* Cart badge */
.cart-btn .badge-info {
    background: var(--brand-primary) !important;
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    padding: 3px 6px;
    position: relative;
    top: -8px;
    left: -5px;
}

/* Account dropdown in toolbar */
.oc-account-dropdown .nav-link {
    font-size: 20px !important;
}

.oc-account-menu {
    min-width: 220px;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl) !important;
    border: 1px solid var(--gray-lighter-4) !important;
    padding: 8px 0 !important;
    margin-top: 8px !important;
}

.oc-account-menu .dropdown-item {
    font-size: 14px;
    padding: 8px 20px;
}

.oc-account-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
    color: var(--gray-lighter-2);
}

.oc-account-menu .dropdown-item:hover i {
    color: #05259F;
}

/* Mobile account section */
.oc-mobile-account-divider {
    display: none;
}

/* Main navigation bar */
.main-navbar-wrapper {
    background: #fff !important;
    border-top: 1px solid var(--gray-lighter-4);
    padding: 0 !important;
}

.main-navbar-wrapper .navbar-nav>li>a,
.main-navbar-wrapper .navbar-nav>li>a.dropdown-toggle {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-darker);
    padding: 14px 14px !important;
    transition: all 0.24s ease;
    border-radius: 0;
}

.main-navbar-wrapper .navbar-nav>li>a:hover,
.main-navbar-wrapper .navbar-nav>li>a:focus {
    color: var(--brand-primary);
    background: rgba(5, 37, 159, 0.05);
    border-radius: 8px;
}

.main-navbar-wrapper .navbar-nav>li.active>a,
.main-navbar-wrapper .navbar-nav>li.open>a,
.main-navbar-wrapper .navbar-nav>li.show>a {
    color: var(--brand-primary);
    background: rgba(5, 37, 159, 0.05);
    border-radius: 8px;
}

/* Dropdown menus */
.dropdown-menu {
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    margin-top: 0;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    font-size: 14px;
    color: var(--gray-base);
    padding: 8px 20px;
    transition: all 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--brand-primary-lighter-4);
    color: var(--brand-primary);
}

.dropdown-divider {
    border-color: var(--gray-lighter-4);
}

/* ======================
   Breadcrumb
   ====================== */
.master-breadcrumb {
    background: var(--gray-faded);
    border-bottom: 1px solid var(--gray-lighter-4);
    padding: 12px 0;
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

.breadcrumb-item {
    color: var(--gray-lighter-2);
}

.breadcrumb-item a {
    color: var(--gray-lighter);
}

.breadcrumb-item a:hover {
    color: var(--brand-primary);
}

.breadcrumb-item.active {
    color: var(--gray-darker);
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--gray-lighter-3);
}

/* ======================
   Wider Container
   ====================== */
@media (min-width: 1200px) {
    .container {
        max-width: 1300px;
    }
}

/* ======================
   Main Body
   ====================== */
#main-body {
    padding: var(--spacing-5x) 0;
    min-height: 60vh;
    overflow-x: hidden;
}

/* ======================
   Sidebar
   ====================== */
.sidebar .card-sidebar {
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: none;
    margin-bottom: var(--spacing-3x);
}

/* Your Info card — Lagom premium style (first sidebar card) */
.sidebar .card-sidebar[menuitemname="Client Details"] {
    background: var(--brand-primary);
    border: none;
    color: #fff;
}

.sidebar .card-sidebar[menuitemname="Client Details"] .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar .card-sidebar[menuitemname="Client Details"] .card-header .card-title {
    color: #fff;
}

.sidebar .card-sidebar[menuitemname="Client Details"] .card-header .card-minimise {
    color: rgba(255, 255, 255, 0.5);
}

.sidebar .card-sidebar[menuitemname="Client Details"] .card-body {
    color: rgba(255, 255, 255, 0.9);
}

.sidebar .card-sidebar[menuitemname="Client Details"] .card-body strong {
    color: #fff;
    font-size: 16px;
}

.sidebar .card-sidebar[menuitemname="Client Details"] .card-body em {
    color: rgba(255, 255, 255, 0.8);
}

.sidebar .card-sidebar[menuitemname="Client Details"] .card-footer {
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar .card-sidebar[menuitemname="Client Details"] .card-footer .btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: var(--radius-base);
    font-weight: 500;
    padding: 6px 20px;
}

.sidebar .card-sidebar[menuitemname="Client Details"] .card-footer .btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Other sidebar cards */
.sidebar .card-sidebar .card-header {
    background: #fff;
    border-bottom: 1px solid var(--gray-lighter-4);
    padding: var(--spacing-2x) var(--spacing-3x);
}

.sidebar .card-sidebar .card-header .card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-darker);
    margin: 0;
}

.sidebar .card-sidebar .card-header .card-minimise {
    color: var(--gray-lighter-3);
    transition: all 0.24s ease;
}

.sidebar .list-group-item {
    border-color: var(--gray-lighter-4);
    padding: 12px var(--spacing-3x);
    font-size: 14px;
    color: var(--gray-base);
    transition: all 0.24s ease;
    border-left: 3px solid transparent;
}

.sidebar .list-group-item:hover {
    background: var(--brand-primary-lighter-4);
    color: var(--brand-primary);
    border-left-color: var(--brand-primary-lighter-2);
}

.sidebar .list-group-item.active {
    background: var(--brand-primary-lighter-4);
    color: var(--brand-primary);
    border-color: var(--gray-lighter-4);
    border-left-color: var(--brand-primary);
    font-weight: 500;
}

.sidebar .list-group-item .sidebar-menu-item-icon {
    color: var(--gray-lighter-2);
    width: 20px;
    text-align: center;
    transition: all 0.24s ease;
}

.sidebar .list-group-item:hover .sidebar-menu-item-icon,
.sidebar .list-group-item.active .sidebar-menu-item-icon {
    color: var(--brand-primary);
}

.sidebar .list-group-item .badge {
    background: var(--brand-primary-lighter-3);
    color: var(--brand-primary);
    font-size: 12px;
    font-weight: 500;
    border-radius: 10px;
    padding: 4px 10px;
}

/* ======================
   Cards / Panels
   ====================== */
.card {
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: all 0.24s ease;
}

.card:hover {
    box-shadow: none;
}

.card-header {
    background: #fff;
    border-bottom: 1px solid var(--gray-lighter-4);
    padding: var(--spacing-2x) var(--spacing-3x);
    font-weight: 700;
}

.card-header:first-child {
    border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}

.card-body {
    padding: var(--spacing-3x);
}

.card-footer {
    background: var(--gray-faded);
    border-top: 1px solid var(--gray-lighter-4);
    padding: var(--spacing-2x) var(--spacing-3x);
}

/* ======================
   Buttons
   ====================== */
.btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    border-radius: var(--radius-base);
    padding: 8px 20px;
    transition: all 0.24s ease;
    border: 1px solid transparent;
}

.btn:focus {
    box-shadow: 0 0 0 3px rgba(5, 37, 159, 0.15);
}

/* Primary Button */
.btn-primary {
    background: #05259F;
    border: none;
    color: #fff;
    box-shadow: 0 2px 4px rgba(5, 37, 159, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #051751;
    box-shadow: 0 4px 12px rgba(5, 37, 159, 0.3);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Outline Primary */
.btn-outline-primary {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(5, 37, 159, 0.2);
    transform: translateY(-1px);
}

/* Default/Secondary Button */
.btn-default,
.btn-secondary {
    background: #fff;
    border: 1px solid var(--gray-lighter-3);
    color: var(--gray-darker);
}

.btn-default:hover,
.btn-secondary:hover {
    background: var(--gray-faded);
    border-color: var(--gray-lighter-3);
    color: var(--gray-darker);
}

/* Success Button */
.btn-success {
    background: var(--brand-success);
    border-color: var(--brand-success);
}

.btn-success:hover {
    background: #166b28;
    border-color: #166b28;
}

/* Danger Button */
.btn-danger {
    background: var(--brand-danger);
    border-color: var(--brand-danger);
}

.btn-danger:hover {
    background: #b01c26;
    border-color: #b01c26;
}

/* Warning Button */
.btn-warning {
    background: var(--brand-warning);
    border-color: var(--brand-warning);
    color: #fff;
}

.btn-warning:hover {
    background: #a04300;
    border-color: #a04300;
    color: #fff;
}

/* Info Button */
.btn-info {
    background: var(--brand-info);
    border-color: var(--brand-info);
    color: #fff;
}

.btn-info:hover {
    background: #0148d4;
    border-color: #0148d4;
    color: #fff;
}

/* Link Button */
.btn-link {
    color: var(--brand-primary);
    font-weight: 500;
}

.btn-link:hover {
    color: var(--brand-primary-darker);
}

/* Button Sizes */
.btn-sm {
    font-size: 13px;
    padding: 4px 14px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    font-size: 14px;
    padding: 12px 28px;
    border-radius: var(--radius-lg);
}

/* ======================
   Forms — Unified across all pages
   ====================== */
.form-control,
.field.form-control,
.field {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    padding: 11px 16px;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.24s ease, box-shadow 0.24s ease;
    height: auto;
    min-height: 44px;
}

.form-control:focus,
.field.form-control:focus,
.field:focus {
    border-color: #05259F;
    box-shadow: 0 0 0 3px rgba(5, 37, 159, 0.1);
    outline: none;
}

.form-control::placeholder,
.field::placeholder {
    color: #9ca3af;
}

.form-control:disabled,
.form-control[readonly] {
    background: var(--gray-faded);
}

/* Prepend icon inputs — unified padding */
.form-group.prepend-icon .field,
.form-group.prepend-icon .form-control {
    padding-left: 42px;
}

.form-group.prepend-icon .field-icon {
    color: #9ca3af;
    transition: color 0.24s ease;
}

.form-group.prepend-icon .field:focus ~ .field-icon,
.form-group.prepend-icon .form-control:focus ~ .field-icon {
    color: #05259F;
}

/* Select dropdowns */
select.form-control,
select.field,
.custom-select {
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    color: #1e293b;
    height: auto;
    min-height: 44px;
    padding: 11px 16px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-color: #fff;
    padding-right: 36px;
}

select.form-control:focus,
select.field:focus,
.custom-select:focus {
    border-color: #05259F;
    box-shadow: 0 0 0 3px rgba(5, 37, 159, 0.1);
}

.input-group-text {
    background: var(--gray-faded);
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    color: #6b7280;
    font-size: 14px;
    min-height: 44px;
}

.form-group label,
label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-darker);
    margin-bottom: 6px;
}

/* Card section titles — unified */
.card .card-title,
.card-body h3.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #031030;
    margin-bottom: 20px;
    padding-bottom: 0;
    border: none;
}

/* Card containers — unified */
#registration .card,
#containerNewUserSignup .card,
#containerNewUserSecurity .card,
#order-standard_cart .card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

#registration .card-body,
#containerNewUserSignup .card-body,
#containerNewUserSecurity .card-body {
    padding: 28px 32px;
}

/* Generate Password button */
.generate-password,
button.generate-password {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #05259F;
    background: rgba(5, 37, 159, 0.06);
    border: 1.5px solid rgba(5, 37, 159, 0.12);
    border-radius: 10px;
    padding: 8px 18px;
    transition: all 0.24s ease;
}

.generate-password:hover {
    background: #05259F;
    color: #fff;
    border-color: #05259F;
}

/* Password strength meter */
.password-strength-meter .progress {
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    overflow: hidden;
}

.password-strength-meter .progress-bar {
    border-radius: 3px;
    transition: width 0.4s ease;
}

.password-strength-meter p {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

/* Custom Checkbox/Radio */
.custom-control-input:checked~.custom-control-label::before {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* ======================
   Modals — Unified brand styling
   ====================== */

/* ======================
   Tables
   ====================== */
.table {
    color: var(--gray-darker);
}

.table thead th {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-lighter-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-lighter-4);
    padding: 12px 16px;
    background: var(--gray-faded);
}

.table td {
    padding: 14px 16px;
    border-color: var(--gray-lighter-4);
    vertical-align: middle;
    font-size: 14px;
}

.table tbody tr {
    transition: all 0.15s ease;
}

.table tbody tr:hover {
    background: var(--brand-primary-lighter-4);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--gray-faded);
}

.table-striped tbody tr:hover {
    background: var(--brand-primary-lighter-4);
}

/* DataTables overrides */
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--gray-lighter-3);
    border-radius: var(--radius-base);
    padding: 6px 12px;
    font-size: 13px;
}

.dataTables_wrapper .dataTables_info {
    font-size: 13px;
    color: var(--gray-lighter-2);
}

/* ======================
   Alerts
   ====================== */
.alert {
    border-radius: var(--radius-base);
    border: none;
    padding: var(--spacing-2x) var(--spacing-3x);
    font-size: 14px;
    border-left: 3px solid;
}

.alert-success {
    background: #e8f5ea;
    border-left-color: var(--brand-success);
    color: var(--brand-success);
}

.alert-danger {
    background: #fde8ea;
    border-left-color: var(--brand-danger);
    color: var(--brand-danger);
}

.alert-warning {
    background: #fff3e0;
    border-left-color: var(--brand-warning);
    color: var(--brand-warning);
}

.alert-info {
    background: var(--brand-primary-lighter-4);
    border-left-color: var(--brand-info);
    color: var(--brand-info);
}

/* ======================
   Badges
   ====================== */
.badge {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 10px;
}

.badge-primary {
    background: var(--brand-primary);
}

.badge-success {
    background: var(--brand-success);
}

.badge-danger {
    background: var(--brand-danger);
}

.badge-warning {
    background: var(--brand-warning);
    color: #fff;
}

.badge-info {
    background: var(--brand-info);
}

.badge-secondary {
    background: var(--gray-lighter-2);
}

/* ======================
   Pagination
   ====================== */
.pagination {
    gap: 4px;
}

.page-link {
    color: var(--gray-base);
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-base) !important;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.24s ease;
}

.page-link:hover {
    background: var(--brand-primary-lighter-4);
    color: var(--brand-primary);
    border-color: var(--brand-primary-lighter-2);
}

.page-item.active .page-link {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.page-item.disabled .page-link {
    color: var(--gray-lighter-3);
    background: var(--gray-faded);
}

/* ======================
   Modals
   ====================== */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 28px;
    background: #f8f9fb;
}

.modal-header .modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #031030;
}

/* Override Bootstrap bg-primary on modal headers */
.modal-header.bg-primary {
    background: #f8f9fb !important;
}

.modal-header.bg-primary .modal-title,
.modal-header.text-white .modal-title,
.modal-header.text-light .modal-title {
    color: #031030 !important;
}

.modal-header.text-white .close,
.modal-header.text-light .close {
    color: #6b7280 !important;
    text-shadow: none !important;
}

.modal-header .close {
    font-size: 22px;
    color: #6b7280;
    opacity: 0.7;
    transition: all 0.2s ease;
    text-shadow: none;
}

.modal-header .close:hover {
    color: #05259F;
    opacity: 1;
}

.modal-body {
    padding: 24px 28px;
}

.modal-body label {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.modal-footer {
    border-top: 1px solid #e5e7eb;
    padding: 16px 28px;
    background: #f8f9fb;
    gap: 10px;
}

.modal-footer .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 24px;
}

.modal-footer .btn-default,
.modal-footer .btn-secondary {
    background: #fff;
    border: 1.5px solid #d1d5db;
    color: #374151;
}

.modal-footer .btn-default:hover,
.modal-footer .btn-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.modal-footer .btn-primary {
    background: #05259F;
    border: none;
    color: #fff;
    box-shadow: 0 2px 8px rgba(5, 37, 159, 0.25);
}

.modal-footer .btn-primary:hover {
    background: #051751;
    box-shadow: 0 4px 12px rgba(5, 37, 159, 0.35);
}

.modal-backdrop.show {
    opacity: 0.4;
    backdrop-filter: blur(2px);
}

/* Localisation Modal — Clean white */
.modal-localisation .modal-content {
    background: #fff;
    color: var(--gray-darker);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-lighter-4);
    box-shadow: var(--shadow-xl);
}

.modal-localisation .modal-body {
    padding: 32px 36px;
}

.modal-localisation .modal-body .close {
    color: var(--gray-lighter-2) !important;
    opacity: 1;
    font-size: 24px;
}

.modal-localisation .modal-body .close:hover {
    color: var(--gray-darker) !important;
}

.modal-localisation .modal-body .h5,
.modal-localisation .modal-body h5 {
    color: var(--gray-darker);
    font-weight: 700;
    font-size: 18px;
    padding-top: 16px !important;
}

.modal-localisation .item-selector .item {
    border-radius: var(--radius-base);
    color: var(--gray-base);
    padding: 10px 16px;
    border: 1px solid transparent;
    transition: all 0.24s ease;
    display: block;
    text-decoration: none;
    margin-bottom: 8px;
}

.modal-localisation .item-selector .item:hover {
    background: var(--brand-primary-lighter-4);
    color: #05259F;
    border-color: rgba(5, 37, 159, 0.1);
}

.modal-localisation .item-selector .item.active {
    background: #05259F;
    color: #fff;
    border-color: #05259F;
}

.modal-localisation .modal-footer {
    border-top: 1px solid var(--gray-lighter-4);
    padding: 16px 36px;
}

.modal-localisation .modal-footer .btn {
    background: #05259F;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: var(--radius-base);
    font-weight: 600;
}

.modal-localisation .modal-footer .btn:hover {
    background: #051751;
}

/* ======================
   Homepage
   ====================== */

/* Domain search section */
.domain-search-container,
.domain-checker-container {
    background: var(--brand-primary);
    padding: var(--spacing-6x) 0;
    color: #fff;
    margin-top: -1px;
}

.domain-search-container h2,
.domain-checker-container h2 {
    color: #fff;
    font-weight: 900;
}

.domain-search-container .form-control {
    border: none;
    border-radius: var(--radius-base) 0 0 var(--radius-base);
    padding: 16px 24px;
    font-size: 16px;
    height: auto;
}

.domain-search-container .btn-primary {
    border-radius: 0 var(--radius-base) var(--radius-base) 0;
    padding: 16px 32px;
    font-weight: 700;
}

/* Product cards on homepage */
.card-columns.home .card {
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.card-columns.home .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary-lighter-2);
}

.card-columns.home .card .card-body {
    padding: var(--spacing-4x);
}

.card-columns.home .card .card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-darker);
}

.card-columns.home .card p {
    color: var(--gray-lighter);
    font-size: 14px;
}

/* Action icon buttons */
.action-icon-btns>div>a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-3x);
    border-radius: var(--radius-lg);
    color: var(--gray-darker);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-lighter-4);
    background: #fff;
    margin-bottom: var(--spacing-2x);
}

.action-icon-btns>div>a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary-lighter-2);
    color: var(--brand-primary);
}

.action-icon-btns .ico-container {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-primary-lighter-4);
    margin-bottom: var(--spacing-2x);
    transition: all 0.3s ease;
}

.action-icon-btns .ico-container i {
    font-size: 22px;
    color: var(--brand-primary);
}

.action-icon-btns>div>a:hover .ico-container {
    background: var(--brand-primary);
    transform: scale(1.05);
}

.action-icon-btns>div>a:hover .ico-container i {
    color: #fff;
}

/* Override accent colors for icon cards */
.action-icon-btns>div>a[class*="card-accent-"] .ico-container {
    background: var(--brand-primary-lighter-4);
}

.action-icon-btns>div>a[class*="card-accent-"]:hover .ico-container {
    background: var(--brand-primary);
}

/* ======================
   Client Area Home — Dashboard Tiles
   ====================== */
.tiles {
    margin-bottom: var(--spacing-3x);
}

.tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-4x) var(--spacing-2x);
    background: #fff;
    border: 1px solid var(--gray-lighter-4);
    position: relative;
    text-decoration: none;
    color: var(--gray-darker);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 140px;
}

.tiles .tile:hover {
    text-decoration: none;
    color: var(--gray-darker);
    background-color: #fff;
}

.tiles .row>div:first-child .tile {
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.tiles .row>div:last-child .tile {
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

.tiles .tile i {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 16px;
    color: var(--gray-lighter-3);
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.tiles .tile:hover i {
    font-size: 16px;
    color: var(--brand-primary);
}

.tile:hover .highlight {
    height: 3px;
}

.tiles .tile img,
.tiles .tile svg {
    max-width: 32px;
    max-height: 32px;
    opacity: 0.5;
}

.tile .stat {
    font-size: 42px;
    font-weight: 300;
    color: var(--gray-darker);
    line-height: 1;
    letter-spacing: -0.02em;
}

.tile .title {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-lighter-2);
    margin-top: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.tile .highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    transition: height 0.3s ease;
}

.tile:hover .highlight {
    height: 3px;
}

.tile .highlight.bg-color-blue {
    background: var(--brand-primary);
}

.tile .highlight.bg-color-green {
    background: var(--brand-success);
}

.tile .highlight.bg-color-red {
    background: var(--brand-danger);
}

.tile .highlight.bg-color-gold {
    background: #D4A017;
}

/* Card accent colors for home panels */
.card-accent-blue {
    border-top: 3px solid var(--brand-primary);
}

.card-accent-green {
    border-top: 3px solid var(--brand-success);
}

.card-accent-red {
    border-top: 3px solid var(--brand-danger);
}

.card-accent-gold {
    border-top: 3px solid #D4A017;
}

.card-accent-orange {
    border-top: 3px solid var(--brand-warning);
}

.card-accent-teal {
    border-top: 3px solid #0D9488;
}

.card-accent-purple {
    border-top: 3px solid #7C3AED;
}

.card-accent-blue .card-header .btn {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.card-accent-green .card-header .btn {
    color: var(--brand-success);
    border-color: var(--brand-success);
}

.card-accent-red .card-header .btn {
    color: var(--brand-danger);
    border-color: var(--brand-danger);
}

.card-accent-gold .card-header .btn {
    color: #D4A017;
    border-color: #D4A017;
}

/* bg-color utility overrides */
.bg-color-blue {
    background-color: var(--brand-primary) !important;
    color: #fff !important;
}

.bg-color-green {
    background-color: var(--brand-success) !important;
    color: #fff !important;
}

.bg-color-red {
    background-color: var(--brand-danger) !important;
    color: #fff !important;
}

.bg-color-gold {
    background-color: #D4A017 !important;
    color: #fff !important;
}

/* Client home cards */
.client-home-cards .card {
    margin-bottom: var(--spacing-3x);
}

.client-home-cards .card .card-header h3 {
    font-size: 15px;
}

.client-home-cards .card .list-group-item {
    padding: 12px var(--spacing-3x);
    font-size: 14px;
}

.stat-tile,
.home-stat-tile {
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3x);
    text-align: center;
    transition: all 0.24s ease;
    background: #fff;
}

.stat-tile:hover {
    box-shadow: none;
}

/* ======================
   Topbar Improvements
   ====================== */
.header .topbar {
    background: #fff !important;
    border-bottom: 1px solid var(--gray-lighter-4) !important;
    padding: 8px 20px;
    font-size: 13px;
    color: var(--gray-darker) !important;
}

.header .topbar .btn {
    font-size: 13px;
    color: var(--gray-darker) !important;
    border: none;
    background: transparent;
}

.header .topbar .btn:hover {
    color: var(--brand-primary) !important;
}

.header .topbar .input-group-text {
    color: var(--gray-base) !important;
}

.header .topbar .btn-active-client {
    color: var(--gray-darker) !important;
    font-weight: 600;
}

/* ======================
   Responsive Tile Fix
   ====================== */
@media (max-width: 767.98px) {

    .tiles .row>div:first-child .tile,
    .tiles .row>div:last-child .tile {
        border-radius: 0;
    }

    .tiles .row>div:first-child .tile {
        border-radius: var(--radius-lg) 0 0 0;
    }

    .tiles .row>div:nth-child(2) .tile {
        border-radius: 0 var(--radius-lg) 0 0;
    }

    .tiles .row>div:nth-child(3) .tile {
        border-radius: 0 0 0 var(--radius-lg);
    }

    .tiles .row>div:last-child .tile {
        border-radius: 0 0 var(--radius-lg) 0;
    }

    .tile .stat {
        font-size: 22px;
    }

    .tile {
        min-height: 110px;
        padding: var(--spacing-2x);
    }
}

/* ======================
   Login Page
   ====================== */
.login-container,
.form-card {
    max-width: 440px;
    margin: var(--spacing-6x) auto;
}

.login-container .card,
.form-card {
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.login-container .card-body,
.form-card .card-body {
    padding: var(--spacing-4x);
}

.login-container .btn-primary,
.form-card .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
}

/* ======================
   Footer — Dark branded
   ====================== */
#footer {
    background: #031030;
    border: none !important;
    padding: 48px 0 32px;
    margin-top: 0;
    box-shadow: none !important;
}

#footer .nav {
    margin-bottom: 24px !important;
}

#footer .nav-link {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    padding: 4px 16px;
    transition: all 0.24s ease;
}

#footer .nav-link:hover {
    color: #72D97F;
}

#footer .copyright {
    color: rgba(255,255,255,0.35);
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
}

#footer .btn {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-base);
    padding: 6px 16px;
    transition: all 0.24s ease;
}

#footer .btn:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

#footer .list-inline {
    margin-bottom: 0 !important;
}

/* Footer grid layout */
.oc-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
}

.oc-footer__logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 12px;
}

.oc-footer__tagline {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin: 0;
}

.oc-footer__social {
    margin-bottom: 16px;
}

.oc-footer__social .list-inline-item a {
    color: #fff;
    font-size: 18px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.oc-footer__social .list-inline-item a:hover {
    opacity: 1;
    color: #72D97F;
}

.oc-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oc-footer__contact a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.oc-footer__contact a:hover {
    color: #72D97F;
}

.oc-footer__contact a i {
    width: 18px;
    text-align: center;
    margin-right: 6px;
    font-size: 13px;
}

.oc-footer__heading {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.oc-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.oc-footer__links li {
    margin-bottom: 10px;
}

.oc-footer__links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.oc-footer__links a:hover {
    color: #72D97F;
}

.oc-footer__col--end {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.oc-footer__lang-btn {
    color: rgba(255,255,255,0.6) !important;
    font-size: 13px !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: var(--radius-base) !important;
    padding: 6px 16px !important;
}

.oc-footer__lang-btn:hover {
    color: #fff !important;
    border-color: rgba(255,255,255,0.3) !important;
    background: rgba(255,255,255,0.05) !important;
}

.oc-footer__bottom {
    border: none;
    padding-top: 24px;
    margin-top: 24px;
}

.oc-footer__bottom .copyright {
    color: rgba(255,255,255,0.35);
    font-size: 13px;
}

@media (max-width: 767px) {
    .oc-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
    }

    .oc-footer__brand {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .oc-footer__col--end {
        align-items: flex-start;
        padding-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
}

/* ======================
   Popover
   ====================== */
.popover {
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-lg);
}

.popover-header {
    background: var(--gray-faded);
    border-bottom: 1px solid var(--gray-lighter-4);
    font-weight: 700;
    font-size: 14px;
}

/* ======================
   Tooltips
   ====================== */
.tooltip-inner {
    background: #fff;
    color: var(--gray-darker);
    border: 1px solid var(--gray-lighter-4);
    box-shadow: var(--shadow-md);
    font-size: 13px;
    border-radius: 3px;
    padding: 8px 12px;
}

.bs-tooltip-bottom .arrow::before,
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: var(--gray-lighter-4);
}

.bs-tooltip-top .arrow::before,
.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: var(--gray-lighter-4);
}

/* ======================
   Progress Bars
   ====================== */
.progress {
    border-radius: var(--radius-base);
    background: var(--gray-lighter-4);
    height: 8px;
}

.progress-bar {
    background: #05259F;
    border-radius: var(--radius-base);
}

/* ======================
   List Groups
   ====================== */
.list-group-item {
    border-color: var(--gray-lighter-4);
    padding: 12px var(--spacing-3x);
    color: var(--gray-base);
    transition: all 0.15s ease;
}

.list-group-item.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.list-group-item-action:hover {
    background: var(--brand-primary-lighter-4);
    color: var(--brand-primary);
}

/* ======================
   Client Alerts
   ====================== */
.client-alerts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.client-alerts li a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    color: var(--gray-base);
    border-bottom: 1px solid var(--gray-lighter-4);
    transition: all 0.15s ease;
}

.client-alerts li a:hover {
    background: var(--brand-primary-lighter-4);
}

.client-alerts li a i {
    margin-top: 3px;
}

.client-alerts li a .fa-exclamation-circle {
    color: var(--brand-danger);
}

.client-alerts li a .fa-exclamation-triangle {
    color: var(--brand-warning);
}

.client-alerts li a .fa-info-circle {
    color: var(--brand-info);
}

.client-alerts li a .fa-check-circle {
    color: var(--brand-success);
}

/* ======================
   Ticket System
   ====================== */
.ticket-reply {
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-3x);
    overflow: hidden;
}

.ticket-reply .ticket-reply-header {
    background: var(--gray-faded);
    padding: 12px var(--spacing-3x);
    border-bottom: 1px solid var(--gray-lighter-4);
}

/* ======================
   Invoice Styles
   ====================== */
.invoice-header {
    border-bottom: 2px solid var(--brand-primary);
}

/* ======================
   Domain Pricing Table
   ====================== */
.domain-pricing .table td,
.domain-pricing .table th {
    text-align: center;
}

.domain-pricing .tld-name {
    font-weight: 700;
    color: var(--gray-darker);
}

/* ======================
   Knowledgebase
   ====================== */
.kb-article-list .list-group-item {
    border-left: 3px solid transparent;
}

.kb-article-list .list-group-item:hover {
    border-left-color: var(--brand-primary);
}

/* ======================
   Service Status Badges
   ====================== */
.status-active,
.badge-active {
    background: #e8f5ea;
    color: var(--brand-success);
}

.status-pending,
.badge-pending {
    background: #fff3e0;
    color: var(--brand-warning);
}

.status-suspended,
.status-terminated,
.badge-overdue {
    background: #fde8ea;
    color: var(--brand-danger);
}

/* ======================
   Miscellaneous Overrides
   ====================== */

/* Background color classes */
.bg-primary {
    background-color: var(--brand-primary) !important;
}

.bg-success {
    background-color: var(--brand-success) !important;
}

.bg-danger {
    background-color: var(--brand-danger) !important;
}

.bg-warning {
    background-color: var(--brand-warning) !important;
}

.bg-info {
    background-color: var(--brand-info) !important;
}

.text-primary {
    color: var(--brand-primary) !important;
}

.text-success {
    color: var(--brand-success) !important;
}

.text-danger {
    color: var(--brand-danger) !important;
}

.text-warning {
    color: var(--brand-warning) !important;
}

.text-info {
    color: var(--brand-info) !important;
}

/* Primary BG color used on body */
body.primary-bg-color {
    background-color: #fff;
}

/* Return to admin button */
.btn-return-to-admin {
    background: var(--brand-warning);
    color: #fff;
    border: none;
    border-radius: var(--radius-base);
    font-size: 13px;
}

.btn-return-to-admin:hover {
    background: #a04300;
    color: #fff;
}

/* Full page overlay */
#fullpage-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

#fullpage-overlay .inner-wrapper {
    color: #fff;
    font-size: 18px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-faded);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-lighter-3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-lighter-2);
}

/* ======================
   Mobile Responsive Refinements
   ====================== */
@media (max-width: 767.98px) {

    h1,
    .h1 {
        font-size: 32px;
    }

    h2,
    .h2 {
        font-size: 24px;
    }

    h3,
    .h3 {
        font-size: 20px;
    }

    .main-navbar-wrapper .navbar-nav>li>a {
        padding: 12px 16px !important;
        border-bottom: 1px solid var(--gray-lighter-4);
    }

    #main-body {
        padding: var(--spacing-3x) 0;
    }

    .card-body {
        padding: var(--spacing-2x);
    }

    .sidebar {
        margin-bottom: var(--spacing-3x);
    }

    #footer {
        text-align: center;
        padding: var(--spacing-4x) 0;
    }

    .action-icon-btns>div>a {
        padding: var(--spacing-2x);
        font-size: 13px;
    }

    .action-icon-btns .ico-container {
        width: 48px;
        height: 48px;
    }

    .action-icon-btns .ico-container i {
        font-size: 18px;
    }
}

@media (max-width: 575px) {

    .login-container,
    .form-card {
        margin: var(--spacing-3x) auto;
    }

    .login-container .card-body,
    .form-card .card-body {
        padding: var(--spacing-3x);
    }
}

/* ======================
   Animations
   ====================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.primary-content {
    animation: fadeInUp 0.3s ease;
}

/* Smooth hover transitions for all interactive elements */
a,
.btn,
.card,
.list-group-item,
.nav-link,
.dropdown-item,
.form-control {
    transition: all 0.24s ease;
}

/* ============================================================
   CART & ORDER FORM OVERRIDES
   Lagom-style reskinning of the standard_cart order form
   ============================================================ */

/* ======================
   Cart Layout
   ====================== */
#order-standard_cart {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Cart Sidebar */
#order-standard_cart .cart-sidebar {
    padding-right: 20px;
}

#order-standard_cart .cart-sidebar .panel,
#order-standard_cart .cart-sidebar .card {
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: none;
    margin-bottom: var(--spacing-3x);
}

#order-standard_cart .cart-sidebar .panel-heading,
#order-standard_cart .cart-sidebar .card-header {
    background: #fff;
    border-bottom: 1px solid var(--gray-lighter-4);
    padding: var(--spacing-2x) var(--spacing-3x);
}

#order-standard_cart .cart-sidebar .panel-title,
#order-standard_cart .cart-sidebar .card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-darker);
    margin: 0;
    font-family: 'DM Sans', sans-serif;
}

#order-standard_cart .cart-sidebar .panel-minimise,
#order-standard_cart .cart-sidebar .card-minimise {
    color: var(--gray-lighter-3);
    cursor: pointer;
    transition: all 0.24s ease;
}

#order-standard_cart .cart-sidebar .list-group-item {
    border-color: var(--gray-lighter-4);
    border-left: 3px solid transparent;
    padding: 12px var(--spacing-3x);
    font-size: 14px;
    color: var(--gray-base);
    transition: all 0.24s ease;
    background: #fff;
}

#order-standard_cart .cart-sidebar .list-group-item:hover {
    background: var(--brand-primary-lighter-4);
    color: var(--brand-primary);
    border-left-color: var(--brand-primary-lighter-2);
}

#order-standard_cart .cart-sidebar .list-group-item.active {
    background: var(--brand-primary-lighter-4);
    color: var(--brand-primary);
    border-color: var(--gray-lighter-4);
    border-left-color: var(--brand-primary);
    font-weight: 500;
}

#order-standard_cart .cart-sidebar .list-group-item i {
    color: var(--gray-lighter-2);
    width: 20px;
    text-align: center;
    margin-right: 4px;
    transition: color 0.24s ease;
}

#order-standard_cart .cart-sidebar .list-group-item:hover i,
#order-standard_cart .cart-sidebar .list-group-item.active i {
    color: var(--brand-primary);
}

/* ======================
   Cart Body Header
   ====================== */
#order-standard_cart .header-lined {
    border-bottom: none;
    margin-bottom: var(--spacing-3x);
    padding-bottom: 0;
}

#order-standard_cart .header-lined h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--gray-darker);
    letter-spacing: -0.02em;
}

#order-standard_cart .header-lined p {
    color: var(--gray-lighter);
    font-size: 15px;
    margin-top: 4px;
}

/* ======================
   Product Cards in Store
   ====================== */
#order-standard_cart .products .product {
    background: #fff;
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: var(--spacing-3x);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: none;
}

#order-standard_cart .products .product:hover {
    border-color: var(--brand-primary-lighter-2);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

#order-standard_cart .products .product header {
    background: var(--gray-faded);
    border-bottom: 1px solid var(--gray-lighter-4);
    padding: var(--spacing-2x) var(--spacing-3x);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-darker);
    font-family: 'DM Sans', sans-serif;
}

#order-standard_cart .products .product header .qty {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-lighter-2);
}

#order-standard_cart .products .product .product-desc {
    padding: var(--spacing-3x);
    font-size: 14px;
    color: var(--gray-base);
    line-height: 1.7;
}

#order-standard_cart .products .product .product-desc ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

#order-standard_cart .products .product .product-desc ul li {
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-lighter-4);
    font-size: 13px;
    color: var(--gray-base);
}

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

#order-standard_cart .products .product .product-desc ul li .feature-value {
    font-weight: 600;
    color: var(--gray-darker);
    margin-right: 4px;
}

#order-standard_cart .products .product footer {
    padding: var(--spacing-2x) var(--spacing-3x);
    /* background: var(--gray-faded); */
    /* border-top: 1px solid var(--gray-lighter-4); */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#order-standard_cart .products .product .product-pricing {
    font-size: 13px;
    color: var(--gray-lighter-2);
}

#order-standard_cart .products .product .product-pricing .price {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-darker);
    letter-spacing: -0.02em;
}

#order-standard_cart .products .product .btn-order-now {
    background: #05259F;
    border: none;
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-base);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.24s ease;
    box-shadow: 0 2px 4px rgba(5, 37, 159, 0.2);
}

#order-standard_cart .products .product .btn-order-now:hover {
    background: #051751;
    box-shadow: 0 4px 12px rgba(5, 37, 159, 0.3);
    transform: translateY(-1px);
}

/* ======================
   View Cart Page
   ====================== */
#order-standard_cart .view-cart-items-header {
    background: var(--gray-faded);
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-lighter-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#order-standard_cart .view-cart-items {
    border: 1px solid var(--gray-lighter-4);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

#order-standard_cart .view-cart-items .item {
    padding: 20px;
    border-bottom: 1px solid var(--gray-lighter-4);
    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: var(--brand-primary-lighter-4);
}

#order-standard_cart .view-cart-items .item .item-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-darker);
}

#order-standard_cart .view-cart-items .item .item-title .btn-link {
    font-size: 12px;
    color: var(--brand-primary);
}

#order-standard_cart .view-cart-items .item .btn-remove-from-cart {
    color: var(--brand-danger);
    font-size: 12px;
}

#order-standard_cart .view-cart-items .item .item-domain,
#order-standard_cart .view-cart-items .item .item-descr {
    font-size: 13px;
    color: var(--gray-lighter);
    margin-top: 4px;
}

#order-standard_cart .view-cart-items .item .item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-darker);
}

#order-standard_cart .view-cart-items .item .item-price .cycle {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-lighter-2);
    display: block;
}

#order-standard_cart .view-cart-items .item .item-price .setup-fee {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-lighter-2);
}

/* Cart item addons */
#order-standard_cart .view-cart-items .sub-item {
    background: var(--gray-faded);
    padding: 12px 20px 12px 40px;
    border-bottom: 1px solid var(--gray-lighter-4);
    font-size: 13px;
}

/* ======================
   Cart Summary Sidebar
   ====================== */
#order-standard_cart .secondary-cart-sidebar .order-summary,
#order-standard_cart .order-summary {
    background: #fff;
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: none;
}

#order-standard_cart .order-summary .header-lined,
#order-standard_cart .order-summary h2 {
    background: var(--gray-faded);
    border-bottom: 1px solid var(--gray-lighter-4);
    padding: var(--spacing-2x) var(--spacing-3x);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-darker);
    margin: 0;
}

#order-standard_cart .order-summary .summary-container {
    padding: var(--spacing-3x);
}

#order-standard_cart .order-summary .total-due-today {
    background: var(--brand-primary-lighter-4);
    border-top: 2px solid var(--brand-primary);
    padding: var(--spacing-2x) var(--spacing-3x);
    font-size: 18px;
    font-weight: 800;
    color: var(--brand-primary);
}

#order-standard_cart .order-summary .total-due-today .amt {
    font-size: 22px;
    font-weight: 900;
    color: var(--brand-primary);
}

/* ======================
   Promo Code Box
   ====================== */
#order-standard_cart .promo-container {
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3x);
    margin-bottom: var(--spacing-3x);
    background: #fff;
}

#order-standard_cart .promo-container .input-group {
    border-radius: var(--radius-base);
    overflow: hidden;
}

#order-standard_cart .promo-container .form-control {
    border: 1px solid var(--gray-lighter-3);
    border-radius: var(--radius-base) 0 0 var(--radius-base);
}

#order-standard_cart .promo-container .btn {
    border-radius: 0 var(--radius-base) var(--radius-base) 0;
}

/* ======================
   Checkout Button
   ====================== */
#order-standard_cart .btn-checkout,
#order-standard_cart .btn[name="checkout"],
#order-standard_cart a[href*="checkout"] {
    background: #05259F;
    border: none;
    color: #fff !important;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.24s ease;
    box-shadow: 0 2px 8px rgba(5, 37, 159, 0.2);
    text-decoration: none;
}

#order-standard_cart .btn-checkout:hover,
#order-standard_cart .btn[name="checkout"]:hover,
#order-standard_cart a[href*="checkout"]:hover {
    background: #051751;
    box-shadow: 0 6px 20px rgba(5, 37, 159, 0.35);
    transform: translateY(-2px);
    color: #fff !important;
}

/* ======================
   Configure Product Page
   ====================== */
#order-standard_cart .product-config-container,
#order-standard_cart .product-configuration {
    background: #fff;
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3x);
    margin-bottom: var(--spacing-3x);
}

#order-standard_cart .product-config-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-darker);
    padding-bottom: var(--spacing-2x);
    border-bottom: 1px solid var(--gray-lighter-4);
    margin-bottom: var(--spacing-2x);
}

/* Config option groups */
#order-standard_cart .config-option {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-lighter-4);
}

#order-standard_cart .config-option:last-child {
    border-bottom: none;
}

#order-standard_cart .config-option label {
    font-weight: 500;
    color: var(--gray-darker);
    font-size: 14px;
}

/* Billing cycle selector */
#order-standard_cart .billing-cycle-options .btn-group .btn,
#order-standard_cart .billing-cycle .btn-group .btn {
    border: 1px solid var(--gray-lighter-3);
    color: var(--gray-base);
    font-size: 13px;
    font-weight: 500;
    background: #fff;
    transition: all 0.2s ease;
}

#order-standard_cart .billing-cycle-options .btn-group .btn.active,
#order-standard_cart .billing-cycle-options .btn-group .btn:hover,
#order-standard_cart .billing-cycle .btn-group .btn.active,
#order-standard_cart .billing-cycle .btn-group .btn:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

/* ======================
   Domain Search in Cart
   ====================== */
#order-standard_cart .domain-lookup-container,
#order-standard_cart .domain-search-box {
    background: #05259F;
    border-radius: var(--radius-lg);
    padding: var(--spacing-4x);
    color: #fff;
    margin-bottom: var(--spacing-3x);
}

#order-standard_cart .domain-lookup-container h2,
#order-standard_cart .domain-search-box h2 {
    color: #fff;
    font-weight: 900;
    font-size: 24px;
}

#order-standard_cart .domain-lookup-container .form-control {
    border: none;
    font-size: 16px;
    padding: 14px 20px;
    height: auto;
}

#order-standard_cart .domain-lookup-container .btn-primary {
    padding: 14px 28px;
    font-weight: 700;
}

/* Domain results */
#order-standard_cart .domain-check-result {
    background: #fff;
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3x);
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

#order-standard_cart .domain-check-result:hover {
    box-shadow: var(--shadow-sm);
}

#order-standard_cart .domain-check-result .available {
    color: var(--brand-success);
    font-weight: 700;
}

#order-standard_cart .domain-check-result .unavailable {
    color: var(--brand-danger);
    font-weight: 600;
}

/* TLD pricing table */
#order-standard_cart .domain-pricing-table {
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ======================
   Checkout Page
   ====================== */
#order-standard_cart .checkout-container {
    background: #fff;
}

/* Checkout section panels */
#order-standard_cart .sub-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #031030;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 24px;
    margin-top: 8px;
}

#order-standard_cart .sub-heading .primary-bg-color {
    background: none !important;
    color: inherit !important;
    padding: 0;
    border-radius: 0;
}

/* Card section spacing on checkout */
#order-standard_cart #containerNewUserSignup > .field-container,
#order-standard_cart #containerExistingUserSignin,
#order-standard_cart #containerNewUserSecurity,
#order-standard_cart .domain-contact-details {
    margin-bottom: 24px;
}

/* Payment method selection */
#order-standard_cart .payment-methods .payment-method {
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-base);
    padding: 16px 20px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#order-standard_cart .payment-methods .payment-method:hover {
    border-color: var(--brand-primary-lighter-2);
    background: var(--brand-primary-lighter-4);
}

#order-standard_cart .payment-methods .payment-method.active,
#order-standard_cart .payment-methods .payment-method.selected {
    border-color: var(--brand-primary);
    background: var(--brand-primary-lighter-4);
    box-shadow: 0 0 0 3px rgba(5, 37, 159, 0.1);
}

/* ======================
   Order Complete Page
   ====================== */
#order-standard_cart .order-complete {
    text-align: center;
    padding: var(--spacing-6x) var(--spacing-3x);
}

#order-standard_cart .order-complete .success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e8f5ea;
    color: var(--brand-success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: var(--spacing-3x);
}

/* ======================
   Range Sliders — Ion RangeSlider Lagom Reskin
   ====================== */

/* Slider container spacing */
.irs {
    font-family: 'DM Sans', sans-serif !important;
    margin-bottom: 8px;
}

/* ── Track (the full rail) ── */
.irs--flat .irs-line {
    height: 6px;
    background: var(--gray-lighter-4);
    border-radius: 100px;
    top: 28px;
}

/* ── Active bar (filled portion) ── */
.irs--flat .irs-bar {
    height: 6px;
    background: #05259F;
    border-radius: 100px;
    top: 28px;
}

.irs--flat .irs-bar--single {
    border-radius: 100px 0 0 100px;
}

/* ── Handle (the draggable circle) ── */
.irs--flat .irs-handle {
    width: 24px;
    height: 24px;
    top: 20px;
    cursor: grab;
}

.irs--flat .irs-handle:active {
    cursor: grabbing;
}

.irs--flat .irs-handle>i:first-child {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--brand-primary);
    box-shadow: 0 2px 8px rgba(5, 37, 159, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.irs--flat .irs-handle:hover>i:first-child {
    transform: scale(1.15);
    box-shadow: 0 3px 12px rgba(5, 37, 159, 0.3);
    border-color: #05259F;
}

.irs--flat .irs-handle.state_hover>i:first-child,
.irs--flat .irs-handle:active>i:first-child {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(5, 37, 159, 0.12), 0 4px 16px rgba(5, 37, 159, 0.25);
    border-color: #05259F;
}

/* ── Value tooltips (from / to / single) ── */
.irs--flat .irs-from,
.irs--flat .irs-to,
.irs--flat .irs-single {
    background: var(--brand-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(5, 37, 159, 0.2);
    top: -4px;
}

/* Tooltip arrow */
.irs--flat .irs-from::before,
.irs--flat .irs-to::before,
.irs--flat .irs-single::before {
    border-top-color: var(--brand-primary);
}

/* ── Min / Max labels ── */
.irs--flat .irs-min,
.irs--flat .irs-max {
    background: var(--gray-lighter-4);
    color: var(--gray-lighter-2);
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    top: 0;
}

/* ── Grid (tick marks & labels) ── */
.irs--flat .irs-grid-pol {
    background: var(--gray-lighter-3);
    width: 1px;
}

.irs--flat .irs-grid-pol.small {
    background: var(--gray-lighter-4);
}

.irs--flat .irs-grid-text {
    color: var(--gray-lighter-2);
    font-size: 11px;
    font-weight: 400;
}

/* ── Config option labels above sliders ── */
#order-standard_cart .config-option label,
#order-standard_cart .form-group>label,
.configurable-options label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-darker);
    margin-bottom: 8px;
}

/* ======================
   Configure Product Page — Full Reskin
   ====================== */

/* Section headers */
#order-standard_cart .sub-heading,
#order-standard_cart .configurable-options legend,
#order-standard_cart fieldset legend {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #031030;
    text-transform: none;
    letter-spacing: -0.01em;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: var(--spacing-3x);
}

/* Product name box */
#order-standard_cart .product-info-container,
#order-standard_cart .product-name-heading {
    background: var(--gray-faded);
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2x) var(--spacing-3x);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-darker);
    margin-bottom: var(--spacing-3x);
}

/* Billing cycle select */
#order-standard_cart select.form-control,
#order-standard_cart .billing-cycle select {
    border: 2px solid var(--gray-lighter-4);
    border-radius: var(--radius-base);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-darker);
    background: #fff;
    cursor: pointer;
    transition: all 0.24s ease;
    appearance: auto;
}

#order-standard_cart select.form-control:hover {
    border-color: var(--brand-primary-lighter-2);
}

#order-standard_cart select.form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(5, 37, 159, 0.1);
}

/* Config option rows */
#order-standard_cart .configurable-options .form-group,
#order-standard_cart .config-option-row {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-lighter-4);
    margin-bottom: 0;
}

#order-standard_cart .configurable-options .form-group:last-child {
    border-bottom: none;
}

/* Custom fields section */
#order-standard_cart .custom-fields-container {
    background: #fff;
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3x);
    margin-top: var(--spacing-3x);
}

/* Help text under fields */
#order-standard_cart .field-help-text,
#order-standard_cart .form-text,
#order-standard_cart small.text-muted {
    font-size: 12px;
    color: var(--gray-lighter-2);
    margin-top: 4px;
}

/* Continue button on config page */
#order-standard_cart .order-btn,
#order-standard_cart .btn-order,
#order-standard_cart input[type="submit"].btn-primary,
#order-standard_cart button[type="submit"].btn-primary {
    background: #05259F;
    border: none;
    color: #fff;
    padding: 14px 36px;
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(5, 37, 159, 0.2);
    transition: all 0.24s ease;
    cursor: pointer;
}

#order-standard_cart .order-btn:hover,
#order-standard_cart .btn-order:hover,
#order-standard_cart input[type="submit"].btn-primary:hover,
#order-standard_cart button[type="submit"].btn-primary:hover {
    background: #051751;
    box-shadow: 0 6px 20px rgba(5, 37, 159, 0.3);
    transform: translateY(-2px);
}

/* ======================
   Order Summary Card (config & cart pages)
   ====================== */
#order-standard_cart .order-summary,
.order-summary {
    background: #fff;
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-family: 'DM Sans', sans-serif;
}

/* Order Summary heading — h2 directly inside .order-summary */
#order-standard_cart .order-summary>h2,
.order-summary>h2 {
    background: var(--brand-primary);
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: var(--spacing-2x) var(--spacing-3x);
    margin: 0;
    border: none;
}

#order-standard_cart .order-summary .summary-container,
.order-summary .summary-container {
    padding: var(--spacing-3x);
    font-size: 13px;
    color: var(--gray-base);
}

/* Subtotal row */
.order-summary .summary-container .subtotal {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--gray-lighter-4);
    font-weight: 500;
}

.order-summary .summary-container .recurring-totals {
    padding: 12px 0;
    border-top: 1px solid var(--gray-lighter-4);
    font-size: 12px;
    color: var(--gray-lighter-2);
}

.order-summary .summary-container .recurring-totals .cost {
    font-weight: 600;
    color: var(--gray-darker);
}

/* Total Due Today block */
#order-standard_cart .order-summary .total-due-today,
.order-summary .total-due-today {
    background: var(--brand-primary-lighter-4);
    border-top: 2px solid var(--brand-primary);
    padding: var(--spacing-3x);
    text-align: center;
}

#order-standard_cart .order-summary .total-due-today .amt,
.order-summary .total-due-today .amt {
    font-size: 26px;
    font-weight: 900;
    color: var(--brand-primary);
    display: block;
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}

#order-standard_cart .order-summary .total-due-today>span:last-child,
.order-summary .total-due-today>span:last-child {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Checkout button in summary */
.order-summary .btn-success.btn-lg,
.order-summary .btn-checkout {
    background: #05259F !important;
    border: none !important;
    color: #fff !important;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    box-shadow: 0 2px 8px rgba(5, 37, 159, 0.2);
    transition: all 0.24s ease;
    margin-bottom: 8px;
}

.order-summary .btn-success.btn-lg:hover,
.order-summary .btn-checkout:hover {
    background: #051751 !important;
    box-shadow: 0 6px 20px rgba(5, 37, 159, 0.35);
    transform: translateY(-2px);
}

.order-summary .btn-continue-shopping {
    font-size: 13px;
    color: var(--gray-lighter-2);
}

.order-summary .btn-continue-shopping:hover {
    color: var(--brand-primary);
}

/* ======================
   vCloud Reseller Template Overrides
   ====================== */
/* Match vCloud hero with Lagom brand */
.vc-hero {
    font-family: 'DM Sans', sans-serif !important;
    background: var(--brand-primary) !important;
    border-radius: var(--radius-xl) !important;
}

.vc-hero h1 {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 900 !important;
}

.vc-section,
.vc-billing {
    font-family: 'DM Sans', sans-serif !important;
}

.vc-section h2,
.vc-billing h2 {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 900 !important;
    color: var(--gray-darker) !important;
}

.vc-eyebrow {
    color: var(--brand-primary) !important;
    background: var(--brand-primary-lighter-3) !important;
    border-radius: var(--radius-sm) !important;
    font-family: 'DM Sans', sans-serif !important;
}

.vc-feat {
    border-color: var(--gray-lighter-4) !important;
    border-radius: var(--radius-lg) !important;
}

.vc-feat:hover {
    border-color: var(--brand-primary) !important;
}

.vc-feat-icon {
    background: var(--brand-primary-lighter-3) !important;
    color: var(--brand-primary) !important;
    border-radius: var(--radius-lg) !important;
}

.vc-feat:hover .vc-feat-icon {
    background: var(--brand-primary) !important;
}

.vc-feat h3 {
    font-family: 'DM Sans', sans-serif !important;
    color: var(--gray-darker) !important;
}

.vc-feat p {
    color: var(--gray-lighter) !important;
}

.vc-product-card-single {
    border-color: var(--gray-lighter-4) !important;
    border-radius: var(--radius-xl) !important;
    font-family: 'DM Sans', sans-serif !important;
}

.vc-product-card-single:hover {
    border-color: var(--brand-primary) !important;
    box-shadow: var(--shadow-lg) !important;
}

.vc-product-card-badge-single {
    background: var(--brand-primary-lighter-3) !important;
    color: var(--brand-primary) !important;
    border-radius: var(--radius-sm) !important;
}

.vc-order-btn-single {
    background: #72D97F !important;
    color: #031030 !important;
    border-radius: var(--radius-lg) !important;
    font-family: 'DM Sans', sans-serif !important;
}

.vc-order-btn-single:hover {
    background: #5cc96b !important;
    color: #031030 !important;
    box-shadow: 0 8px 24px rgba(114, 217, 127, 0.35) !important;
}

.vc-billing {
    background: var(--gray-faded) !important;
    border-color: var(--gray-lighter-4) !important;
    border-radius: var(--radius-xl) !important;
}

.vc-step-num {
    border-color: var(--brand-primary-lighter-3) !important;
    color: var(--brand-primary) !important;
    font-family: 'DM Sans', sans-serif !important;
}

.vc-step:hover .vc-step-num {
    background: var(--brand-primary) !important;
    box-shadow: 0 6px 18px rgba(5, 37, 159, 0.3), 0 0 0 6px var(--gray-faded) !important;
}

.vc-step h4 {
    font-family: 'DM Sans', sans-serif !important;
    color: var(--gray-darker) !important;
}

.vc-note {
    background: var(--brand-primary-lighter-3) !important;
    border-left-color: var(--brand-primary) !important;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0 !important;
    font-family: 'DM Sans', sans-serif !important;
}

.vc-note strong {
    color: var(--brand-primary) !important;
}

/* vCloud Cart Page Styling */
.vc-cart-wrapper {
    font-family: 'DM Sans', sans-serif !important;
}

.vc-cart-header {
    background: var(--brand-primary) !important;
    border-radius: var(--radius-xl) !important;
}

.vc-cart-header h1 {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 900 !important;
}

.vc-cart-items {
    border-color: var(--gray-lighter-4) !important;
    border-radius: var(--radius-lg) !important;
}

.vc-cart-summary {
    background: var(--gray-faded) !important;
    border-color: var(--gray-lighter-4) !important;
    border-radius: var(--radius-lg) !important;
}

.vc-checkout-btn {
    background: #05259F !important;
    border-radius: var(--radius-lg) !important;
    font-family: 'DM Sans', sans-serif !important;
    color: #fff !important;
    text-decoration: none !important;
}

.vc-checkout-btn:hover {
    background: #051751 !important;
    box-shadow: 0 6px 20px rgba(5, 37, 159, 0.35) !important;
    color: #fff !important;
}

/* vCloud Checkout Page */
.vc-checkout-wrapper {
    font-family: 'DM Sans', sans-serif !important;
}

.vc-checkout-header {
    background: var(--brand-primary) !important;
    border-radius: var(--radius-xl) !important;
}

.vc-checkout-main {
    border-color: var(--gray-lighter-4) !important;
    border-radius: var(--radius-lg) !important;
}

.vc-checkout-sidebar {
    background: var(--gray-faded) !important;
    border-color: var(--gray-lighter-4) !important;
    border-radius: var(--radius-lg) !important;
}

/* ======================
   Standard Cart Additional Fixes
   ====================== */

/* Empty cart state */
#order-standard_cart .empty-cart,
#order-standard_cart .cart-empty {
    text-align: center;
    padding: var(--spacing-6x) var(--spacing-3x);
    color: var(--gray-lighter-2);
}

#order-standard_cart .empty-cart i,
#order-standard_cart .cart-empty i {
    font-size: 48px;
    color: var(--gray-lighter-3);
    margin-bottom: var(--spacing-2x);
}

/* Order form tab navigation */
#order-standard_cart .nav-tabs {
    border-bottom: 2px solid var(--gray-lighter-4);
    margin-bottom: var(--spacing-3x);
}

#order-standard_cart .nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 20px;
    font-weight: 500;
    color: var(--gray-lighter);
    font-size: 14px;
    transition: all 0.2s ease;
    margin-bottom: -2px;
}

#order-standard_cart .nav-tabs .nav-link:hover {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary-lighter-2);
}

#order-standard_cart .nav-tabs .nav-link.active {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
    font-weight: 600;
    background: transparent;
}

/* Cart action buttons row */
#order-standard_cart .cart-actions,
#order-standard_cart .view-cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-3x);
    margin-top: var(--spacing-3x);
    border-top: 1px solid var(--gray-lighter-4);
}

/* Continue shopping button */
#order-standard_cart .btn-continue-shopping {
    border: 1px solid var(--gray-lighter-3);
    background: #fff;
    color: var(--gray-darker);
    font-weight: 500;
}

#order-standard_cart .btn-continue-shopping:hover {
    background: var(--gray-faded);
}

/* Empty cart button */
#order-standard_cart .btn-empty-cart {
    color: var(--brand-danger);
    background: transparent;
    border: 1px solid var(--brand-danger);
    font-size: 13px;
}

#order-standard_cart .btn-empty-cart:hover {
    background: var(--brand-danger);
    color: #fff;
}

/* ======================
   Order Summary Sidebar Totals
   ====================== */
#order-standard_cart .order-summary .summary-totals {
    padding: var(--spacing-2x) var(--spacing-3x);
}

#order-standard_cart .order-summary .summary-totals .row {
    padding: 6px 0;
    font-size: 14px;
}

#order-standard_cart .order-summary .summary-totals .row.total-row {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-darker);
    border-top: 2px solid var(--gray-lighter-4);
    padding-top: 12px;
    margin-top: 8px;
}

/* ======================
   Cart Mobile Responsive
   ====================== */
@media (max-width: 1199px) {
    #order-standard_cart .secondary-cart-body {
        width: 100% !important;
        float: none !important;
    }

    #order-standard_cart .secondary-cart-sidebar {
        width: 100% !important;
        float: none !important;
        margin-top: var(--spacing-3x);
    }
}

@media (max-width: 767.98px) {
    #order-standard_cart .view-cart-items .item {
        padding: 16px;
    }

    #order-standard_cart .products .product footer {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    #order-standard_cart .products .product .btn-order-now {
        width: 100%;
    }

    .vc-hero {
        padding: 32px 20px !important;
    }

    .vc-hero h1 {
        font-size: 1.8rem !important;
    }
}

/* ======================
   Product Card Fixes
   ====================== */
#order-standard_cart .products .product {
    background: #fff;
    border: 1px solid var(--gray-lighter-4);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: var(--spacing-3x);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: none;
}

#order-standard_cart .products .product footer {
    float: right;
    width: 100%;
    font-size: .8em;
    text-align: center;
}

#order-standard_cart .products .product .btn-order-now {
    background-color: #05259F;
    border-color: #05259F;
}

#order-standard_cart .products .product .btn-order-now:hover {
    background-color: #051751;
    border-color: #051751;
}

/* ======================
   Cart Badge Fix — prevent oval shape
   ====================== */
header.header .toolbar .nav-link .badge {
    position: static;
}

/* ======================
   Breadcrumb / Notification Bar
   ====================== */
.master-breadcrumb {
    background: var(--gray-faded) !important;
    border-bottom: 1px solid var(--gray-lighter-4) !important;
    padding: 10px 0;
}

.breadcrumb-item {
    color: var(--gray-lighter-2);
}

.breadcrumb-item a {
    color: var(--gray-lighter);
}

.breadcrumb-item a:hover {
    color: var(--brand-primary);
}

.breadcrumb-item.active {
    color: var(--gray-darker);
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--gray-lighter-3);
}

/* ======================
   Footer Whitespace Fix
   ====================== */
html {
    height: auto !important;
    min-height: 100%;
}

body.primary-bg-color {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: auto !important;
}

body.primary-bg-color>section {
    flex: 1 0 auto;
}

body.primary-bg-color>.footer {
    flex-shrink: 0;
}

body.primary-bg-color>.w-hidden,
body.primary-bg-color>.system-modal,
body.primary-bg-color>.lightboxOverlay,
body.primary-bg-color>.lightbox {
    flex: none;
    height: auto !important;
}

/* ============================================================
   HOMEPAGE REDESIGN — OneCloud "Sovereign Cloud Authority"
   Brand: OneCloud | Colors: #05259F, #031030, #72D97F
   ============================================================ */

/* --- Display Font --- */
.oc-hero__title,
.oc-section-title,
.oc-pillar__title,
.oc-pillar__number,
.oc-offering-card__title,
.oc-hero__stat-value {
    font-family: 'Outfit', sans-serif !important;
}

/* ========================================
   HERO SECTION — White / 2-Column
   ======================================== */
.oc-hero {
    position: relative;
    background: #fff;
    padding: 72px 0 56px;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-lighter-4);
}

.oc-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.oc-hero__dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(5, 37, 159, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Soft ambient glow behind content */
.oc-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    pointer-events: none;
}

.oc-hero__glow--1 {
    width: 500px;
    height: 500px;
    background: rgba(5, 37, 159, 0.06);
    top: -100px;
    right: 10%;
    animation: glowDrift 8s ease-in-out infinite;
}

.oc-hero__glow--2 {
    width: 350px;
    height: 350px;
    background: rgba(114, 217, 127, 0.06);
    bottom: -80px;
    left: 20%;
    animation: glowDrift 8s ease-in-out infinite 4s;
}

@keyframes glowDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -15px) scale(1.08); }
}

.oc-hero__row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.oc-hero__content {
    position: relative;
    z-index: 2;
}

.oc-hero__visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 37, 159, 0.05);
    color: #05259F;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(5, 37, 159, 0.1);
    margin-bottom: 32px;
    animation: fadeSlideUp 0.6s ease both;
}

.oc-hero__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #72D97F;
    display: block;
    box-shadow: 0 0 6px rgba(114, 217, 127, 0.5);
    animation: oc-dot-pulse 2s ease-in-out infinite;
}

.oc-hero__title {
    font-size: 56px;
    font-weight: 800;
    color: #031030;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
    animation: fadeSlideUp 0.6s ease 0.1s both;
}

.oc-hero__title-accent {
    background: linear-gradient(135deg, #05259F 0%, #1a4fd4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.oc-hero__dot {
    color: #72D97F;
    -webkit-text-fill-color: #72D97F;
}

.oc-hero__subtitle {
    font-size: 17px;
    color: #5a6578;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 40px;
    animation: fadeSlideUp 0.6s ease 0.2s both;
}

.oc-hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 52px;
    animation: fadeSlideUp 0.6s ease 0.3s both;
}

/* Primary CTA button */
.oc-btn--primary {
    background: #05259F;
    color: #fff;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(5, 37, 159, 0.2);
    transition: all 0.3s ease;
}

.oc-btn--primary:hover {
    background: #051751;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(5, 37, 159, 0.3);
}

.oc-btn--primary i {
    margin-left: 8px;
    font-size: 13px;
    transition: transform 0.25s ease;
}

.oc-btn--primary:hover i {
    transform: translateX(3px);
}

.oc-btn--outline {
    background: transparent;
    color: #031030;
    border: 1.5px solid var(--gray-lighter-3);
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.oc-btn--outline:hover {
    color: #05259F;
    border-color: #05259F;
    background: rgba(5, 37, 159, 0.04);
    transform: translateY(-2px);
}

/* Hero stats */
.oc-hero__stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeSlideUp 0.6s ease 0.4s both;
    padding: 24px 0;
    border-top: 1px solid rgba(5, 37, 159, 0.08);
}

.oc-hero__stat {
    display: flex;
    flex-direction: column;
}

.oc-hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(5, 37, 159, 0.1);
}

.oc-hero__stat-value {
    font-size: 34px;
    font-weight: 700;
    color: #05259F;
    line-height: 1;
    margin-bottom: 6px;
}

.oc-hero__stat-label {
    font-size: 12px;
    color: #8494a7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   CLOUD SERVICES ANIMATION
   ======================================== */
.oc-cloud-anim {
    position: relative;
    width: 420px;
    height: 420px;
}

.oc-cloud-anim__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.oc-cloud-anim__lines line {
    animation: linePulse 3s ease-in-out infinite;
}

.oc-cloud-anim__lines line:nth-child(2) { animation-delay: 0.5s; }
.oc-cloud-anim__lines line:nth-child(3) { animation-delay: 1s; }
.oc-cloud-anim__lines line:nth-child(4) { animation-delay: 1.5s; }
.oc-cloud-anim__lines line:nth-child(5) { animation-delay: 2s; }
.oc-cloud-anim__lines line:nth-child(6) { animation-delay: 2.5s; }

@keyframes linePulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Center hub */
.oc-cloud-anim__hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.oc-cloud-anim__hub-inner {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #05259F;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(5, 37, 159, 0.15), 0 0 0 8px rgba(5, 37, 159, 0.04);
    position: relative;
    z-index: 3;
    padding: 14px;
}

.oc-cloud-anim__hub-logo {
    width: 52px;
    height: auto;
    object-fit: contain;
}

/* Pulsing rings */
.oc-cloud-anim__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(5, 37, 159, 0.08);
    transform: translate(-50%, -50%);
}

.oc-cloud-anim__ring--1 {
    width: 160px;
    height: 160px;
    animation: ringPulse 4s ease-in-out infinite;
}

.oc-cloud-anim__ring--2 {
    width: 260px;
    height: 260px;
    animation: ringPulse 4s ease-in-out infinite 1s;
}

.oc-cloud-anim__ring--3 {
    width: 360px;
    height: 360px;
    border-style: dashed;
    border-color: rgba(5, 37, 159, 0.05);
    animation: ringPulse 4s ease-in-out infinite 2s;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.04); }
}

/* Orbiting particles */
.oc-cloud-anim__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.oc-cloud-anim__orbit--1 {
    width: 200px;
    height: 200px;
    animation: orbitSpin 12s linear infinite;
}

.oc-cloud-anim__orbit--2 {
    width: 310px;
    height: 310px;
    animation: orbitSpin 18s linear infinite reverse;
}

.oc-cloud-anim__particle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #05259F;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(5, 37, 159, 0.3);
}

.oc-cloud-anim__particle--mint {
    background: #72D97F;
    box-shadow: 0 0 8px rgba(114, 217, 127, 0.4);
    width: 5px;
    height: 5px;
}

@keyframes orbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Service nodes */
.oc-cloud-anim__node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 4;
}

.oc-cloud-anim__node i {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(5, 37, 159, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #05259F;
    box-shadow: 0 4px 20px rgba(5, 37, 159, 0.08);
    transition: all 0.35s ease;
}

.oc-cloud-anim__node span {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-lighter-2);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.oc-cloud-anim__node:hover i {
    background: #05259F;
    color: #fff;
    border-color: #05259F;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(5, 37, 159, 0.2);
}

/* Node positions — hexagonal layout around center */
.oc-cloud-anim__node--1 { top: 10px; left: 50%; transform: translateX(-50%); }
.oc-cloud-anim__node--2 { top: 22%; right: 10px; }
.oc-cloud-anim__node--3 { bottom: 22%; right: 10px; }
.oc-cloud-anim__node--4 { bottom: 10px; left: 50%; transform: translateX(-50%); }
.oc-cloud-anim__node--5 { bottom: 22%; left: 10px; }
.oc-cloud-anim__node--6 { top: 22%; left: 10px; }

/* Floating animation per node */
.oc-cloud-anim__node--1 { animation: nodeFloat 6s ease-in-out infinite; }
.oc-cloud-anim__node--2 { animation: nodeFloat 6s ease-in-out infinite 1s; }
.oc-cloud-anim__node--3 { animation: nodeFloat 6s ease-in-out infinite 2s; }
.oc-cloud-anim__node--4 { animation: nodeFloat 6s ease-in-out infinite 3s; }
.oc-cloud-anim__node--5 { animation: nodeFloat 6s ease-in-out infinite 4s; }
.oc-cloud-anim__node--6 { animation: nodeFloat 6s ease-in-out infinite 5s; }

@keyframes nodeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Fix translateX nodes */
.oc-cloud-anim__node--1 {
    animation: nodeFloatCenter 6s ease-in-out infinite;
}
.oc-cloud-anim__node--4 {
    animation: nodeFloatCenter 6s ease-in-out infinite 3s;
}

@keyframes nodeFloatCenter {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

/* Smooth scroll for anchor */
html {
    scroll-behavior: smooth;
}

/* ========================================
   FEATURED PARTNERS SLIDER
   ======================================== */
.oc-partners {
    background: var(--gray-faded);
    border-bottom: 1px solid var(--gray-lighter-4);
    padding: 40px 0 36px;
    overflow: hidden;
}

.oc-partners__header {
    text-align: center;
    margin-bottom: 28px;
}

.oc-partners__title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-darker);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.oc-partners__desc {
    font-size: 13px;
    color: var(--gray-lighter-2);
    margin: 0;
}

.oc-partners__track-wrapper {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.oc-partners__track {
    display: flex;
    gap: 8px;
    animation: partnerScroll 30s linear infinite;
    width: max-content;
}

.oc-partners__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #fff;
    border: 1px solid var(--gray-lighter-4);
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.oc-partners__logo:hover {
    border-color: rgba(5, 37, 159, 0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.oc-partners__logo i {
    font-size: 22px;
    color: #05259F;
    width: 28px;
    text-align: center;
}

.oc-partners__img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0);
}

.oc-partners__logo span {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-darker);
}

@keyframes partnerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.oc-partners__track:hover {
    animation-play-state: paused;
}

@media (max-width: 767px) {
    .oc-partners {
        padding: 28px 0 24px;
    }

    .oc-partners__logo {
        padding: 10px 18px;
    }

    .oc-partners__logo i {
        font-size: 18px;
    }

    .oc-partners__logo span {
        font-size: 13px;
    }

    .oc-partners__desc {
        display: none;
    }
}

/* ========================================
   MEGA MENU
   ======================================== */
.oc-mega-dropdown {
    min-width: 440px;
    padding: 16px !important;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px !important;
    box-shadow: 0 12px 48px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.03) !important;
    margin-top: 0 !important;
    top: 100% !important;
}

/* Invisible bridge between nav item and dropdown to prevent hover gap */
.oc-mega-parent > .oc-mega-dropdown::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.oc-mega-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.oc-mega-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

a.oc-mega-item:hover {
    background: rgba(5, 37, 159, 0.04);
    text-decoration: none;
}

.oc-mega-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(5, 37, 159, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.oc-mega-item__icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.oc-mega-item__icon img.oc-icon-lg {
    width: 34px;
    height: 34px;
}

/* Make SVG icons dark by default, white on hover */
.oc-mega-item__icon img.oc-icon-svg {
    filter: brightness(0);
    transition: filter 0.2s ease;
}

a.oc-mega-item:hover .oc-mega-item__icon img.oc-icon-svg {
    filter: brightness(0) invert(1);
}

.oc-mega-item__icon i {
    font-size: 16px;
    color: #05259F;
}

a.oc-mega-item:hover .oc-mega-item__icon {
    background: #05259F;
}

a.oc-mega-item:hover .oc-mega-item__icon i {
    color: #fff;
}

.oc-mega-item__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.oc-mega-item__name {
    font-size: 14px;
    font-weight: 600;
    color: #031030;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.oc-mega-item__desc {
    font-size: 12px;
    color: var(--gray-lighter-2);
    line-height: 1.4;
}

/* Coming Soon items */
.oc-mega-item--soon {
    cursor: default;
    pointer-events: none;
    opacity: 0.55;
}

.oc-mega-item--soon .oc-mega-item__icon {
    background: var(--gray-lighter-4);
}

.oc-mega-item--soon .oc-mega-item__icon i {
    color: var(--gray-lighter-2);
}

.oc-mega-parent {
    position: relative;
}

.oc-nav-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    font-family: 'Outfit', sans-serif;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(135deg, #72D97F 0%, #4fc46a 100%);
    padding: 2px 7px 2px 5px;
    border-radius: 6px;
    line-height: 1.3;
    white-space: nowrap;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(114, 217, 127, 0.4);
    animation: oc-badge-glow 2.5s ease-in-out infinite;
}

.oc-nav-badge__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    display: block;
    animation: oc-dot-pulse 2s ease-in-out infinite;
}

@keyframes oc-badge-glow {
    0%, 100% { box-shadow: 0 2px 8px rgba(114, 217, 127, 0.35); }
    50% { box-shadow: 0 2px 14px rgba(114, 217, 127, 0.6); }
}

@keyframes oc-dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.oc-soon-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #05259F;
    background: rgba(5, 37, 159, 0.08);
    padding: 2px 8px;
    border-radius: 100px;
    white-space: nowrap;
}

/* Desktop hover to open with smooth visibility transition */
@media (min-width: 1200px) {
    .oc-mega-parent > .oc-mega-dropdown {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        pointer-events: none;
    }

    .oc-mega-parent:hover > .oc-mega-dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-navbar-wrapper .navbar-nav > li.dropdown > .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        pointer-events: none;
    }

    .main-navbar-wrapper .navbar-nav > li.dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* Mobile mega menu */
@media (max-width: 1199px) {
    .oc-mega-dropdown {
        min-width: 100%;
        position: static !important;
        box-shadow: none !important;
        border: none;
        border-radius: 0 !important;
        padding: 8px 0 !important;
        background: transparent;
    }

    .oc-mega-item {
        padding: 10px 12px;
    }

    .oc-mega-item__icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .oc-mega-item__icon i {
        font-size: 14px;
    }

    .oc-mega-item__desc {
        display: none;
    }
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.oc-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.oc-section-tag {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #05259F;
    background: rgba(5, 37, 159, 0.08);
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.oc-section-title {
    font-size: 40px;
    font-weight: 800;
    color: #031030;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.oc-section-desc {
    font-size: 16px;
    color: var(--gray-lighter-2);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   OFFERINGS (Product Cards)
   ======================================== */
.oc-offerings {
    padding: 80px 0 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* --- Product Card --- */
.oc-product-card {
    position: relative;
    margin-bottom: 24px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(5, 37, 159, 0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.oc-product-card:last-child {
    margin-bottom: 0;
}

.oc-product-card:hover {
    border-color: rgba(5, 37, 159, 0.12);
    box-shadow: 0 12px 40px rgba(5, 37, 159, 0.1), 0 0 0 1px rgba(5, 37, 159, 0.04);
    transform: translateY(-3px);
}

/* Left accent stripe */
.oc-product-card__accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #05259F 0%, #72D97F 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.oc-product-card:hover .oc-product-card__accent {
    opacity: 1;
}

.oc-product-card__inner {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    align-items: center;
    gap: 36px;
    padding: 36px 40px;
}

/* Logo column */
.oc-product-card__logo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.oc-product-card__logo-wrap {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background: linear-gradient(145deg, #f8f9fc 0%, #fff 100%);
    border: 1px solid rgba(5, 37, 159, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: all 0.4s ease;
}

.oc-product-card:hover .oc-product-card__logo-wrap {
    box-shadow: 0 8px 24px rgba(5, 37, 159, 0.1);
    border-color: rgba(5, 37, 159, 0.1);
}

.oc-product-card__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.oc-product-card__icon-fallback {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background: linear-gradient(135deg, #05259F, #3352D3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.oc-product-card__icon-fallback i {
    font-size: 42px;
    color: #fff;
}

.oc-product-card__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #34a853;
}

.oc-product-card__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #72D97F;
    box-shadow: 0 0 6px rgba(114, 217, 127, 0.5);
    animation: oc-dot-pulse 2s ease-in-out infinite;
}

/* Content column */
.oc-product-card__content {
    min-width: 0;
}

.oc-product-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #031030;
    margin-bottom: 8px;
    line-height: 1.3;
}

.oc-product-card__desc {
    font-size: 15px;
    color: #5a6578;
    line-height: 1.65;
    margin: 0;
}

/* Feature bullets */
.oc-product-card__features {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 28px;
}

.oc-product-card__features li {
    font-size: 13.5px;
    color: #3a4557;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.oc-product-card__check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(114, 217, 127, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.oc-product-card__check i {
    font-size: 9px;
    color: #3ba55c;
}

/* Action column */
.oc-product-card__action {
    flex-shrink: 0;
}

.oc-product-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #05259F;
    background: rgba(5, 37, 159, 0.06);
    border: 1.5px solid rgba(5, 37, 159, 0.12);
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.oc-product-card__btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.oc-product-card__btn:hover {
    background: #05259F;
    color: #fff;
    border-color: #05259F;
    box-shadow: 0 6px 20px rgba(5, 37, 159, 0.25);
    text-decoration: none;
    transform: translateX(2px);
}

.oc-product-card__btn:hover i {
    transform: translateX(3px);
}

/* ========================================
   VALUE PILLARS
   ======================================== */
.oc-pillars {
    background: var(--gray-faded);
    border-top: 1px solid var(--gray-lighter-4);
    border-bottom: 1px solid var(--gray-lighter-4);
    padding: 80px 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
}

.oc-pillars__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.oc-pillar {
    padding: 40px 32px;
    border-right: 1px solid var(--gray-lighter-3);
    transition: all 0.4s ease;
    position: relative;
}

.oc-pillar:last-child {
    border-right: none;
}

.oc-pillar:hover {
    background: rgba(5, 37, 159, 0.03);
}

.oc-pillar__number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(5, 37, 159, 0.12);
    line-height: 1;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.oc-pillar:hover .oc-pillar__number {
    color: rgba(5, 37, 159, 0.25);
}

.oc-pillar__title {
    font-size: 22px;
    font-weight: 700;
    color: #031030;
    margin-bottom: 12px;
}

.oc-pillar__desc {
    font-size: 14px;
    color: var(--gray-lighter-2);
    line-height: 1.7;
}

/* ========================================
   HELP SECTION
   ======================================== */
.oc-help {
    padding: 80px 0 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.oc-help__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.oc-help-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px 24px;
    border: 1px solid var(--gray-lighter-4);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    background: #fff;
}

.oc-help-card:hover {
    text-decoration: none;
    border-color: #05259F;
    box-shadow: 0 8px 32px rgba(5, 37, 159, 0.1);
    transform: translateY(-4px);
}

.oc-help-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand-primary-lighter-3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.35s ease;
}

.oc-help-card__icon i {
    font-size: 20px;
    color: #05259F;
}

.oc-help-card:hover .oc-help-card__icon {
    background: #05259F;
}

.oc-help-card:hover .oc-help-card__icon i {
    color: #fff;
}

.oc-help-card__label {
    font-size: 14px;
    font-weight: 600;
    color: #031030;
    margin-bottom: 12px;
}

.oc-help-card__arrow {
    font-size: 12px;
    color: var(--gray-lighter-3);
    transition: all 0.3s ease;
    margin-top: auto;
}

.oc-help-card:hover .oc-help-card__arrow {
    color: #05259F;
    transform: translateX(4px);
}

/* ========================================
   ACCOUNT SECTION
   ======================================== */
.oc-account {
    padding: 60px 0 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.oc-account__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.oc-account-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    background: var(--gray-faded);
    border: 1px solid transparent;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.oc-account-card:hover {
    text-decoration: none;
    background: #fff;
    border-color: rgba(5, 37, 159, 0.12);
    box-shadow: 0 6px 24px rgba(5, 37, 159, 0.08);
    transform: translateY(-3px);
}

.oc-account-card__icon {
    font-size: 28px;
    color: #05259F;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.oc-account-card:hover .oc-account-card__icon {
    color: #72D97F;
    transform: scale(1.1);
}

.oc-account-card__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-base);
}

.oc-account-card:hover .oc-account-card__label {
    color: #031030;
}

/* ========================================
   RESPONSIVE — HOMEPAGE
   ======================================== */
@media (max-width: 1199px) {
    .oc-hero__title {
        font-size: 48px;
    }

    .oc-hero__row {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .oc-product-card__inner {
        gap: 24px;
        padding: 28px 28px;
    }

    .oc-pillars__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .oc-pillar:nth-child(2) {
        border-right: none;
    }

    .oc-pillar:nth-child(1),
    .oc-pillar:nth-child(2) {
        border-bottom: 1px solid var(--gray-lighter-3);
    }

    .oc-help__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .oc-account__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .oc-hero {
        padding: 48px 0 40px;
    }

    .oc-hero__row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .oc-hero__visual {
        display: none;
    }

    .oc-hero__title {
        font-size: 34px;
    }

    .oc-hero__subtitle {
        font-size: 15px;
    }

    .oc-hero__actions {
        flex-direction: column;
        gap: 12px;
    }

    .oc-hero__actions .btn {
        text-align: center;
    }

    .oc-hero__stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .oc-hero__stat-divider {
        display: none;
    }

    .oc-hero__stat-value {
        font-size: 24px;
    }

    .oc-section-title {
        font-size: 30px;
    }

    .oc-offerings,
    .oc-help,
    .oc-account {
        padding: 56px 15px 40px;
    }

    .oc-product-card__inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 20px;
    }

    .oc-product-card__logo-col {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
    }

    .oc-product-card__logo-wrap {
        width: 80px;
        height: 80px;
        border-radius: 16px;
    }

    .oc-product-card__title {
        font-size: 20px;
    }

    .oc-product-card__desc {
        font-size: 14px;
    }

    .oc-product-card__features {
        grid-template-columns: 1fr;
    }

    .oc-product-card__btn {
        width: 100%;
        justify-content: center;
    }

    .oc-pillars {
        padding: 56px 0;
    }

    .oc-pillars__grid {
        grid-template-columns: 1fr;
    }

    .oc-pillar {
        border-right: none;
        border-bottom: 1px solid var(--gray-lighter-3);
        padding: 28px 24px;
    }

    .oc-pillar:last-child {
        border-bottom: none;
    }

    .oc-help__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .oc-account__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .oc-hero__title {
        font-size: 32px;
    }

    .oc-help__grid,
    .oc-account__grid {
        grid-template-columns: 1fr;
    }
}

/* Hide reCAPTCHA badge - attribution in footer */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* ========================================
   LEGAL PAGES (Privacy, Terms)
   ======================================== */
.oc-legal {
    padding: 20px 0;
    max-width: 800px;
    margin: 0 auto;
}

.oc-legal__header {
    margin-bottom: 40px;
}

.oc-legal__title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 36px;
    font-weight: 800;
    color: #031030;
    margin-bottom: 8px;
}

.oc-legal__updated {
    font-size: 14px;
    color: var(--gray-lighter-2);
}

.oc-legal__content h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px;
    font-weight: 700;
    color: #031030;
    margin-top: 36px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-lighter-4);
}

.oc-legal__content p {
    font-size: 15px;
    color: var(--gray-base);
    line-height: 1.8;
    margin-bottom: 14px;
}

.oc-legal__content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.oc-legal__content li {
    font-size: 15px;
    color: var(--gray-base);
    line-height: 1.8;
    margin-bottom: 6px;
}

.oc-legal__content a {
    color: #05259F;
    font-weight: 500;
}

.oc-legal__content a:hover {
    color: #051751;
}

@media (max-width: 767px) {
    .oc-legal__title {
        font-size: 28px;
    }

    .oc-legal__content h3 {
        font-size: 18px;
    }
}

/* ========================================
   REGISTER PAGE — Unified with Checkout
   ======================================== */
.oc-register-final {
    max-width: 100%;
    margin: 32px 0 0;
}

.oc-register-final__card {
    background: #f8f9fb;
    border: 1px solid #e8eaee;
    border-radius: 16px;
    padding: 32px;
    text-align: right;
}

/* Shared checkbox styles (checkout + register) */
.oc-checkout-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
    text-align: left;
}

.oc-checkout-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #4B4F58;
    cursor: pointer;
    margin: 0;
    line-height: 1.5;
}

.oc-checkout-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: #05259F;
    cursor: pointer;
    border-radius: 4px;
}

.oc-checkout-checkbox a {
    color: #05259F;
    font-weight: 600;
    text-decoration: none;
}

.oc-checkout-checkbox a:hover {
    color: #051751;
    text-decoration: underline;
}

.oc-register-final__card .oc-checkout-checkboxes {
    text-align: left;
}

.oc-register-submit {
    background: #72D97F !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 14px 48px !important;
    font-size: 16px !important;
    color: #031030 !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.25s ease;
    width: auto !important;
    display: inline-block !important;
    box-shadow: 0 2px 8px rgba(114, 217, 127, 0.3);
}

.oc-register-submit:hover {
    background: #5cc96b !important;
    box-shadow: 0 4px 16px rgba(114, 217, 127, 0.4);
    transform: translateY(-1px);
}

.oc-register-final__secure {
    text-align: right;
    font-size: 12px;
    color: #8a8f99;
    margin: 10px 0 0;
}

.oc-register-final__secure i {
    margin-right: 4px;
    color: #05259F;
}

/* Hide old mailing list toggle on register page */
#registration .card .no-icheck.toggle-switch-success {
    display: none;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.oc-contact {
    padding: 20px 0;
}

.oc-contact__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    align-items: start;
}

.oc-contact__title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 36px;
    font-weight: 800;
    color: #031030;
    margin-bottom: 12px;
}

.oc-contact__subtitle {
    font-size: 15px;
    color: var(--gray-lighter-2);
    line-height: 1.7;
    margin-bottom: 36px;
}

.oc-contact__methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.oc-contact__method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.oc-contact__method-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(5, 37, 159, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.oc-contact__method-icon i {
    font-size: 16px;
    color: #05259F;
}

.oc-contact__method-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-darker);
    margin-bottom: 2px;
}

.oc-contact__method a,
.oc-contact__method span {
    font-size: 14px;
    color: var(--gray-lighter-2);
}

.oc-contact__method a:hover {
    color: #05259F;
}

.oc-contact__social {
    display: flex;
    gap: 12px;
}

.oc-contact__social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--gray-lighter-4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-lighter-2);
    font-size: 16px;
    transition: all 0.2s ease;
}

.oc-contact__social a:hover {
    background: #05259F;
    border-color: #05259F;
    color: #fff;
}

/* Form */
.oc-contact__form-wrapper {
    background: #fff;
    border: 1px solid var(--gray-lighter-4);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.oc-contact__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.oc-contact__field {
    margin-bottom: 20px;
}

.oc-contact__field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-darker);
    margin-bottom: 6px;
}

.oc-contact__field .form-control {
    border-radius: 10px;
    padding: 12px 16px;
    border: 1px solid var(--gray-lighter-3);
    font-size: 14px;
}

.oc-contact__field .form-control:focus {
    border-color: #05259F;
    box-shadow: 0 0 0 3px rgba(5, 37, 159, 0.1);
}

.oc-contact__field textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.oc-contact__checkboxes {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oc-contact__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-base);
    cursor: pointer;
    margin: 0;
}

.oc-contact__checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #05259F;
    cursor: pointer;
}

.oc-contact__checkbox a {
    color: #05259F;
    font-weight: 500;
}

.oc-contact__checkbox a:hover {
    color: #051751;
}

.oc-contact__captcha {
    margin-bottom: 20px;
    text-align: center;
}

.oc-contact__submit {
    padding: 14px 32px !important;
    font-size: 15px !important;
    border-radius: 12px !important;
}

.oc-contact__submit i {
    margin-left: 8px;
    font-size: 13px;
}

@media (max-width: 991px) {
    .oc-contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .oc-contact__form-wrapper {
        padding: 24px;
        border-radius: 16px;
    }

    .oc-contact__form-row {
        grid-template-columns: 1fr;
    }

    .oc-contact__title {
        font-size: 28px;
    }
}

/* Hide old homepage elements and breadcrumb on homepage */
.card-columns.home,
.home-domain-search {
    display: none !important;
}

body.primary-bg-color:has(.oc-hero) .master-breadcrumb {
    display: none;
}

/* ============================================================
   RTL SUPPORT — Arabic, Farsi, Hebrew
   ============================================================ */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] body {
    font-family: 'DM Sans', 'Segoe UI', Tahoma, Arial, sans-serif !important;
}

/* Hero RTL */
[dir="rtl"] .oc-hero__row {
    direction: rtl;
}

[dir="rtl"] .oc-hero__content {
    text-align: right;
}

[dir="rtl"] .oc-hero__actions {
    justify-content: flex-start;
}

[dir="rtl"] .oc-btn--primary i,
[dir="rtl"] .oc-offering-card__link i {
    transform: scaleX(-1);
}

/* Navigation RTL */
[dir="rtl"] .navbar-brand {
    margin-left: 1rem;
    margin-right: 0;
}

[dir="rtl"] .navbar-nav.toolbar {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] #nav {
    margin-right: 0 !important;
}

[dir="rtl"] .ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .mr-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

/* Product cards RTL */
[dir="rtl"] .oc-product-card {
    direction: rtl;
}

[dir="rtl"] .oc-product-card__accent {
    left: auto;
    right: 0;
}

[dir="rtl"] .oc-product-card__features {
    direction: rtl;
}

[dir="rtl"] .oc-product-card__features li {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .oc-product-card__btn i {
    transform: scaleX(-1);
}

/* Pillars RTL */
[dir="rtl"] .oc-pillar {
    border-right: none;
    border-left: 1px solid var(--gray-lighter-3);
    text-align: right;
}

[dir="rtl"] .oc-pillar:last-child {
    border-left: none;
}

/* Account cards RTL */
[dir="rtl"] .oc-account-card {
    direction: rtl;
}

/* Footer RTL */
[dir="rtl"] #footer {
    text-align: right;
}

[dir="rtl"] .float-lg-right {
    float: left !important;
}

[dir="rtl"] .justify-content-lg-start {
    justify-content: flex-end !important;
}

/* Sidebar RTL */
[dir="rtl"] .sidebar .list-group-item {
    border-left: none;
    border-right: 3px solid transparent;
    text-align: right;
}

[dir="rtl"] .sidebar .list-group-item:hover {
    border-left-color: transparent;
    border-right-color: var(--brand-primary-lighter-2);
}

[dir="rtl"] .sidebar .list-group-item.active {
    border-left-color: transparent;
    border-right-color: var(--brand-primary);
}

/* Search bar RTL */
[dir="rtl"] .navbar .search .form-control {
    text-align: right;
}

/* Dropdown RTL */
[dir="rtl"] .dropdown-menu {
    text-align: right;
}

/* Help cards RTL */
[dir="rtl"] .oc-help-card {
    direction: rtl;
}

/* Section headers always centered */
[dir="rtl"] .oc-section-header {
    text-align: center;
}