@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

/* =========================================================================
 * RESELLNODE EXECUTIVE SAAS DESIGN SYSTEM
 * Architecture: Linear / Stripe Executive Fintech Standard
 * ========================================================================= */

:root {
    /* Brand Colors */
    --rn-primary: #10b981;
    --rn-primary-hover: #059669;
    --rn-primary-dark: #047857;
    --rn-primary-light: #ecfdf5;
    --rn-primary-border: #a7f3d0;

    /* Neutrals & Surfaces */
    --rn-dark-bg: #090e17;
    --rn-dark-surface: #0f172a;
    --rn-dark-border: rgba(255, 255, 255, 0.08);
    --rn-surface-white: #ffffff;
    --rn-surface-subtle: #f8fafc;
    --rn-border: #e2e8f0;
    --rn-border-hover: #cbd5e1;
    
    /* Typography Colors */
    --rn-text-head: #0f172a;
    --rn-text-body: #334155;
    --rn-text-muted: #64748b;
    --rn-text-light: #94a3b8;
    
    /* Semantic Colors */
    --rn-info: #0284c7;
    --rn-info-bg: #f0f9ff;
    --rn-info-border: #bae6fd;
    --rn-indigo: #4f46e5;
    --rn-indigo-bg: #eef2ff;
    --rn-indigo-border: #c7d2fe;
    --rn-warn: #d97706;
    --rn-warn-bg: #fffbeb;
    --rn-warn-border: #fef3c7;
}

/* Base Typography for ResellNode Components */
#rnCommandCenterRoot,
#rnPricingTableRoot,
.rn-dashboard-container,
.rn-unique-pricing-container {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

#rnCommandCenterRoot *,
#rnPricingTableRoot * {
    box-sizing: border-box;
}

.rn-header-title,
.rn-p-title,
.rn-m-val,
.rn-tld-price-val,
.rn-tld-name {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    letter-spacing: -0.02em;
}

/* Compact WHMCS Page Header Spacing */
.header-lined,
.page-header,
.page-title,
.page-title-wrap {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    padding-top: 0 !important;
    padding-bottom: 2px !important;
    border-bottom: none !important;
}
.header-lined h1,
.page-header h1,
.page-title h1 {
    font-size: 22px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    font-family: 'Outfit', sans-serif !important;
}
.breadcrumb,
.breadcrumb-container {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    font-size: 11px !important;
}

/* =========================================================================
 * 1. RESELLER COMMAND CENTER (EXECUTIVE SAAS HUB)
 * ========================================================================= */
.rn-dashboard-container {
    width: 100% !important;
    display: block !important;
    clear: both !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

.rn-command-card {
    background: var(--rn-surface-white);
    border: 1px solid var(--rn-border);
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.25s ease;
}

.rn-command-card:hover {
    box-shadow: 0 8px 26px -4px rgba(15, 23, 42, 0.08);
}

/* 1.1 Executive Slate Header */
.rn-command-header {
    background: linear-gradient(135deg, var(--rn-dark-bg) 0%, var(--rn-dark-surface) 100%);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--rn-dark-border);
}

.rn-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rn-header-brand-frame {
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rn-header-logo-img {
    max-height: 24px;
    max-width: 125px;
    object-fit: contain;
    display: block;
}

.rn-fallback-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}
.rn-fallback-ico { color: var(--rn-primary); }
.rn-fallback-txt span { color: var(--rn-primary); }

.rn-header-sep {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
}

.rn-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rn-header-title-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rn-header-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
}

.rn-header-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

.rn-header-sub {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

.rn-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Currency Box */
.rn-currency-selector-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 6px 12px;
    color: #ffffff;
}

