/*
 * ==============================================================================
 * WINCLOUD.ID - Master Theme Stylesheet (Modern, Dynamic & High-End)
 * Includes:
 * 1. Homepage (Hero, Domain Search, Pricing with Vibrant Accents, Features, Footer)
 * 2. Client Dashboard (Dynamic Color Stats, Panels, Sidebar, Navigation)
 * 3. DirectAdmin SSO Hero Card & High-Tech Transition Loading Animation
 * 4. WHMCS Order Form / Cart (Full Flexbox Cards, Pricing, Checkout)
 * 5. 100% Mobile & Tablet Responsive Design
 * ==============================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Root Design System Tokens --- */
:root {
    --wc-primary: #0f4c81;
    --wc-primary-dark: #07233b;
    --wc-primary-light: #166ab5;
    --wc-accent: #0284c7;
    --wc-accent-hover: #0369a1;
    --wc-success: #10b981;
    --wc-success-light: #ecfdf5;
    --wc-success-border: #a7f3d0;
    --wc-warning: #f59e0b;
    --wc-warning-light: #fffbeb;
    --wc-warning-border: #fde68a;
    --wc-danger: #ef4444;
    --wc-danger-light: #fef2f2;
    --wc-danger-border: #fecaca;
    --wc-dark: #0f172a;
    --wc-slate: #1e293b;
    --wc-muted: #64748b;
    --wc-light-bg: #f1f5f9;
    --wc-card-bg: #ffffff;
    --wc-border: #e2e8f0;
    --wc-border-hover: #cbd5e1;
    --wc-border-subtle: #f1f5f9;
    --wc-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --wc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --wc-shadow-md: 0 10px 15px -3px rgba(15, 76, 129, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --wc-shadow-lg: 0 20px 25px -5px rgba(15, 76, 129, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --wc-radius-sm: 6px;
    --wc-radius: 10px;
    --wc-radius-lg: 14px;
    --wc-radius-full: 9999px;
}

/* --- Base Typography & Atmosphere --- */
html, body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    background: linear-gradient(180deg, #f0f4f9 0%, #f8fafc 100%) !important;
    color: #334155 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    color: var(--wc-dark);
    letter-spacing: -0.02em;
}

a {
    color: var(--wc-accent);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
a:hover {
    color: var(--wc-accent-hover);
    text-decoration: none;
}

/* --- Header & Topbar --- */
#header.header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--wc-border);
    border-top: 3px solid var(--wc-primary);
    box-shadow: var(--wc-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.header .topbar {
    background-color: #f8fafc !important;
    border-bottom: 1px solid var(--wc-border) !important;
    padding: 6px 0 !important;
    font-size: 0.85rem !important;
}
.header .topbar .btn {
    font-size: 0.85rem !important;
    padding: 4px 10px !important;
    color: var(--wc-muted);
    border-radius: var(--wc-radius-sm);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.45rem !important;
    color: var(--wc-primary) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.92rem !important;
    color: #475569 !important;
    padding: 10px 16px !important;
    border-radius: var(--wc-radius-sm);
    transition: all 0.15s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: var(--wc-primary) !important;
    background-color: #eff6ff;
}

.dropdown-menu {
    border: 1px solid var(--wc-border);
    border-radius: var(--wc-radius);
    box-shadow: var(--wc-shadow-md);
    padding: 8px;
    min-width: 220px;
    margin-top: 8px;
}
.dropdown-item {
    font-size: 0.9rem !important;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--wc-radius-sm);
    color: #334155;
}
.dropdown-item:hover {
    background-color: #eff6ff;
    color: var(--wc-primary);
}

.cart-btn {
    position: relative;
    padding: 8px 14px !important;
    border-radius: var(--wc-radius-sm);
    background-color: #ffffff;
    border: 1px solid var(--wc-border);
    color: var(--wc-dark) !important;
    font-size: 0.9rem !important;
}
.cart-btn:hover {
    background-color: #eff6ff;
    border-color: var(--wc-accent);
}
.cart-btn #cartItemCount {
    background-color: var(--wc-accent) !important;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: var(--wc-radius-full);
    padding: 3px 7px;
    margin-left: 4px;
}

.master-breadcrumb {
    background: #ffffff;
    border-bottom: 1px solid var(--wc-border);
    padding: 10px 0;
    font-size: 0.88rem !important;
}
.master-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}
.master-breadcrumb .breadcrumb-item a {
    color: var(--wc-muted);
}
.master-breadcrumb .breadcrumb-item.active {
    color: var(--wc-dark);
    font-weight: 600;
}

/* --- HOMEPAGE SPECIFIC STYLING --- */
.wc-hero {
    background: linear-gradient(135deg, #07233b 0%, #0f4c81 50%, #166ab5 100%) !important;
    color: #ffffff !important;
    padding: 75px 0 95px !important;
    position: relative;
    overflow: hidden;
}
.wc-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: var(--wc-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.wc-hero-title {
    font-size: 2.75rem !important;
    font-weight: 800 !important;
    line-height: 1.25;
    color: #ffffff !important;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}
.wc-hero-title span { color: #38bdf8; }
.wc-hero-lead {
    font-size: 1.1rem;
    color: #e0f2fe;
    max-width: 680px;
    margin-bottom: 32px;
    line-height: 1.65;
}

.wc-domain-box {
    background: #ffffff;
    border-radius: var(--wc-radius-lg);
    padding: 10px;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.3);
    max-width: 720px;
    margin-bottom: 20px;
}
.wc-domain-box .form-control {
    border: none !important;
    font-size: 1rem !important;
    padding: 12px 18px !important;
    box-shadow: none !important;
    background-color: transparent !important;
}
.wc-domain-box .btn-search {
    background: linear-gradient(135deg, var(--wc-primary) 0%, var(--wc-accent) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--wc-radius-sm);
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.15s ease;
    cursor: pointer;
}
.wc-domain-box .btn-search:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.wc-tld-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.wc-tld-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--wc-radius-sm);
    padding: 4px 12px;
    font-size: 0.82rem;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.15s ease;
}
.wc-tld-pill:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}
.wc-tld-pill strong { color: #38bdf8; }

.wc-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
}
.wc-highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #e2e8f0;
    font-weight: 600;
}
.wc-highlight-item i { color: #38bdf8; font-size: 1.1rem; }

.wc-trust-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--wc-border);
    padding: 24px 0;
}
.wc-trust-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.wc-trust-card {
    display: flex;
    align-items: center;
    gap: 14px;
}
.wc-trust-card i {
    font-size: 2rem;
    color: var(--wc-primary);
}
.wc-trust-card h5 {
    font-size: 1rem !important;
    margin: 0 !important;
    font-weight: 700;
}
.wc-trust-card p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--wc-muted);
}

