/* ==============================================================================
   CHECK-LIVE ADMIN DASHBOARD - MODERN DARK GLASSMORPHISM STYLESHEET
   Vanilla CSS | High Performance | Responsive
   ============================================================================== */

:root {
    --bg-primary: #090d16;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --bg-card: rgba(18, 25, 43, 0.72);
    --bg-card-hover: rgba(28, 38, 64, 0.85);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(56, 189, 248, 0.25);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --accent-cyan: #38bdf8;
    --accent-indigo: #818cf8;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    --accent-amber: #f59e0b;

    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;

    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow-cyan: 0 0 25px rgba(56, 189, 248, 0.18);
    --shadow-glow-emerald: 0 0 25px rgba(16, 185, 129, 0.18);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(15, 23, 42, 0.5) 0px, transparent 100%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ----------------- LOGIN SCREEN ----------------- */

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.login-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.login-card {
    position: relative;
    z-index: 1;
    padding: 38px 32px;
    border-radius: var(--radius-xl);
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.login-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
}

.login-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

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

.input-wrapper input {
    width: 100%;
    padding: 13px 44px 13px 16px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 14.5px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.btn-toggle-eye {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
    transition: color 0.2s;
}

.btn-toggle-eye:hover {
    color: var(--text-main);
}

.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-dim);
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
}

.dot-separator {
    opacity: 0.5;
}

/* ----------------- GLASS PANELS ----------------- */

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-glass);
    border-radius: var(--radius-lg);
}

/* ----------------- DASHBOARD LAYOUT ----------------- */

.app-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: rgba(11, 16, 28, 0.95);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    flex-shrink: 0;
    z-index: 100;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #0284c7, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.logo-info {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text-main);
}

.logo-badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.8px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
}

.nav-item.active {
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

.sidebar-footer {
    padding: 16px 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.system-status-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-meta {
    display: flex;
    flex-direction: column;
}

.status-name {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-main);
}

.status-port {
    font-size: 10.5px;
    color: var(--text-dim);
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: rgba(244, 63, 94, 0.15);
    color: var(--accent-rose);
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

/* Topbar */
.topbar {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.3px;
}

.last-sync {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.refresh-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auto-refresh-text {
    font-size: 12px;
    color: var(--text-dim);
}

.clock-badge {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 0.5px;
}

/* Tab pane management */
.tab-pane {
    display: none;
    animation: fadeIn 0.25s ease-in-out;
}

.tab-pane.active {
    display: block;
}

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

/* ----------------- STATS CARDS ----------------- */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

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

.stat-card {
    padding: 22px 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.card-cyan { border-left: 4px solid var(--accent-cyan); }
.card-emerald { border-left: 4px solid var(--accent-emerald); }
.card-indigo { border-left: 4px solid var(--accent-indigo); }
.card-amber { border-left: 4px solid var(--accent-amber); }

.stat-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    flex-shrink: 0;
}

.card-cyan .stat-icon-wrapper { color: var(--accent-cyan); background: rgba(56, 189, 248, 0.1); }
.card-emerald .stat-icon-wrapper { color: var(--accent-emerald); background: rgba(16, 185, 129, 0.1); }
.card-indigo .stat-icon-wrapper { color: var(--accent-indigo); background: rgba(129, 140, 248, 0.1); }
.card-amber .stat-icon-wrapper { color: var(--accent-amber); background: rgba(245, 158, 11, 0.1); }

.stat-info {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.stat-value-group {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    font-family: var(--font-main);
}

.stat-sub {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.progress-bar-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-indigo), var(--accent-cyan));
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* ----------------- GRIDS & PANELS ----------------- */

.content-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.panel {
    padding: 24px;
}

.panel-header {
    margin-bottom: 20px;
}

.panel-header.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wrap-header {
    flex-wrap: wrap;
    gap: 16px;
}

.panel-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.panel-desc {
    display: block;
    font-size: 12.5px;
    color: var(--text-dim);
    margin-top: 2px;
}

/* Category cards list */
.category-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-row-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: background 0.2s;
}

.cat-row-card:hover {
    background: rgba(255, 255, 255, 0.03);
}

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

.cat-icon {
    font-size: 20px;
}

.cat-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

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

.cat-metric {
    font-size: 13px;
    font-weight: 500;
}

/* ----------------- DATA TABLES ----------------- */

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}

.data-table th {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 0.8px;
    border-bottom: 1px solid var(--border-subtle);
    text-transform: uppercase;
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    vertical-align: middle;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
}

.target-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.target-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
}