.rn-curr-label {
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rn-curr-label i { color: #f59e0b; }

.rn-curr-dropdown {
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 13px;
    outline: none;
    cursor: pointer;
}
.rn-curr-dropdown option {
    background: #0f172a;
    color: #ffffff;
    padding: 8px;
}

.rn-header-deposit-btn {
    background: var(--rn-primary);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.rn-header-deposit-btn:hover {
    background: var(--rn-primary-hover);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

/* 1.2 Subtle Balance Notice */
.rn-balance-notice {
    background: var(--rn-warn-bg);
    border-bottom: 1px solid var(--rn-warn-border);
    padding: 11px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #92400e;
    font-size: 12px;
    font-weight: 600;
}
.rn-notice-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rn-notice-ico { color: var(--rn-warn); font-size: 14px; }
.rn-notice-cta {
    color: #b45309;
    font-weight: 700;
    text-decoration: none;
}
.rn-notice-cta:hover { text-decoration: underline; }

/* 1.3 4-Card Executive Metrics Grid */
.rn-metrics-row {
    padding: 22px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--rn-surface-white);
}

.rn-metric-card {
    background: var(--rn-surface-white);
    border: 1px solid var(--rn-border);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 124px;
}
.rn-metric-card:hover {
    border-color: var(--rn-border-hover);
    box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}

.rn-card-highlight {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    border-color: var(--rn-primary-border);
}
.rn-card-highlight:hover {
    border-color: var(--rn-primary);
}

.rn-m-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.rn-m-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--rn-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rn-m-chip {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.rn-chip-ready { background: var(--rn-primary-light); color: var(--rn-primary-dark); }
.rn-chip-slate { background: var(--rn-surface-subtle); color: var(--rn-text-muted); }
.rn-chip-blue { background: var(--rn-info-bg); color: var(--rn-info); }
.rn-chip-indigo { background: var(--rn-indigo-bg); color: var(--rn-indigo); }

.rn-m-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--rn-text-head);
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.rn-val-emerald { color: var(--rn-primary-hover); }
.rn-val-blue { color: var(--rn-info); }
.rn-val-indigo { color: var(--rn-indigo); }

.rn-m-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--rn-text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 1.4 Footer Bar */
.rn-command-footer {
    background: var(--rn-surface-subtle);
    border-top: 1px solid var(--rn-border);
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.rn-footer-telemetry {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--rn-text-muted);
}

.rn-telemetry-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rn-primary);
    box-shadow: 0 0 6px var(--rn-primary);
}

.rn-footer-shortcuts {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rn-shortcut-btn {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.rn-btn-primary {
    background: var(--rn-primary);
    color: #ffffff !important;
}
.rn-btn-primary:hover {
    background: var(--rn-primary-hover);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.rn-btn-secondary {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155 !important;
}
.rn-btn-secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a !important;
    transform: translateY(-1px);
}

/* =========================================================================
 * 2. WHOLESALE PRICING SHOWCASE (CLEAN BOTTOM SECTION)
 * ========================================================================= */
.rn-unique-pricing-container {
    width: 100% !important;
    display: block !important;
    clear: both !important;
    margin-top: 28px !important;
    margin-bottom: 30px !important;
}

.rn-pricing-card {
    background: var(--rn-surface-white);
    border: 1px solid var(--rn-border);
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

/* Pricing Header */
.rn-pricing-header {
    background: linear-gradient(135deg, var(--rn-dark-bg) 0%, var(--rn-dark-surface) 100%);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--rn-dark-border);
}

.rn-p-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rn-p-brand-frame {
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
}

.rn-p-logo-img {
    max-height: 22px;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

.rn-p-sep {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.15);
}

.rn-p-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rn-p-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
}

.rn-p-sub {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}

.rn-view-catalog-btn {
    background: var(--rn-primary);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.rn-view-catalog-btn:hover {
    background: var(--rn-primary-hover);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* 8-Card Pricing Grid */
.rn-pricing-grid {
    padding: 22px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--rn-surface-subtle);
}

.rn-tld-card {
    background: var(--rn-surface-white);
    border: 1px solid var(--rn-border);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.rn-tld-card:hover {
    border-color: var(--rn-primary);
    box-shadow: 0 8px 20px -3px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
}

.rn-tld-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.rn-tld-name {
    font-size: 22px;
    font-weight: 900;
    color: var(--rn-text-head);
    letter-spacing: -0.02em;
}

.rn-tld-badge-popular {
    font-size: 10px;
    font-weight: 800;
    background: var(--rn-primary-light);
    color: var(--rn-primary-hover);
    border: 1px solid var(--rn-primary-border);
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
}

.rn-tld-price-row {
    margin-bottom: 6px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.rn-tld-price-val {
    font-size: 20px;
    font-weight: 900;
    color: var(--rn-text-head);
    line-height: 1.1;
}

.rn-tld-price-term {
    font-size: 11px;
    font-weight: 600;
    color: var(--rn-text-muted);
}

.rn-tld-renewal-line {
    font-size: 11px;
    color: var(--rn-text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.rn-dot-sep { color: #cbd5e1; }
.rn-tld-renewal-line strong { color: var(--rn-text-head); }

.rn-tld-perks {
    font-size: 11px;
    font-weight: 600;
    color: var(--rn-text-body);
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}
.rn-perk-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.rn-perk-item i { font-size: 10px; color: var(--rn-primary); }

.rn-tld-action-btn {
    background: var(--rn-dark-surface);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}
.rn-tld-action-btn:hover {
    background: var(--rn-primary);
    color: #ffffff !important;
}

/* Pricing Footer */
.rn-pricing-footer {
    padding: 14px 24px;
    background: var(--rn-surface-white);
    border-top: 1px solid var(--rn-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.rn-trust-points {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--rn-text-body);
    flex-wrap: wrap;
}
.rn-trust-point {
    display: flex;
    align-items: center;
    gap: 6px;
}
.rn-trust-point i { color: var(--rn-primary); }

.rn-all-rates-link {
    color: var(--rn-primary-hover);
    font-weight: 700;
    font-size: 12px;
    text-decoration: none !important;
}
.rn-all-rates-link:hover { text-decoration: underline !important; }

/* =========================================================================
 * 3. RESELLER PORTAL INTERNAL MODULE (index.php?m=DomainsReseller)
 * ========================================================================= */
.lu-widget__nav,
.lu-nav--tabs {
    background: #f8fafc !important;
    padding: 6px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    display: inline-flex !important;
    gap: 6px !important;
    margin-bottom: 20px !important;
}

.lu-nav__item,
.lu-nav--tabs .lu-nav__item {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
}

.lu-nav__link,
.lu-nav--tabs .lu-nav__link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 18px !important;
    border-radius: 8px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #475569 !important;
    text-decoration: none !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}

.lu-nav__item.is-active .lu-nav__link,
.lu-nav__link.is-active,
.lu-nav__item.active .lu-nav__link {
    background: var(--rn-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35) !important;
}
.lu-nav__item.is-active .lu-nav__link span,
.lu-nav__link.is-active span {
    color: #ffffff !important;
}

/* =========================================================================
 * 4. RESPONSIVE DESIGN (TABLET & MOBILE)
 * ========================================================================= */
@media (max-width: 1024px) {
    .rn-metrics-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .rn-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rn-command-header,
    .rn-pricing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .rn-header-right {
        width: 100%;
        justify-content: space-between;
    }
    .rn-metrics-row {
        grid-template-columns: 1fr;
    }
    .rn-pricing-grid {
        grid-template-columns: 1fr;
    }
    .rn-command-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .rn-footer-shortcuts {
        width: 100%;
    }
    .rn-shortcut-btn {
        flex: 1;
        justify-content: center;
    }
}

/* =========================================================================
 * 5. SUB-RESELLER MANAGEMENT SUITE (DomainNameAPI-Grade Executive Suite)
 * ========================================================================= */

/* Top Executive Sub-Navigation Pill Bar */
.rn-portal-subnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
    border: 1px solid #1e293b;
}

.rn-subnav-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    background: transparent;
}

.rn-subnav-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.rn-subnav-item.active {
    background: var(--rn-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.rn-subnav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Alert Notification Banner */
.rn-portal-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 22px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
}

.rn-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rn-alert-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.rn-alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.rn-alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.rn-alert-close {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}
.rn-alert-close:hover { opacity: 1; }

/* Main Suite Container & Header */
.rn-suite-container {
    background: #ffffff;
    border: 1px solid var(--rn-border);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    margin-bottom: 30px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.rn-suite-header {
    background: #0f172a;
    padding: 20px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
}

.rn-suite-title-group h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rn-suite-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.rn-suite-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Button Variants */
.rn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    border: 1px solid transparent;
}

.rn-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.rn-btn-primary {
    background: var(--rn-primary);
    color: #ffffff !important;
}
.rn-btn-primary:hover {
    background: var(--rn-primary-hover);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.rn-btn-secondary {
    background: #f1f5f9;
    color: #334155 !important;
    border-color: #e2e8f0;
}
.rn-btn-secondary:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}

.rn-btn-outline {
    background: transparent;
    color: #cbd5e1 !important;
    border-color: #334155;
}
.rn-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border-color: #64748b;
}

.rn-btn-danger {
    background: #ef4444;
    color: #ffffff !important;
}
.rn-btn-danger:hover {
    background: #dc2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

/* 4-Card Sub-Reseller Metric Summary */
.rn-sub-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 22px 26px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.rn-sub-metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rn-sub-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.rn-sm-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rn-sm-val {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 6px;
}

.rn-sm-val.rn-emerald { color: #10b981; }
.rn-sm-val.rn-blue { color: #3b82f6; }
.rn-sm-val.rn-indigo { color: #6366f1; }

.rn-sm-meta {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Toolbar & Filters */
.rn-table-toolbar {
    padding: 16px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.rn-search-box {
    position: relative;
    flex: 1;
    max-width: 360px;
}

.rn-search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
}

.rn-search-input {
    width: 100%;
    padding: 9px 14px 9px 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}
.rn-search-input:focus {
    border-color: var(--rn-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Sub-Reseller Table */
.rn-table-responsive {
    overflow-x: auto;
    width: 100%;
}

.rn-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
}

.rn-data-table thead th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.rn-data-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: middle;
}

.rn-data-table tbody tr:hover td {
    background: #f8fafc;
}

/* Avatar & User Details */
.rn-user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rn-avatar-initials {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.rn-user-name {
    font-weight: 700;
    color: #0f172a;
    display: block;
}

.rn-user-company {
    font-size: 11px;
    color: #64748b;
    display: block;
}

/* Masked API Key & Copy Button */
.rn-key-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px 8px;
    font-family: monospace;
    font-size: 12px;
    color: #475569;
}

.rn-copy-icon {
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s ease;
}
.rn-copy-icon:hover { color: var(--rn-primary); }

/* Status Badges */
.rn-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
}

.rn-status-active {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.rn-status-suspended {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Action Dropdown / Button Group */
.rn-action-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Form Layout (Create Sub-Reseller) */
.rn-form-body {
    padding: 30px;
}

.rn-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.rn-form-card-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.rn-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.rn-field-group {
    margin-bottom: 18px;
}

.rn-field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.rn-field-label span.req { color: #ef4444; }

.rn-input-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
    background: #ffffff;
}

.rn-input-control:focus {
    border-color: var(--rn-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.rn-input-hint {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
    display: block;
}

.rn-pass-group {
    display: flex;
    gap: 8px;
}

.rn-pass-group input {
    flex: 1;
}

.rn-form-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Pricing Matrix View */
.rn-markup-toolbar {
    padding: 18px 26px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rn-markup-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rn-markup-chips {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rn-markup-chip-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rn-markup-chip-btn:hover {
    border-color: var(--rn-primary);
    color: var(--rn-primary);
    background: #f0fdf4;
}

.rn-price-cell-input {
    width: 110px;
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
    transition: all 0.2s ease;
}

.rn-price-cell-input:focus {
    border-color: var(--rn-primary);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.rn-margin-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.rn-margin-profit {
    background: #ecfdf5;
    color: #065f46;
}

.rn-margin-zero {
    background: #f1f5f9;
    color: #64748b;
}

.rn-margin-loss {
    background: #fef2f2;
    color: #991b1b;
}

/* Domain Push / Transfer Wizard */
.rn-push-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    padding: 26px;
}

.rn-push-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.rn-push-card-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.rn-push-card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.rn-push-info-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.rn-push-info-box ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
    font-size: 12px;
    color: #166534;
}

.rn-push-info-box li { margin-bottom: 4px; }

/* Modal Component */
.rn-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.rn-modal-overlay.is-active {
    display: flex;
}

.rn-modal-card {
    background: #ffffff;
    border-radius: 14px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: rnModalFadeIn 0.2s ease-out;
}

@keyframes rnModalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.rn-modal-header {
    background: #0f172a;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rn-modal-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.rn-modal-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
}
.rn-modal-close-btn:hover { color: #ffffff; }

.rn-modal-body {
    padding: 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.rn-modal-footer {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Standalone Suite Wrapper Mounted Outside Layers */
.rn-suite-wrapper {
    width: 100% !important;
    max-width: 1320px;
    margin: 15px auto 40px auto !important;
    display: block !important;
    clear: both !important;
    box-sizing: border-box !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.rn-suite-wrapper * {
    box-sizing: border-box;
}

.rn-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(5px) !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999999 !important;
}

.rn-modal-overlay.is-active {
    display: flex !important;
}

/* =========================================================================
 * DOMAIN NAME API PARITY DESIGN SYSTEM (HostNeko / ResellNode Executive Suite)
 * Complete visual & functional fidelity with domainnameapi.com reseller control panel
 * ========================================================================= */

.dna-portal-root {
    width: 100% !important;
    max-width: 100% !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #334155 !important;
    background: #f4f7f9 !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin: 15px 0 40px 0 !important;
    box-sizing: border-box !important;
    border: 1px solid #e2e8f0;
}

.dna-portal-root *,
.dna-portal-root *::before,
.dna-portal-root *::after {
    box-sizing: border-box !important;
}

/* --- Top Header Bar --- */
.dna-top-header {
    background: #ffffff;
    height: 64px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 100;
}

.dna-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dna-brand-box {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.dna-brand-logo-img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

.dna-brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.dna-brand-text .dna-brand-accent {
    color: #00b074;
}

.dna-sidebar-toggle-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.dna-sidebar-toggle-btn:hover {
    background: #f1f5f9;
    color: #00b074;
}

/* Header Search */
.dna-header-center {
    flex: 1;
    max-width: 520px;
    margin: 0 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.dna-search-form {
    display: flex;
    width: 100%;
    align-items: center;
}

.dna-search-input {
    flex: 1;
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
    border: 1px solid #cbd5e1;
    border-right: none;
    border-radius: 6px 0 0 6px;
    outline: none;
    color: #1e293b;
    background: #ffffff;
    transition: border-color 0.15s;
}

.dna-search-input:focus {
    border-color: #00b074;
}

.dna-search-btn {
    height: 38px;
    padding: 0 16px;
    background: #00b074;
    border: 1px solid #00b074;
    border-radius: 0 6px 6px 0;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.15s;
}

.dna-search-btn:hover {
    background: #009663;
}

.dna-bulk-query-link {
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.15s;
}

.dna-bulk-query-link:hover {
    background: #f1f5f9;
    color: #00b074;
}

/* Header Right Utilities */
.dna-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dna-header-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    transition: all 0.15s;
}

.dna-header-icon-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #00b074;
}

.dna-notification-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00b074;
    border: 2px solid #ffffff;
}

.dna-header-balance-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    transition: all 0.15s;
}

.dna-header-balance-chip:hover {
    border-color: #00b074;
    background: #ecfdf5;
}

.dna-header-balance-chip .dna-chip-icon {
    color: #00b074;
    font-size: 14px;
}

.dna-header-flag {
    width: 22px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
    display: block;
}

.dna-header-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s;
}

.dna-header-user-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* --- Master Body Layout --- */
.dna-body-layout {
    display: flex;
    min-height: 720px;
    background: #f4f7f9;
}

/* Sidebar */
.dna-sidebar {
    width: 240px;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    flex-shrink: 0;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dna-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dna-nav-item-wrap {
    margin-bottom: 2px;
}

.dna-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.dna-nav-link:hover {
    background: #f8fafc;
    color: #00b074;
    text-decoration: none;
}

.dna-nav-link.active {
    background: #e8f8f2;
    color: #00b074;
    border-left: 3px solid #00b074;
    font-weight: 700;
}

.dna-nav-link-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dna-nav-link i {
    font-size: 15px;
    width: 18px;
    text-align: center;
    color: #64748b;
    transition: color 0.15s;
}

.dna-nav-link:hover i,
.dna-nav-link.active i {
    color: #00b074;
}

.dna-nav-sub-list {
    list-style: none;
    padding: 4px 0 4px 0;
    margin: 0;
    background: #fafbfc;
    border-left: 2px solid #e2e8f0;
    margin-left: 28px;
}

.dna-nav-sub-link {
    display: block;
    padding: 7px 18px;
    font-size: 12.5px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.15s;
    font-weight: 500;
}

.dna-nav-sub-link:hover {
    color: #00b074;
    text-decoration: none;
}

.dna-nav-sub-link.active {
    color: #00b074;
    font-weight: 700;
}

.dna-badge-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    line-height: 1.2;
    text-transform: lowercase;
}

.dna-badge-pill.new {
    background: #e8f8f2;
    color: #00b074;
}

.dna-nav-arrow {
    font-size: 11px;
    color: #94a3b8;
    transition: transform 0.2s;
}

.dna-nav-item-wrap.open .dna-nav-arrow {
    transform: rotate(90deg);
}

/* Content Area */
.dna-main-content {
    flex: 1;
    min-width: 0;
    padding: 24px 30px 40px 30px;
}

/* Page Header & Breadcrumbs */
.dna-page-header {
    margin-bottom: 22px;
}

.dna-view-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dna-view-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 0 0;
}

/* Alert Boxes (Exact Domain Name API Styling) */
.dna-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.dna-alert-info {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.dna-alert-info i {
    font-size: 18px;
    color: #2563eb;
    margin-top: 1px;
    flex-shrink: 0;
}

.dna-alert-warning {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.dna-alert-warning i {
    font-size: 18px;
    color: #d97706;
    margin-top: 1px;
    flex-shrink: 0;
}

.dna-alert-success {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
    color: #065f46;
}

.dna-alert-success i {
    font-size: 18px;
    color: #059669;
    margin-top: 1px;
    flex-shrink: 0;
}

/* Cards */
.dna-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
    overflow: hidden;
}

.dna-card-header {
    padding: 16px 24px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dna-card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dna-card-body {
    padding: 24px;
}

/* Reseller Profile Banner (Screenshots 5 & 6) */
.dna-profile-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.dna-profile-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dna-profile-logo-wrap {
    width: 64px;
    height: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    overflow: hidden;
}

.dna-profile-logo-wrap img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.dna-profile-meta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dna-badge-reseller {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.dna-profile-email {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}

.dna-profile-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dna-stat-chip {
    font-size: 12px;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
}

.dna-stat-chip strong {
    color: #0f172a;
    margin-left: 4px;
}

.dna-profile-upgrade-link {
    font-size: 13px;
    font-weight: 600;
    color: #00b074;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.dna-profile-upgrade-link:hover {
    color: #008759;
    text-decoration: underline;
}

/* Horizontal Tabs Bar (Screenshots 5 & 6) */
.dna-tabs-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
}

.dna-tab-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.15s;
}

.dna-tab-item:hover {
    color: #0f172a;
    text-decoration: none;
}

.dna-tab-item.active {
    color: #00b074;
    border-bottom-color: #00b074;
    font-weight: 700;
}

/* Forms & Inputs (Screenshot 1 & Screenshot 5) */
.dna-form-section-header {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 24px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dna-form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 20px;
    margin-bottom: 16px;
}

.dna-form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    margin-bottom: 16px;
}

.dna-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dna-form-group.full-width {
    grid-column: 1 / -1;
}

.dna-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dna-label .req {
    color: #ef4444;
}

.dna-input,
.dna-select,
.dna-textarea {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    transition: all 0.15s ease;
    font-family: inherit;
}

.dna-textarea {
    height: auto;
    padding: 10px 12px;
    resize: vertical;
}

.dna-input:focus,
.dna-select:focus,
.dna-textarea:focus {
    border-color: #00b074;
    box-shadow: 0 0 0 3px rgba(0, 176, 116, 0.12);
}

.dna-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.dna-input-eye-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    display: flex;
    align-items: center;
}

.dna-input-eye-btn:hover {
    color: #475569;
}

.dna-phone-group {
    display: flex;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.15s;
}

.dna-phone-group:focus-within {
    border-color: #00b074;
    box-shadow: 0 0 0 3px rgba(0, 176, 116, 0.12);
}

.dna-phone-prefix {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 0 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.dna-phone-group .dna-input {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Buttons */
.dna-btn-teal {
    background: #00b074;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s;
    text-decoration: none;
}

.dna-btn-teal:hover {
    background: #009663;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 176, 116, 0.25);
}

.dna-btn-dark {
    background: #0f172a;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s;
    text-decoration: none;
}

.dna-btn-dark:hover {
    background: #1e293b;
    color: #ffffff;
    text-decoration: none;
}

.dna-btn-outline {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
    text-decoration: none;
}

.dna-btn-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    text-decoration: none;
}

.dna-btn-cyan-pill {
    background: #06b6d4;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
    text-decoration: none;
}

.dna-btn-cyan-pill:hover {
    background: #0891b2;
    color: #ffffff;
    text-decoration: none;
}

/* Pricing Table (Screenshot 3) */
.dna-pricing-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dna-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: #00b074;
    padding: 8px 16px;
    border-bottom: 2px solid #00b074;
    text-decoration: none;
}

.dna-table-search-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.dna-table-responsive {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

.dna-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    text-align: center;
}

.dna-price-table th,
.dna-price-table td {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    vertical-align: middle;
}

/* Tier Header Colors */
.dna-th-general {
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
    text-transform: uppercase;
}

.dna-th-costs {
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    text-transform: uppercase;
}

.dna-th-bronze {
    background: #ffedd5;
    color: #c2410c;
    font-weight: 800;
    text-transform: uppercase;
}

.dna-th-silver {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 800;
    text-transform: uppercase;
}

.dna-th-gold {
    background: #fef3c7;
    color: #b45309;
    font-weight: 800;
    text-transform: uppercase;
}

.dna-th-actions {
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
    text-transform: uppercase;
}

.dna-sub-th {
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
}

.dna-sub-th:hover {
    background: #f8fafc;
}

.dna-sub-th i {
    font-size: 10px;
    margin-left: 4px;
    color: #cbd5e1;
}

.dna-price-table tbody tr:hover {
    background: #fafbfc;
}

.dna-domain-cell {
    font-weight: 700;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    text-align: left;
    padding-left: 16px;
}

.dna-btn-edit-pencil {
    background: #00b074;
    color: #ffffff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.15s;
}

.dna-btn-edit-pencil:hover {
    background: #009663;
}

/* Pagination (Screenshot 3) */
.dna-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 13px;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.dna-pagination-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dna-page-item {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s;
}

.dna-page-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    text-decoration: none;
}

.dna-page-item.active {
    background: #00b074;
    border-color: #00b074;
    color: #ffffff;
}

/* Domain Transfer Wizard (Screenshot 4) */
.dna-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.dna-step-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #00b074;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-step-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.dna-domain-counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    font-size: 12.5px;
    color: #64748b;
}

.dna-file-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

/* Contacts / Default Addresses Table (Screenshot 7) */
.dna-badge-default-addr {
    background: #00b074;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 6px;
    text-transform: lowercase;
}

/* Modals (Screenshot 2: Subreseller Price Wizard & Edit Modals) */
.dna-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.dna-modal-backdrop.is-active {
    display: flex !important;
}

.dna-modal-box {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 540px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: dnaModalPop 0.2s ease-out;
}

@keyframes dnaModalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.dna-modal-header {
    padding: 16px 22px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dna-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.dna-modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-modal-close:hover {
    color: #0f172a;
}

.dna-modal-body {
    padding: 20px 22px;
}

.dna-modal-footer {
    padding: 14px 22px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Footer (Domain Name API Parity) */
.dna-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #64748b;
}

.dna-footer-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dna-footer-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dna-footer-right a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}

.dna-footer-right a:hover {
    color: #00b074;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .dna-body-layout {
        flex-direction: column;
    }
    .dna-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .dna-form-grid-3 {
        grid-template-columns: 1fr;
    }
    .dna-form-grid-2 {
        grid-template-columns: 1fr;
    }
    .dna-header-center {
        display: none;
    }
}

/* =========================================================================
   Interactive Header Dropdowns & Components
   ========================================================================= */
.dna-user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 250px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
    z-index: 999999;
    display: none;
    animation: dnaDropdownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.dna-user-dropdown-menu.is-active {
    display: block !important;
}

@keyframes dnaDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dna-user-header-info {
    padding: 10px 16px 12px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.dna-user-header-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dna-user-header-email {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
    word-break: break-all;
}

.dna-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s;
}

.dna-dropdown-link i {
    font-size: 13px;
    width: 16px;
    text-align: center;
    color: #94a3b8;
    transition: color 0.15s;
}

.dna-dropdown-link:hover {
    background: #f8fafc;
    color: #00b074;
    text-decoration: none;
}

.dna-dropdown-link:hover i {
    color: #00b074;
}

.dna-dropdown-link.danger:hover {
    background: #fef2f2;
    color: #ef4444;
}

.dna-dropdown-link.danger:hover i {
    color: #ef4444;
}

.dna-dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 6px 0;
}

.dna-notif-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
    z-index: 999999;
    display: none;
    padding: 0;
    overflow: hidden;
}

.dna-notif-dropdown-menu.is-active {
    display: block !important;
}

.dna-notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
}

.dna-notif-item {
    display: flex;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    color: #475569;
    transition: background 0.15s;
}

.dna-notif-item:hover {
    background: #f8fafc;
}

.dna-notif-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #00b074;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.dna-stat-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.dna-badge-active {
    background: #ecfdf5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dna-badge-expired {
    background: #fef2f2;
    color: #dc2626;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dna-badge-pending {
    background: #fffbeb;
    color: #d97706;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}