/* Homepage Pricing Cards */
.wc-pricing-section {
    padding: 70px 0;
    background: var(--wc-light-bg);
}
.wc-section-header {
    text-align: center;
    margin-bottom: 45px;
}
.wc-section-tag {
    display: inline-block;
    background: #e0f2fe;
    color: var(--wc-accent-hover);
    padding: 4px 14px;
    border-radius: var(--wc-radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.wc-section-title {
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
    color: var(--wc-dark) !important;
}
.wc-section-subtitle {
    color: var(--wc-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.wc-price-card {
    background: #ffffff;
    border: 1.5px solid #bfdbfe;
    border-top: 5px solid #0284c7;
    border-radius: var(--wc-radius-lg);
    padding: 32px 26px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--wc-shadow-sm);
}
.wc-price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wc-shadow-lg);
    border-color: #60a5fa;
}

.wc-price-card.featured {
    border: 2px solid #0f4c81;
    border-top: 6px solid #f59e0b;
    box-shadow: 0 10px 25px -5px rgba(15, 76, 129, 0.15);
    background: linear-gradient(180deg, #fffdfa 0%, #ffffff 40%);
}
.wc-price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 18px;
    border-radius: var(--wc-radius-full);
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.35);
}

.wc-price-header {
    text-align: center;
    border-bottom: 1px solid var(--wc-border);
    padding-bottom: 22px;
    margin-bottom: 22px;
}
.wc-plan-name {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: var(--wc-dark) !important;
    margin-bottom: 4px !important;
}
.wc-plan-desc {
    font-size: 0.88rem;
    color: var(--wc-muted);
    margin-bottom: 16px;
    min-height: 40px;
}
.wc-plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}
.wc-plan-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--wc-primary);
}
.wc-plan-amount {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--wc-dark);
    letter-spacing: -0.03em;
}
.wc-plan-period {
    font-size: 0.88rem;
    color: var(--wc-muted);
}

