/**
 * XTREME base custom styles
 */

/* Topbar Credits / Due / Gift — always visible */
.header-wallet-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    border: 1px solid transparent;
}

.header-wallet-badge.credits {
    background: #475569;
    color: #fff;
    border-color: #334155;
}

.header-wallet-badge.gift {
    background: #fbbf24;
    color: #1f2937;
    border-color: #f59e0b;
}

.header-wallet-badge.due {
    background: #dc2626;
    color: #fff;
    border-color: #b91c1c;
}

.header-wallet-mobile .header-wallet-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.55rem;
}

.navbar-top.navbar-light {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    min-height: 3.25rem;
}

/* ===== Premium Volt Sidebar ===== */
#sidebarMenu.sidebar {
    background: linear-gradient(180deg, #111827 0%, #1f2937 48%, #111827 100%) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
}

#sidebarMenu .sidebar-inner {
    padding-top: 1.15rem;
    padding-bottom: 1.5rem;
}

.sidebar-brand-block {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sidebar-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
    flex-shrink: 0;
}

.sidebar-brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.2px;
    line-height: 1.1;
}

.sidebar-brand-role {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.2rem;
}

.sidebar-wallet-card {
    margin-top: 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-wallet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
}

.sidebar-wallet-row + .sidebar-wallet-row {
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.sidebar-wallet-row strong {
    font-weight: 800;
    color: #fff;
}

.sidebar-wallet-row.due strong {
    color: #fca5a5;
}

.sidebar-wallet-label {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 600;
}

.sidebar-section-label {
    list-style: none;
    padding: 0.65rem 0.85rem 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

#sidebarMenu .nav-link {
    display: flex;
    align-items: center;
    border-radius: 11px;
    padding: 0.62rem 0.85rem;
    margin: 0.12rem 0;
    color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 500;
    font-size: 0.92rem;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

#sidebarMenu .nav-link:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff !important;
    transform: translateX(2px);
}

#sidebarMenu .nav-item.active .nav-link {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.28), rgba(59, 130, 246, 0.08));
    color: #fff !important;
    font-weight: 700;
    box-shadow: inset 3px 0 0 #3b82f6;
}

#sidebarMenu .sidebar-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 0.7rem;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    transition: background 0.18s ease, transform 0.18s ease;
}

#sidebarMenu .nav-item.active .sidebar-icon {
    background: rgba(59, 130, 246, 0.22);
    transform: scale(1.03);
}