.target-info {
    display: flex;
    flex-direction: column;
}

.target-name {
    font-weight: 600;
    color: var(--text-main);
}

.target-id {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
}

/* ----------------- BADGES & BUTTONS ----------------- */

.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
}

.badge-die {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(244, 63, 94, 0.15);
    color: var(--accent-rose);
    border: 1px solid rgba(244, 63, 94, 0.3);
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
}

.badge-unknown {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-muted);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
}

.badge-vip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 14px;
    font-size: 11px;
    font-weight: 700;
}

.badge-platform {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-main);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
}

.btn-secondary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

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

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    color: var(--text-main);
    border-color: var(--accent-cyan);
}

/* ----------------- CONTROLS & FILTER TOOLBAR ----------------- */

.filter-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    min-width: 220px;
}

.search-box input {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 13px;
    width: 100%;
    font-family: inherit;
}

.search-box input:focus {
    outline: none;
}

.select-box {
    padding: 8px 14px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
}

.select-box:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.pagination-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid var(--border-subtle);
}

.pagination-info {
    font-size: 12.5px;
    color: var(--text-dim);
}

.pagination-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-current {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-cyan);
}

/* ----------------- PULSE DOT & UTILITIES ----------------- */

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
}

.live-dot.pulse {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.text-cyan { color: var(--accent-cyan); }
.text-emerald { color: var(--accent-emerald); }
.text-rose { color: var(--accent-rose); }
.text-amber { color: var(--accent-amber); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.py-4 { padding-top: 24px; padding-bottom: 24px; }
.mt-4 { margin-top: 20px; }

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    margin-bottom: 20px;
}

.alert-error {
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: var(--accent-rose);
}

/* ----------------- BROADCAST GUIDE ----------------- */

.broadcast-guide {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guide-card {
    padding: 18px 20px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.guide-badge {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-cyan);
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 8px;
}

.guide-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.guide-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.code-box {
    background: #020617;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: #38bdf8;
    overflow-x: auto;
    white-space: pre-wrap;
}

.guide-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-md);
    color: var(--accent-cyan);
    font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .app-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
    }
    .content-grid-2 {
        grid-template-columns: 1fr;
    }
    .stats-grid.grid-3 {
        grid-template-columns: 1fr;
    }
    .action-card-form-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ----------------- USER MANAGEMENT ACTIONS & CARDS ----------------- */
.user-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
}

.action-card-vipall, .action-card-quick {
    padding: 20px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.action-card-vipall {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.action-card-quick {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.action-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.action-icon {
    font-size: 28px;
    line-height: 1;
}

.action-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.action-card-desc {
    font-size: 12.5px;
    color: var(--text-muted);
}

.action-card-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.input-with-addon {
    display: flex;
    align-items: center;
    background: #020617;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2px 10px 2px 0;
    flex: 1;
}

.input-with-addon input {
    background: transparent;
    border: none;
    outline: none;
    padding: 8px 12px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    width: 100%;
}

.input-addon {
    font-size: 12.5px;
    color: var(--text-dim);
    font-weight: 600;
}

.action-card-form-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 1fr auto;
    gap: 10px;
}

.action-card-form-grid input, .action-card-form-grid select {
    background: #020617;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
}

.action-card-form-grid input:focus, .action-card-form-grid select:focus {
    border-color: var(--accent-cyan);
}

.btn-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-emerald:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-rose {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-rose:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.user-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-xs {
    padding: 5px 11px;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
    white-space: nowrap;
}

.btn-xs:hover {
    transform: translateY(-1px);
    filter: brightness(1.15);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: #0f172a;
    color: #fff;
    border: 1px solid var(--border-subtle);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    max-width: 420px;
    animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: opacity 0.3s, transform 0.3s;
}

.toast.toast-fade {
    opacity: 0;
    transform: translateX(30px);
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-error {
    border-left: 4px solid #f43f5e;
}

@keyframes slideInToast {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