.wc-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px 0;
    flex-grow: 1;
}
.wc-feature-list li {
    font-size: 0.9rem;
    color: #334155;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--wc-border-subtle);
}
.wc-feature-list li:last-child {
    border-bottom: none;
}
.wc-feature-list li i.fa-check-circle {
    color: var(--wc-success);
    font-size: 1rem;
}

.wc-features-section {
    padding: 70px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--wc-border);
    border-bottom: 1px solid var(--wc-border);
}
.wc-feature-box {
    padding: 26px;
    border-radius: var(--wc-radius);
    background: #f8fafc;
    border: 1px solid var(--wc-border);
    height: 100%;
    transition: all 0.15s ease;
}
.wc-feature-box:hover {
    background: #ffffff;
    border-color: #93c5fd;
    box-shadow: var(--wc-shadow-md);
    transform: translateY(-2px);
}
.wc-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--wc-radius-sm);
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: var(--wc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}
.wc-feature-box h4 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: var(--wc-dark) !important;
}
.wc-feature-box p {
    font-size: 0.88rem;
    color: var(--wc-muted);
    margin: 0;
    line-height: 1.6;
}

.wc-cta-section {
    background: linear-gradient(135deg, #07233b 0%, #0f4c81 100%);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}
.wc-cta-section h2 {
    color: #ffffff !important;
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
}
.wc-cta-section p {
    color: #e2e8f0;
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto 28px auto;
}
.wc-cta-btn {
    background: #ffffff;
    color: var(--wc-primary) !important;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: var(--wc-radius-sm);
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    display: inline-block;
    transition: all 0.15s ease;
}
.wc-cta-btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* --- CLIENT AREA DASHBOARD --- */
.wc-client-header.wc-gradient-banner {
    background: linear-gradient(135deg, #07233b 0%, #0f4c81 50%, #166ab5 100%) !important;
    border: none !important;
    border-radius: var(--wc-radius-lg) !important;
    padding: 24px 28px !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px -5px rgba(15, 76, 129, 0.25) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* 4 Distinct Vibrant Stat Metric Cards */
.wc-stat-card {
    border-radius: var(--wc-radius) !important;
    padding: 16px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    transition: all 0.2s ease-in-out !important;
    text-decoration: none !important;
    box-shadow: var(--wc-shadow-sm) !important;
}
.wc-stat-card:hover {
    transform: translateY(-3px) !important;
}

/* Blue Stat */
.wc-stat-card.stat-blue {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%) !important;
    border: 1.5px solid #bfdbfe !important;
}
.wc-stat-card.stat-blue:hover {
    border-color: #60a5fa !important;
    box-shadow: 0 8px 20px rgba(37,99,235,0.15) !important;
}
.wc-stat-card.stat-blue .wc-stat-icon {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

/* Green Stat */
.wc-stat-card.stat-green {
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%) !important;
    border: 1.5px solid #a7f3d0 !important;
}
.wc-stat-card.stat-green:hover {
    border-color: #34d399 !important;
    box-shadow: 0 8px 20px rgba(16,185,129,0.15) !important;
}
.wc-stat-card.stat-green .wc-stat-icon {
    background: #d1fae5 !important;
    color: #047857 !important;
}

/* Red Stat */
.wc-stat-card.stat-red {
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%) !important;
    border: 1.5px solid #fecaca !important;
}
.wc-stat-card.stat-red:hover {
    border-color: #f87171 !important;
    box-shadow: 0 8px 20px rgba(239,68,68,0.15) !important;
}
.wc-stat-card.stat-red .wc-stat-icon {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

/* Amber Stat */
.wc-stat-card.stat-amber {
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%) !important;
    border: 1.5px solid #fde68a !important;
}
.wc-stat-card.stat-amber:hover {
    border-color: #fbbf24 !important;
    box-shadow: 0 8px 20px rgba(245,158,11,0.15) !important;
}
.wc-stat-card.stat-amber .wc-stat-icon {
    background: #fef3c7 !important;
    color: #b45309 !important;
}

.wc-stat-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: var(--wc-radius-sm) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.3rem !important;
    flex-shrink: 0 !important;
}
.wc-stat-info h3 {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
    color: var(--wc-dark) !important;
    line-height: 1 !important;
}
.wc-stat-info span {
    font-size: 0.82rem !important;
    color: var(--wc-muted) !important;
    font-weight: 600 !important;
}

/* Sidebar Styling with Accent */
.card-sidebar, .sidebar .card, .sidebar .panel {
    border: 1px solid var(--wc-border) !important;
    border-radius: var(--wc-radius) !important;
    margin-bottom: 16px !important;
    box-shadow: var(--wc-shadow-sm) !important;
    overflow: hidden;
}
.card-sidebar .card-header, .sidebar .card-header, .sidebar .panel-heading {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%) !important;
    border-bottom: 1px solid #e0eefc !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    padding: 12px 16px !important;
    color: var(--wc-primary) !important;
}
.card-sidebar .card-title, .sidebar .card-title {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: var(--wc-primary) !important;
}
.sidebar .list-group-item {
    border: none !important;
    border-bottom: 1px solid var(--wc-border-subtle) !important;
    padding: 10px 16px !important;
    font-size: 0.88rem !important;
    color: #334155 !important;
    font-weight: 500 !important;
    border-left: 3px solid transparent !important;
    transition: all 0.15s ease;
}
.sidebar .list-group-item:hover, .sidebar .list-group-item.active {
    background-color: #eff6ff !important;
    color: var(--wc-primary) !important;
    font-weight: 700 !important;
    border-left-color: var(--wc-primary) !important;
}