.sidebar-icon.icon-dash i { color: #60a5fa; }
.sidebar-icon.icon-trophy i { color: #fbbf24; }
.sidebar-icon.icon-users i { color: #a78bfa; }
.sidebar-icon.icon-wallet i { color: #34d399; }
.sidebar-icon.icon-due i { color: #22d3ee; }
.sidebar-icon.icon-keys i { color: #f472b6; }
.sidebar-icon.icon-news i { color: #fb923c; }
.sidebar-icon.icon-soft i { color: #818cf8; }
.sidebar-icon.icon-profile i { color: #94a3b8; }
.sidebar-icon.icon-logout i { color: #f87171; }

.sidebar-logout-link:hover {
    background: rgba(239, 68, 68, 0.12) !important;
}

.stat-card {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.badge.badge-role-super-master {
    background-color: rgba(139, 92, 246, 0.12) !important;
    color: #8b5cf6 !important;
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
}

/* Role badges — visible text (not Volt white-on-light) */
.role-badge {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid transparent;
    white-space: nowrap;
}

.role-badge.role-all,
.role-badge.role-controller {
    color: #475569;
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.role-badge.role-developer {
    color: #7c3aed;
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.role-badge.role-super_master {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.25);
}

.role-badge.role-admin {
    color: #2563eb;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.role-badge.role-super {
    color: #0891b2;
    background: #ecfeff;
    border-color: #a5f3fc;
}

.role-badge.role-seller {
    color: #059669;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.role-badge.role-unknown {
    color: #64748b;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.navbar-nav .role-badge {
    font-size: 0.68rem;
    padding: 0.22rem 0.5rem;
}

/* Key payment/status badges — Paid, Active, Inactive (Volt .badge white fix) */
.key-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid transparent;
    line-height: 1.2;
    white-space: nowrap;
}

.key-badge.key-payment-paid,
.key-badge.key-status-active {
    color: #15803d !important;
    background: #dcfce7 !important;
    border-color: #86efac !important;
}

.key-badge.key-payment-unpaid,
.key-badge.key-status-inactive {
    color: #b91c1c !important;
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
}

.key-badge.key-status-expired {
    color: #475569 !important;
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

.sidebar-brand-role {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* Volt sets .badge { color: #fff } — fix soft/table badges so numbers show */
.badge.bg-opacity-10.text-info,
.badge.bg-info.bg-opacity-10 {
    color: #0284c7 !important;
}

.badge.bg-opacity-10.text-danger,
.badge.bg-danger.bg-opacity-10 {
    color: #dc2626 !important;
}

.badge.bg-opacity-10.text-success,
.badge.bg-success.bg-opacity-10 {
    color: #16a34a !important;
}

.badge.bg-opacity-10.text-primary,
.badge.bg-primary.bg-opacity-10 {
    color: #2563eb !important;
}

.badge.bg-opacity-10.text-warning,
.badge.bg-warning.bg-opacity-10 {
    color: #d97706 !important;
}

.badge.bg-opacity-10.text-secondary,
.badge.bg-secondary.bg-opacity-10 {
    color: #475569 !important;
}

/* Hierarchy path — Main Controller > Super > Seller (no Volt white badge) */
.hierarchy-path-pill,
.badge.badge-hierarchy-path {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.4;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e3b82 !important;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    letter-spacing: 0.01em;
}

.hierarchy-path-pill .path-sep,
.badge.badge-hierarchy-path .path-sep {
    color: #64748b !important;
    font-weight: 800;
    padding: 0 0.2rem;
}

/* Table text visibility — Volt / gray utilities fix */
.content .table tbody td {
    color: #334155;
}

.content .table thead th {
    color: #475569 !important;
    font-weight: 700;
}

.content .table .text-muted {
    color: #64748b !important;
}

.content .table .text-dark,
.content .table .fw-semibold.text-dark,
.content .table .font-monospace.text-dark,
.content .table tbody td strong {
    color: #1e293b !important;
}

.content .table .text-danger,
.content .table .fw-bold.text-danger {
    color: #dc2626 !important;
}

.content .table .text-warning,
.content .table .fw-semibold.text-warning {
    color: #d97706 !important;
}

.content .text-gray-400 {
    color: #64748b !important;
}

.content .text-gray-500 {
    color: #475569 !important;
}

.content .text-gray-600 {
    color: #475569 !important;
}

.content .text-gray-700 {
    color: #334155 !important;
}

.content .text-gray-900 {
    color: #1e293b !important;
}

/* Soft badges in tables — force readable text */
.content .badge.bg-opacity-10 {
    font-weight: 700 !important;
}

.content .badge.bg-success.bg-opacity-10,
.content .badge.bg-danger.bg-opacity-10,
.content .badge.bg-primary.bg-opacity-10,
.content .badge.bg-info.bg-opacity-10,
.content .badge.bg-secondary.bg-opacity-10 {
    border-width: 1px !important;
}

/* Solid badges — keep white text */
.content .badge.bg-success:not(.bg-opacity-10),
.content .badge.bg-danger:not(.bg-opacity-10),
.content .badge.bg-primary:not(.bg-opacity-10):not(.bg-opacity-25) {
    color: #fff !important;
}

/* ===== Login Page ===== */
.login-page {
    min-height: 100vh;
    background: radial-gradient(ellipse at 20% 20%, #1e3a5f 0%, transparent 50%),
                radial-gradient(ellipse at 80% 80%, #312e81 0%, transparent 45%),
                linear-gradient(145deg, #0b1120 0%, #111827 45%, #0f172a 100%);
}

.login-shell {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.login-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}

.login-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    animation: loginGlowPulse 8s ease-in-out infinite;
}

.login-bg-glow-1 {
    width: 480px;
    height: 480px;
    background: rgba(59, 130, 246, 0.25);
    top: -140px;
    left: -100px;
}

.login-bg-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.2);
    bottom: -120px;
    right: -80px;
    animation-delay: -3s;
}

.login-bg-glow-3 {
    width: 280px;
    height: 280px;
    background: rgba(16, 185, 129, 0.12);
    top: 40%;
    left: 35%;
    animation-delay: -5s;
}

@keyframes loginGlowPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes loginSlideLeft {
    from { opacity: 0; transform: translateX(-28px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes loginSlideRight {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-animate-left {
    animation: loginSlideLeft 0.7s ease-out both;
}

.login-animate-right {
    animation: loginSlideRight 0.7s ease-out 0.12s both;
}

.login-hero {
    color: #fff;
    padding: 1rem 0.5rem;
}

.login-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: #6ee7b7;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 1.25rem;
}

.login-hero-brand {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 1.35rem;
}

.login-hero-mark,
.login-card-mark {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    flex-shrink: 0;
}

.login-card-mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #f8fafc;
    border-color: #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.login-logo-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.login-logo-img-sm {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.login-hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 30%, #93c5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-hero-tagline {
    margin: 0.3rem 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.login-hero-desc {
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    max-width: 420px;
}

.login-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
}

.login-stat-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.login-stat-chip strong {
    display: block;
    font-size: 0.82rem;
    color: #fff;
    line-height: 1.1;
}

.login-stat-chip small {
    display: block;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

.login-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    font-size: 0.8rem;
}

.login-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.login-feature-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.login-feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(96, 165, 250, 0.35);
    transform: translateY(-2px);
}

.login-feature-card i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    font-size: 0.78rem;
}

.login-card {
    position: relative;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem 1.75rem 1.75rem;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.login-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #6366f1, #8b5cf6);
}

@media (min-width: 992px) {
    .login-card {
        padding: 2.35rem 2.1rem 2rem;
    }
}

.login-card-badge {
    display: inline-block;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    color: #4338ca;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.login-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.35rem;
    letter-spacing: -0.03em;
}

.login-card-sub {
    color: #64748b;
    font-size: 0.92rem;
    margin-bottom: 0;
}

.login-label {
    font-weight: 700;
    font-size: 0.82rem;
    color: #334155;
    margin-bottom: 0.45rem;
    letter-spacing: 0.01em;
}

.login-input-wrap {
    position: relative;
}

.login-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.88rem;
    z-index: 2;
    pointer-events: none;
    transition: color 0.18s ease;
}

.login-input-wrap:focus-within .login-input-icon {
    color: #3b82f6;
}

.login-input {
    padding: 0.78rem 0.9rem 0.78rem 2.75rem;
    border-radius: 13px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.95rem;
    background: #f8fafc;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.login-input-password {
    padding-right: 2.75rem;
}

.login-input:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.login-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #94a3b8;
    padding: 0.25rem 0.35rem;
    cursor: pointer;
    z-index: 2;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}

.login-password-toggle:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
}

.login-btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #6366f1 100%);
    background-size: 200% auto;
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.82rem 1rem;
    border-radius: 13px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-position 0.3s ease;
}

.login-btn-primary:hover:not(:disabled) {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
    background-position: right center;
}

.login-btn-primary:disabled {
    opacity: 0.85;
    cursor: wait;
}

.login-btn-outline {
    border: 1.5px solid #e2e8f0;
    color: #334155;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 13px;
    background: #fff;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.login-btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
    transform: translateY(-1px);
}

.login-btn-demo {
    background: linear-gradient(135deg, #047857, #10b981);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.78rem 1rem;
    border-radius: 13px;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.32);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.login-btn-demo:hover {
    background: linear-gradient(135deg, #065f46, #059669);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.38);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.4rem 0;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.login-alert {
    border-radius: 13px;
}

.login-foot {
    font-size: 0.76rem;
    color: #94a3b8;
    padding-top: 0.25rem;
}

@media (max-width: 991px) {
    .login-card {
        border-radius: 20px;
    }

    .login-hero-title {
        font-size: 1.85rem;
    }
}

/* Panel Rate Chart — Volt card/text overrides for visibility */
.panel-rates-wrap {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    background: #fff !important;
}

.panel-rates-wrap .panel-rates-head {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #312e81 100%);
    color: #fff !important;
    padding: 1.25rem 1.5rem;
}

.panel-rates-wrap .panel-rates-head h5,
.panel-rates-wrap .panel-rates-head p {
    color: #fff !important;
}

.panel-rates-wrap .panel-rates-head h5 {
    margin: 0;
    font-weight: 800;
}

.panel-rates-wrap .panel-rates-head p {
    margin: 0.35rem 0 0;
    opacity: 0.92;
    font-size: 0.88rem;
}

.panel-rates-wrap .panel-rates-body {
    background: #fff !important;
    color: #1e293b !important;
    padding: 1.25rem 1.25rem 1rem;
}

.panel-rates-wrap .panel-rate-item .role-name {
    color: #1e293b !important;
    font-weight: 800;
}

.panel-rates-wrap .panel-rate-item .rate-amt {
    font-weight: 800;
}

.panel-rates-wrap .panel-rate-item .rate-sub {
    color: #475569 !important;
    font-weight: 600;
}

.panel-rates-wrap .panel-rate-item .deadline-pill {
    color: #334155 !important;
    background: rgba(15, 23, 42, 0.08) !important;
    font-weight: 700;
}

.panel-rates-wrap .panel-rates-foot {
    color: #334155 !important;
    font-weight: 600;
}

.panel-rates-wrap .panel-rates-foot span {
    color: #334155 !important;
}

.panel-rates-wrap .panel-rates-foot i {
    color: #2563eb !important;
}

.panel-rates-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem;
}

@media (max-width: 1199px) {
    .panel-rates-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .panel-rates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.panel-rates-wrap .panel-rate-item {
    border-radius: 14px;
    padding: 1rem 0.9rem 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    position: relative;
    min-height: 100%;
}

.panel-rates-wrap .panel-rate-item.is-you {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

.panel-rates-wrap .panel-rate-item .role-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.panel-rates-wrap .panel-rate-item .rate-amt {
    font-size: 1.35rem;
    line-height: 1.1;
    margin-bottom: 0.15rem;
}

.panel-rates-wrap .panel-rate-item .role-name {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 0.35rem;
}

.panel-rates-wrap .panel-rate-item .rate-sub {
    font-size: 0.72rem;
}

.panel-rates-wrap .panel-rate-item .deadline-pill {
    display: inline-block;
    margin-top: 0.55rem;
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.panel-rates-wrap .you-badge {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    font-size: 0.62rem;
    font-weight: 800;
    background: #f59e0b;
    color: #111 !important;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
}

.panel-rates-wrap .panel-rates-foot {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.78rem;
}
