/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Fonts */
    --font-family: 'Inter', sans-serif;

    /* Transition Speeds */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
}

/* Dark Theme Variables (Default) */
.dark {
    --bg-base: #060a13;
    --bg-glass: rgba(13, 20, 35, 0.6);
    --bg-glass-hover: rgba(22, 32, 56, 0.7);
    --bg-glass-active: rgba(30, 43, 75, 0.8);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-focus: rgba(59, 130, 246, 0.45);
    
    /* Typography Colors */
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Branding Colors */
    --primary: #3b82f6; /* Electric Blue */
    --primary-glow: rgba(59, 130, 246, 0.3);
    --primary-hover: #2563eb;
    
    --success: #10b981; /* Emerald Green */
    --success-glow: rgba(16, 185, 129, 0.2);
    
    --danger: #ef4444; /* Crimson Red */
    --danger-glow: rgba(239, 68, 68, 0.2);

    --warning: #f59e0b; /* Amber Gold for Fees */
    --warning-glow: rgba(245, 158, 11, 0.2);
    
    --shadow-base: rgba(0, 0, 0, 0.5);
    --shadow-glow: rgba(59, 130, 246, 0.05);

    /* Ambient Glow Blobs */
    --glow-color-1: rgba(59, 130, 246, 0.16); 
    --glow-color-2: rgba(16, 185, 129, 0.09); 
    --glow-color-3: rgba(139, 92, 246, 0.12); 
}

/* Light Theme Variables */
.light {
    --bg-base: #f3f4f6;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-hover: rgba(255, 255, 255, 0.85);
    --bg-glass-active: rgba(255, 255, 255, 0.95);
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-glass-focus: rgba(37, 99, 235, 0.4);
    
    /* Typography Colors */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    
    /* Branding Colors */
    --primary: #2563eb; 
    --primary-glow: rgba(37, 99, 235, 0.15);
    --primary-hover: #1d4ed8;
    
    --success: #059669; 
    --success-glow: rgba(5, 150, 105, 0.1);
    
    --danger: #dc2626; 
    --danger-glow: rgba(220, 38, 38, 0.1);

    --warning: #d97706; 
    --warning-glow: rgba(217, 119, 6, 0.1);
    
    --shadow-base: rgba(31, 41, 55, 0.08);
    --shadow-glow: rgba(37, 99, 235, 0.02);

    /* Ambient Glow Blobs */
    --glow-color-1: rgba(37, 99, 235, 0.08);
    --glow-color-2: rgba(5, 150, 105, 0.05);
    --glow-color-3: rgba(124, 58, 237, 0.06);
}

/* ==========================================================================
   RESET & BASE LTR STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* Ambient glow blobs */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    transition: background var(--transition-slow);
}
.glow-1 {
    width: 50vw;
    height: 50vw;
    top: -10vw;
    left: -10vw;
    background: var(--glow-color-1);
}
.glow-2 {
    width: 40vw;
    height: 40vw;
    bottom: -10vw;
    right: -10vw;
    background: var(--glow-color-2);
}
.glow-3 {
    width: 30vw;
    height: 30vw;
    top: 30%;
    left: 45%;
    background: var(--glow-color-3);
}

/* ==========================================================================
   GLASSMORPHISM
   ========================================================================== */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px 0 var(--shadow-base);
    transition: background var(--transition-normal), border var(--transition-normal), box-shadow var(--transition-normal);
}

/* ==========================================================================
   SECURE LOGIN OVERLAY
   ========================================================================== */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 6, 12, 0.7);
    backdrop-filter: blur(30px) saturate(160%);
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.login-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.login-card {
    width: 90%;
    max-width: 400px;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-glass);
    text-align: center;
    animation: slideIn var(--transition-normal) forwards;
}

.login-header {
    margin-bottom: 2rem;
}

.lock-icon-container {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--primary-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    box-shadow: 0 0 20px var(--primary-glow);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.login-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.login-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.login-error-msg {
    color: var(--danger);
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.75rem;
    text-align: left;
}

.login-hint {
    margin-top: 1.75rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-glass);
    padding-top: 1rem;
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* HEADER */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    border-radius: var(--radius-lg);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-glow);
    color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.header-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.header-logo p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.glass-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}
.glass-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--text-secondary);
}
.glass-btn:active {
    background: var(--bg-glass-active);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
}
.btn-secondary:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
}
.btn-danger:hover {
    background: var(--danger);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--danger-glow);
}

/* Theme Toggle icons */
.icon-sun, .icon-moon {
    display: none;
}
.dark .icon-sun {
    display: block;
}
.light .icon-moon {
    display: block;
}

/* ==========================================================================
   STATISTICS DASHBOARD
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.stat-card {
    position: relative;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 110px;
    transition: all var(--transition-normal);
}

/* Card Glow Effect Hover */
.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255, 255, 255, 0.04), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}
.stat-card:hover::after {
    opacity: 1;
}

.stat-icon {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    z-index: 2;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    z-index: 2;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    max-width: calc(100% - 42px); /* Don't overlap with absolute icon */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-val {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.2;
    margin-top: 0.15rem;
    word-break: break-all;
}

/* Purchase Card */
.purchase-card .stat-icon {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
}

/* Fees Card */
.fees-card .stat-icon {
    background: var(--warning-glow);
    color: var(--warning);
}

/* Sales Card */
.sales-card .stat-icon {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

/* Profit Card */
.profit-card .stat-icon {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    transition: transform var(--transition-normal);
}
.profit-card.loss .stat-icon {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    transform: rotate(180deg);
}
.profit-card.loss .stat-val {
    color: var(--danger);
}

/* ROI Card */
.roi-card .stat-icon {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
}
.roi-card.profit .stat-icon {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}
.roi-card.profit .stat-val {
    color: var(--success);
}
.roi-card.loss .stat-icon {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}
.roi-card.loss .stat-val {
    color: var(--danger);
}

/* ==========================================================================
   MAIN LAYOUT & WORKSPACE
   ========================================================================== */
.view-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

.section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-pill);
}