/* Panel Cards with Primary Accent Stripe */
.wc-panel-card, .client-home-cards .card {
    border: 1px solid var(--wc-border) !important;
    border-top: 3px solid var(--wc-primary) !important;
    border-radius: var(--wc-radius) !important;
    margin-bottom: 20px !important;
    box-shadow: var(--wc-shadow-sm) !important;
}

/* --- DIRECTADMIN HERO ACTION CARD --- */
.card.wc-directadmin-hero {
    background: linear-gradient(135deg, #07233b 0%, #0f4c81 60%, #166ab5 100%) !important;
    border: none !important;
    border-radius: var(--wc-radius-lg) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px -5px rgba(15, 76, 129, 0.25) !important;
    margin-bottom: 24px !important;
    overflow: hidden !important;
}
.card.wc-directadmin-hero .card-body {
    padding: 24px 28px !important;
    color: #ffffff !important;
}
.card.wc-directadmin-hero .wc-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    padding: 4px 12px !important;
    border-radius: var(--wc-radius-full) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
}
.card.wc-directadmin-hero h2,
.card.wc-directadmin-hero .wc-hero-heading {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}
.card.wc-directadmin-hero p,
.card.wc-directadmin-hero .wc-hero-sub {
    color: #e0f2fe !important;
    opacity: 0.95 !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
}

/* DirectAdmin SSO Button */
.wc-directadmin-hero .wc-sso-button-wrapper input[type="submit"], 
.wc-directadmin-hero .wc-sso-button-wrapper button,
.wc-directadmin-hero .wc-sso-button-wrapper .btn,
.wc-directadmin-hero input[type="submit"],
.module-client-area input[type="submit"],
.module-client-area button {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border: 1px solid #b45309 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    padding: 12px 26px !important;
    border-radius: var(--wc-radius-sm) !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    cursor: pointer !important;
}
.wc-directadmin-hero .wc-sso-button-wrapper input[type="submit"]:hover,
.wc-directadmin-hero input[type="submit"]:hover,
.module-client-area input[type="submit"]:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.55) !important;
}

.wc-directadmin-hero .btn-action-light {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}
.wc-directadmin-hero .btn-action-light:hover {
    background: #ffffff !important;
    color: var(--wc-primary) !important;
    border-color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.wc-sso-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}
.wc-sso-overlay.active {
    display: flex !important;
}
.wc-sso-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(7, 23, 40, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    animation: ssoFadeIn 0.3s ease-out forwards !important;
}
.wc-sso-card {
    position: relative !important;
    z-index: 2 !important;
    background: linear-gradient(145deg, rgba(15, 30, 54, 0.96), rgba(7, 18, 36, 0.98)) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
    border-radius: 24px !important;
    padding: 40px 36px !important;
    max-width: 480px !important;
    width: 100% !important;
    text-align: center !important;
    color: #ffffff !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 45px rgba(2, 132, 199, 0.35) !important;
    animation: ssoScaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}
.wc-sso-close-btn {
    position: absolute !important;
    top: 14px !important;
    right: 18px !important;
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 1.6rem !important;
    cursor: pointer !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}
.wc-sso-close-btn:hover {
    color: #ffffff !important;
    transform: rotate(90deg) !important;
}

.wc-sso-hub {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 28px !important;
    position: relative !important;
}
.wc-sso-node {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 2 !important;
}
.wc-sso-node .wc-sso-icon-circle {
    width: 62px !important;
    height: 62px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.65rem !important;
}
.node-wincloud .wc-sso-icon-circle {
    background: linear-gradient(135deg, #0284c7, #0f4c81) !important;
    color: #ffffff !important;
    box-shadow: 0 0 24px rgba(2, 132, 199, 0.6) !important;
    animation: ssoGlowCyan 2s infinite ease-in-out !important;
}
.node-directadmin .wc-sso-icon-circle {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.6) !important;
    animation: ssoGlowAmber 2s infinite ease-in-out !important;
}
.wc-sso-node span {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #e2e8f0 !important;
}

.wc-sso-pulse-line {
    flex-grow: 1 !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    margin: 0 16px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 3px !important;
}
.wc-sso-particle {
    position: absolute !important;
    width: 25px !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, #38bdf8, #ffffff) !important;
    border-radius: 3px !important;
    animation: ssoBeam 1.6s infinite linear !important;
}
.wc-sso-particle.particle-2 {
    animation-delay: 0.8s !important;
}
.wc-sso-center-badge {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #0f172a !important;
    border: 2px solid #38bdf8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
    color: #f59e0b !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.7) !important;
    animation: ssoPulse 1.5s infinite ease-in-out !important;
    z-index: 3 !important;
}

.wc-sso-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.5px !important;
}
.wc-sso-subtitle {
    font-size: 0.9rem !important;
    color: #94a3b8 !important;
    margin-bottom: 20px !important;
    line-height: 1.5 !important;
    min-height: 42px !important;
}

.wc-sso-progress-track {
    width: 100% !important;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
}
.wc-sso-progress-fill {
    height: 100% !important;
    width: 15% !important;
    background: linear-gradient(90deg, #0284c7, #38bdf8, #f59e0b) !important;
    border-radius: 10px !important;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.8) !important;
}

.wc-sso-security {
    font-size: 0.8rem !important;
    color: #cbd5e1 !important;
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.08) !important;
    padding: 6px 14px !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.wc-sso-locked {
    overflow: hidden !important;
}