/* FORM STYLING */
.form-section {
    padding: 1.5rem;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

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

.input-icon {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 2;
}

.input-wrapper input {
    width: 100%;
    height: 44px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    padding-left: 40px;
    padding-right: 12px;
    transition: all var(--transition-fast);
}

/* Password Toggle Button */
.input-wrapper input#login-password {
    padding-right: 40px;
}

.btn-toggle-password {
    position: absolute;
    right: 0;
    width: 40px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
    z-index: 3;
    padding: 0;
}

.btn-toggle-password:hover {
    color: var(--text-primary);
}

.btn-toggle-password svg {
    pointer-events: none;
}


.light .input-wrapper input {
    background: rgba(255, 255, 255, 0.4);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--border-glass-focus);
    background: rgba(0, 0, 0, 0.3);
}
.light .input-wrapper input:focus {
    background: #ffffff;
}

.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
}

/* LIST & TABLE STYLING */
.list-section {
    padding: 1.5rem;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.list-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Search Box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 2;
}

.search-box input {
    height: 40px;
    width: 200px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    padding-left: 36px;
    padding-right: 12px;
    transition: all var(--transition-fast);
}
.light .search-box input {
    background: rgba(255, 255, 255, 0.4);
}
.search-box input:focus {
    width: 250px;
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--border-glass-focus);
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hidden-input {
    display: none !important;
}

.btn-file-label {
    cursor: pointer;
}

/* ==========================================================================
   DATA TABLE
   ========================================================================== */
.table-scroll-container {
    overflow-x: auto;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.10);
}
.light .table-scroll-container {
    background: rgba(255, 255, 255, 0.2);
}

.domains-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.domains-table th {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-glass);
    white-space: nowrap;
}
.light .domains-table th {
    background: rgba(0, 0, 0, 0.03);
}

.domains-table td {
    padding: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-glass);
    vertical-align: middle;
    transition: background var(--transition-fast);
}

.domains-table tbody tr {
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.domains-table tbody tr:hover {
    background: var(--bg-glass-hover);
}

.domains-table tbody tr:last-child td {
    border-bottom: none;
}

/* Columns styles */
.col-domain {
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
    min-width: 150px;
}
.col-purchase, .col-fees, .col-sold {
    font-family: inherit;
    font-weight: 500;
}

.cell-profit {
    font-weight: 600;
}
.cell-roi {
    font-weight: 700;
}

.profit-positive {
    color: var(--success) !important;
}
.profit-negative {
    color: var(--danger) !important;
}

/* Actions cell */
.col-actions {
    width: 100px;
    white-space: nowrap;
}

.btn-table-action {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}
.btn-table-action:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}
.light .btn-table-action:hover {
    background: rgba(0, 0, 0, 0.05);
}
.btn-table-action.delete:hover {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.2);
}

/* Inline Input for Editing */
.inline-edit-input {
    width: 90px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass-focus);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    padding: 4px 8px;
    outline: none;
    text-align: left;
}
.inline-edit-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 2rem;
    text-align: center;
}
.empty-icon {
    color: var(--text-muted);
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}
.empty-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.empty-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 320px;
}
.hidden {
    display: none !important;
}

/* ==========================================================================
   TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 25px var(--shadow-base);
    pointer-events: auto;
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast.success {
    border-left: 4px solid var(--success);
}
.toast.danger {
    border-left: 4px solid var(--danger);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Row entrance */
.row-entrance {
    animation: slideIn var(--transition-normal) forwards;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer-copyright {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid var(--border-glass);
    margin-top: 2rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Cards on mobile)
   ========================================================================== */
@media (max-width: 768px) {
    .app-container {
        padding: 1rem;
    }

    .main-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        text-align: center;
    }
    .header-logo {
        flex-direction: column;
    }
    .header-actions {
        justify-content: center;
    }

    .list-header {
        flex-direction: column;
        align-items: stretch;
    }
    .list-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box input {
        width: 100%;
    }
    .search-box input:focus {
        width: 100%;
    }
    .action-buttons {
        justify-content: space-between;
    }

    /* Convert Table to Card style list */
    .domains-table, .domains-table thead, .domains-table tbody, .domains-table th, .domains-table td, .domains-table tr {
        display: block;
    }
    .domains-table thead {
        display: none;
    }
    .domains-table tbody tr {
        border: 1px solid var(--border-glass);
        border-radius: var(--radius-md);
        margin-bottom: 1rem;
        background: rgba(0, 0, 0, 0.15);
        padding: 0.5rem;
    }
    .domains-table td {
        border-bottom: none;
        padding: 8px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
    }
    .domains-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--text-secondary);
        font-size: 0.8rem;
        text-align: left;
    }
    .domains-table td.col-actions {
        width: 100%;
        border-top: 1px solid var(--border-glass);
        margin-top: 0.5rem;
        justify-content: flex-end;
        gap: 8px;
    }
    .domains-table td.col-actions::before {
        display: none;
    }
}

/* ==========================================================================
   ADMIN PANEL LAYOUT
   ========================================================================== */
.admin-header-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    border-radius: var(--radius-lg);
}

.admin-banner-text h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.admin-banner-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .admin-header-banner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem 1rem;
    }
}

/* Badges for roles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-admin {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.badge-client {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}