@keyframes ssoFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes ssoScaleUp {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes ssoBeam {
    0% { left: 0%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}
@keyframes ssoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); box-shadow: 0 0 20px rgba(56, 189, 248, 0.9); }
}
@keyframes ssoGlowCyan {
    0%, 100% { box-shadow: 0 0 16px rgba(2, 132, 199, 0.4); }
    50% { box-shadow: 0 0 30px rgba(2, 132, 199, 0.8); }
}
@keyframes ssoGlowAmber {
    0%, 100% { box-shadow: 0 0 16px rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
}

/* --- WHMCS ORDER FORM / CART (FULL MODERN FLEXBOX FIX) --- */
#order-standard_cart,
.orderform,
.cart-body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

#order-standard_cart .header-lined {
    border-bottom: 1px solid var(--wc-border) !important;
    padding-bottom: 16px !important;
    margin-bottom: 24px !important;
}
#order-standard_cart .header-lined h1 {
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    color: var(--wc-dark) !important;
}
#order-standard_cart .header-lined p {
    color: var(--wc-muted) !important;
    font-size: 0.95rem !important;
}

#order-standard_cart .products .row-eq-height {
    display: flex !important;
    flex-wrap: wrap !important;
}

#order-standard_cart .products .product,
.orderforms-products .product {
    background: #ffffff !important;
    border: 1.5px solid var(--wc-border) !important;
    border-radius: var(--wc-radius-lg) !important;
    box-shadow: var(--wc-shadow-sm) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
    transition: all 0.2s ease !important;
}
#order-standard_cart .products .product:hover {
    border-color: var(--wc-accent) !important;
    box-shadow: var(--wc-shadow-lg) !important;
    transform: translateY(-4px) !important;
}

#order-standard_cart .products .product header {
    background: linear-gradient(135deg, #07233b 0%, #0f4c81 100%) !important;
    color: #ffffff !important;
    padding: 18px 22px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    text-align: center !important;
    border-bottom: 3px solid var(--wc-accent) !important;
    float: none !important;
    width: 100% !important;
}
#order-standard_cart .products .product header span {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    display: block !important;
}
#order-standard_cart .products .product header .qty {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    padding: 3px 10px !important;
    border-radius: var(--wc-radius-full) !important;
    display: inline-block !important;
    margin-top: 4px !important;
}

#order-standard_cart .products .product div.product-desc {
    float: none !important;
    width: 100% !important;
    padding: 24px !important;
    font-size: 0.95rem !important;
    color: #334155 !important;
    flex-grow: 1 !important;
    text-align: center !important;
    min-height: 80px !important;
}
#order-standard_cart .product-desc ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#order-standard_cart .product-desc ul li {
    padding: 8px 0 !important;
    border-bottom: 1px solid var(--wc-border-subtle) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
#order-standard_cart .product-desc ul li:last-child {
    border-bottom: none !important;
}
#order-standard_cart .product-desc ul li .feature-value {
    font-weight: 700 !important;
    color: var(--wc-primary) !important;
}

#order-standard_cart .products .product footer {
    float: none !important;
    width: 100% !important;
    background: #f8fafc !important;
    border-top: 1px solid var(--wc-border) !important;
    padding: 20px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 !important;
}
#order-standard_cart .product-pricing {
    float: none !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
#order-standard_cart .product-pricing .price {
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    color: var(--wc-dark) !important;
    line-height: 1.2 !important;
    display: inline-block !important;
}

#order-standard_cart .btn-order-now {
    width: 100% !important;
    max-width: 260px !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border: 1px solid #b45309 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    padding: 12px 24px !important;
    border-radius: var(--wc-radius-sm) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35) !important;
    transition: all 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
#order-standard_cart .btn-order-now:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45) !important;
    color: #ffffff !important;
}

/* Category Sidebar in Order Form */
#order-standard_cart .cart-sidebar .panel {
    border: 1px solid var(--wc-border) !important;
    border-radius: var(--wc-radius) !important;
    overflow: hidden !important;
}
#order-standard_cart .cart-sidebar .panel-heading {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%) !important;
    color: var(--wc-primary) !important;
    font-weight: 700 !important;
}
#order-standard_cart .cart-sidebar .list-group-item.active {
    background-color: #eff6ff !important;
    color: var(--wc-primary) !important;
    font-weight: 700 !important;
    border-left: 3px solid var(--wc-primary) !important;
}

/* Order Summary Box */
.order-summary, #orderSummary {
    background: #ffffff !important;
    border: 1px solid var(--wc-border) !important;
    border-radius: var(--wc-radius-lg) !important;
    box-shadow: var(--wc-shadow-md) !important;
    padding: 20px !important;
}

/* Tables & DataTables Styling */
.table-container {
    background: #ffffff;
    border: 1px solid var(--wc-border);
    border-radius: var(--wc-radius);
    overflow: hidden;
    margin-bottom: 20px;
}
.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 0;
}
.table th {
    background-color: #f8fafc !important;
    border-top: none !important;
    border-bottom: 2px solid var(--wc-border) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--wc-dark) !important;
    padding: 14px 16px !important;
}
.table td {
    border-top: 1px solid var(--wc-border) !important;
    padding: 14px 16px !important;
    vertical-align: middle !important;
    color: #334155 !important;
    font-size: 0.92rem !important;
}
.table tbody tr:hover {
    background-color: #f0f7ff !important;
}

/* Cards & Generic Panels */
.card, .panel {
    background: var(--wc-card-bg) !important;
    border: 1px solid var(--wc-border) !important;
    border-radius: var(--wc-radius) !important;
    box-shadow: var(--wc-shadow-sm) !important;
    margin-bottom: 20px;
    overflow: hidden;
}
.card-header, .panel-heading {
    background: #ffffff !important;
    border-bottom: 1px solid var(--wc-border) !important;
    padding: 14px 18px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: var(--wc-dark) !important;
}
.card-body, .panel-body {
    padding: 20px !important;
}

/* --- FOOTER FIXES (NO CONTRAST CLASH) --- */
#footer.footer {
    background-color: #0b1528 !important;
    color: #94a3b8 !important;
    padding: 60px 0 25px !important;
    font-size: 0.9rem !important;
    border-top: 3px solid var(--wc-primary) !important;
}
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6,
#footer .brand-footer-text,
#footer .text-white {
    color: #ffffff !important;
}
#footer a {
    color: #94a3b8;
    transition: color 0.15s ease;
}
#footer a:hover {
    color: #38bdf8;
}
.wc-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    margin-top: 40px;
}

/* --- RESPONSIVE ADJUSTMENTS (ALL DEVICES & MOBILE) --- */
@media (max-width: 991px) {
    .wc-hero-title { font-size: 2.1rem !important; }
    .wc-hero { padding: 50px 0 60px !important; }
    .card.wc-directadmin-hero .card-body { padding: 20px !important; }
    .card.wc-directadmin-hero h2 { font-size: 1.3rem !important; }
    .wc-trust-grid { justify-content: flex-start; }
    .wc-trust-card { width: 45%; }
}

@media (max-width: 768px) {
    .wc-client-header.wc-gradient-banner { flex-direction: column; align-items: flex-start !important; }
    .wc-directadmin-hero .wc-sso-button-wrapper input[type="submit"],
    .wc-directadmin-hero .wc-sso-button-wrapper button,
    .wc-directadmin-hero .btn-action-light { width: 100% !important; justify-content: center !important; margin-bottom: 6px !important; }
    #order-standard_cart .products .product footer { flex-direction: column !important; align-items: center !important; }
    #order-standard_cart .btn-order-now { width: 100% !important; text-align: center !important; }
}

@media (max-width: 576px) {
    .wc-hero-title { font-size: 1.65rem !important; }
    .wc-trust-card { width: 100%; }
    .wc-domain-box { padding: 8px; }
    .wc-domain-box .btn-search { width: 100%; margin-top: 8px; }
    .wc-domain-box .input-group { flex-direction: column; }
    .wc-sso-card { padding: 30px 20px !important; }
    .wc-sso-node .wc-sso-icon-circle { width: 50px !important; height: 50px !important; font-size: 1.3rem !important; }
}
