/* ============================================================
   FridayOS Panel — Premium Dark Theme
   Glassmorphism, Gradients, Micro-animations
   ============================================================ */

/* ── Değişkenler ───────────────────────────────────────────── */
:root {
    /* Color Palette */
    --fo-bg:           #080b12; /* Deepest black/blue */
    --fo-bg-card:      rgba(15, 20, 31, 0.65); /* Glass card */
    --fo-bg-sidebar:   rgba(10, 13, 20, 0.85);
    --fo-bg-topbar:    rgba(10, 13, 20, 0.7);
    --fo-border:       rgba(255, 255, 255, 0.05);
    --fo-border-hover: rgba(255, 255, 255, 0.12);

    --fo-primary:      #6366f1; /* Indigo */
    --fo-primary-glow: rgba(99, 102, 241, 0.3);
    --fo-cyan:         #0ea5e9; /* Light blue */
    --fo-green:        #10b981; /* Emerald */
    --fo-green-glow:   rgba(16, 185, 129, 0.25);
    --fo-red:          #f43f5e; /* Rose */
    --fo-red-glow:     rgba(244, 63, 94, 0.25);
    --fo-yellow:       #f59e0b; /* Amber */
    --fo-yellow-glow:  rgba(245, 158, 11, 0.25);
    --fo-purple:       #8b5cf6; /* Violet */

    /* Typography */
    --fo-text:         #f8fafc;
    --fo-text-muted:   #94a3b8;
    --fo-text-dim:     #64748b;

    /* Sizing */
    --fo-sidebar-w:    260px;
    --fo-topbar-h:     64px;
    --fo-radius:       16px;
    --fo-radius-sm:    10px;
    --fo-radius-lg:    24px;

    /* Shadows & Effects */
    --fo-shadow:       0 8px 32px rgba(0, 0, 0, 0.5);
    --fo-shadow-card:  0 4px 16px rgba(0, 0, 0, 0.3);
    --fo-glass-blur:   blur(12px);

    /* Fonts */
    --fo-font:         'Outfit', 'Inter', system-ui, sans-serif;
    --fo-font-mono:    'JetBrains Mono', 'Fira Code', monospace;

    /* Animation */
    --fo-transition:   all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--fo-font);
    background: var(--fo-bg);
    background-image: 
        radial-gradient(ellipse at 15% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--fo-text);
    font-size: 14.5px;
    -webkit-font-smoothing: antialiased;
}

/* ── Layout ────────────────────────────────────────────────── */
body:not(.fo-login-body) {
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── Sidebar (Glassmorphism) ───────────────────────────────── */
.fo-sidebar {
    width: var(--fo-sidebar-w);
    min-height: 100vh;
    background: var(--fo-bg-sidebar);
    backdrop-filter: var(--fo-glass-blur);
    border-right: 1px solid var(--fo-border);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: var(--fo-transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fo-sidebar.collapsed { width: 72px; }

.fo-sidebar.collapsed .fo-logo-text,
.fo-sidebar.collapsed .fo-nav-link span,
.fo-sidebar.collapsed .fo-user-details,
.fo-sidebar.collapsed .fo-logout-btn span { display: none; }

.fo-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    min-height: var(--fo-topbar-h);
}

.fo-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--fo-primary), var(--fo-cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 0 20px var(--fo-primary-glow);
    color: #fff;
}

.fo-logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--fo-text);
    white-space: nowrap;
}
.fo-logo-text strong { 
    background: linear-gradient(135deg, var(--fo-primary), var(--fo-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Nav ───────────────────────────────────────────────────── */
.fo-nav-list {
    list-style: none;
    margin: 0;
    padding: 16px 12px;
    flex-grow: 1;
    overflow-y: auto;
}
.fo-nav-list::-webkit-scrollbar { width: 4px; }
.fo-nav-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.fo-nav-list li { margin-bottom: 6px; }

.fo-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: var(--fo-text-muted);
    text-decoration: none;
    border-radius: var(--fo-radius-sm);
    transition: var(--fo-transition);
    font-weight: 500;
    font-size: 14px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.fo-nav-link:hover {
    color: var(--fo-text);
    background: rgba(255,255,255,0.03);
    transform: translateX(4px);
}

.fo-nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(99,102,241,0.15) 0%, transparent 100%);
    border-left: 3px solid var(--fo-primary);
    border-radius: 0 var(--fo-radius-sm) var(--fo-radius-sm) 0;
}

.fo-nav-link i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    transition: var(--fo-transition);
}
.fo-nav-link.active i { color: var(--fo-primary); text-shadow: 0 0 12px var(--fo-primary-glow); }

/* ── Sidebar Footer ────────────────────────────────────────── */
.fo-sidebar-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid var(--fo-border);
    background: rgba(0,0,0,0.2);
}

.fo-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.fo-user-info > i { font-size: 22px; color: var(--fo-text-dim); flex-shrink: 0; }

.fo-user-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fo-username {
    font-size: 14px;
    font-weight: 600;
    color: var(--fo-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fo-role-badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--fo-cyan);
    background: rgba(14,165,233,0.15);
    padding: 2px 8px;
    border-radius: 20px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.fo-logout-btn {
    color: var(--fo-text-muted);
    font-size: 18px;
    text-decoration: none;
    padding: 8px;
    border-radius: var(--fo-radius-sm);
    transition: var(--fo-transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.02);
}
.fo-logout-btn:hover { 
    color: var(--fo-red); 
    background: var(--fo-red-glow); 
    transform: scale(1.05);
}

/* ── Main ──────────────────────────────────────────────────── */
.fo-main {
    margin-left: var(--fo-sidebar-w);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: var(--fo-transition);
}
.fo-main.expanded { margin-left: 72px; }

/* ── Topbar (Glassmorphism) ────────────────────────────────── */
.fo-topbar {
    height: var(--fo-topbar-h);
    background: var(--fo-bg-topbar);
    backdrop-filter: var(--fo-glass-blur);
    border-bottom: 1px solid var(--fo-border);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.fo-sidebar-toggle {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--fo-border);
    color: var(--fo-text-dim);
    width: 36px;
    height: 36px;
    border-radius: var(--fo-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--fo-transition);
    font-size: 18px;
}
.fo-sidebar-toggle:hover { 
    color: var(--fo-text); 
    border-color: var(--fo-border-hover); 
    background: rgba(255,255,255,0.06);
}

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

.fo-clock {
    font-family: var(--fo-font-mono);
    font-size: 13px;
    color: var(--fo-text-muted);
    font-weight: 500;
}

.fo-version-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--fo-primary);
    background: rgba(99,102,241,0.15);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(99,102,241,0.3);
}

/* ── Content ───────────────────────────────────────────────── */
.fo-content {
    padding: 32px;
    flex: 1;
}

/* ── Page Header ───────────────────────────────────────────── */
.fo-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
    animation: fo-fade-in-up 0.5s ease-out;
}

@keyframes fo-fade-in-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fo-page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--fo-text);
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
}
.fo-page-title i {
    color: var(--fo-primary);
    text-shadow: 0 0 16px var(--fo-primary-glow);
}

.fo-page-subtitle {
    font-size: 14.5px;
    color: var(--fo-text-muted);
    margin: 6px 0 0;
}

/* ── Buttons ───────────────────────────────────────────────── */
.fo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--fo-radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--fo-transition);
    line-height: 1;
    gap: 8px;
}

.fo-btn:active { transform: scale(0.97); }

.fo-btn-primary {
    background: linear-gradient(135deg, var(--fo-primary), var(--fo-purple));
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px var(--fo-primary-glow);
}
.fo-btn-primary:hover {
    background: linear-gradient(135deg, #7c7eff, #9f75ff);
    box-shadow: 0 6px 20px var(--fo-primary-glow);
    color: #fff;
}

.fo-btn-outline {
    background: rgba(255,255,255,0.03);
    color: var(--fo-text);
    border-color: var(--fo-border);
}
.fo-btn-outline:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--fo-border-hover);
}

.fo-btn-danger {
    background: rgba(244,63,94,0.1);
    color: var(--fo-red);
    border: 1px solid rgba(244,63,94,0.2);
}
.fo-btn-danger:hover {
    background: var(--fo-red-glow);
    color: #fff;
}

/* ── Stat Cards ────────────────────────────────────────────── */
.fo-stat-card {
    background: var(--fo-bg-card);
    backdrop-filter: var(--fo-glass-blur);
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--fo-transition);
    animation: fo-fade-in-up 0.5s ease-out backwards;
}
.fo-stat-card:hover {
    border-color: var(--fo-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--fo-shadow-card);
    background: rgba(20, 25, 40, 0.75);
}

/* Staggered animation */
.fo-stat-card:nth-child(1) { animation-delay: 0.1s; }
.fo-stat-card:nth-child(2) { animation-delay: 0.2s; }
.fo-stat-card:nth-child(3) { animation-delay: 0.3s; }
.fo-stat-card:nth-child(4) { animation-delay: 0.4s; }

.fo-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: var(--fo-transition);
}
.fo-stat-card:hover .fo-stat-icon { transform: scale(1.1); }

.fo-stat-total  .fo-stat-icon { background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(99,102,241,0.05)); color: var(--fo-primary); border: 1px solid rgba(99,102,241,0.2); }
.fo-stat-online .fo-stat-icon { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05)); color: var(--fo-green);   border: 1px solid rgba(16,185,129,0.2); box-shadow: 0 0 16px var(--fo-green-glow); }
.fo-stat-offline .fo-stat-icon{ background: linear-gradient(135deg, rgba(244,63,94,0.2), rgba(244,63,94,0.05)); color: var(--fo-red);     border: 1px solid rgba(244,63,94,0.2); box-shadow: 0 0 16px var(--fo-red-glow); }
.fo-stat-cpu .fo-stat-icon    { background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.05)); color: var(--fo-yellow);  border: 1px solid rgba(245,158,11,0.2); box-shadow: 0 0 16px var(--fo-yellow-glow); }

.fo-stat-body { flex: 1; }

.fo-stat-value {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: var(--fo-text);
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
}
.fo-stat-label {
    font-size: 13px;
    color: var(--fo-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Card ──────────────────────────────────────────────────── */
.fo-card {
    background: var(--fo-bg-card);
    backdrop-filter: var(--fo-glass-blur);
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius);
    overflow: hidden;
    box-shadow: var(--fo-shadow-card);
    margin-bottom: 24px;
    animation: fo-fade-in-up 0.6s ease-out backwards;
    animation-delay: 0.2s;
}

.fo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--fo-border);
    background: rgba(255,255,255,0.01);
}

.fo-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--fo-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.fo-card-tools { display: flex; align-items: center; gap: 12px; }

/* ── Live Badge ────────────────────────────────────────────── */
.fo-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--fo-green);
    background: rgba(16,185,129,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(16,185,129,0.2);
    letter-spacing: 0.5px;
}

.fo-live-dot {
    width: 8px;
    height: 8px;
    background: var(--fo-green);
    border-radius: 50%;
    animation: fo-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes fo-pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(16,185,129,0.7); }
    50%       { opacity: 0.7; transform: scale(0.9); box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* ── Table ─────────────────────────────────────────────────── */
.table-responsive {
    margin: 0;
}
.fo-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--fo-text);
    font-size: 14px;
    margin-bottom: 0;
}
.fo-table thead th {
    background: rgba(0,0,0,0.2);
    color: var(--fo-text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--fo-border);
    padding: 14px 20px;
    white-space: nowrap;
}
.fo-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--fo-border);
    vertical-align: middle;
    transition: background-color 0.2s ease;
}
.fo-table tbody tr:last-child td { border-bottom: none; }
.fo-table tbody tr:hover td { background: rgba(255,255,255,0.03); }

/* ── Status Badge ──────────────────────────────────────────── */
.fo-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: capitalize;
}
.fo-status-online  { color: var(--fo-green);  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); }
.fo-status-offline { color: var(--fo-red);    background: rgba(244,63,94,0.1); border: 1px solid rgba(244,63,94,0.2); }
.fo-status-stale   { color: var(--fo-yellow); background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); }
.fo-status-error   { color: var(--fo-red);    background: rgba(244,63,94,0.1); border: 1px solid rgba(244,63,94,0.2); }
.fo-status-unknown { color: var(--fo-text-muted); background: rgba(255,255,255,0.05); border: 1px solid var(--fo-border); }

.fo-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.fo-status-online  .fo-status-dot { background: var(--fo-green); animation: fo-pulse 2s infinite; }
.fo-status-offline .fo-status-dot { background: var(--fo-red);    }
.fo-status-stale   .fo-status-dot { background: var(--fo-yellow); }
.fo-status-unknown .fo-status-dot { background: var(--fo-text-muted); }

/* ── Progress Bars ─────────────────────────────────────────── */
.fo-progress {
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
    width: 100px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}
.fo-progress-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.fo-progress-bar.cpu  { background: linear-gradient(90deg, var(--fo-primary), var(--fo-cyan)); box-shadow: 0 0 10px var(--fo-primary-glow); }
.fo-progress-bar.ram  { background: linear-gradient(90deg, var(--fo-purple), var(--fo-primary)); box-shadow: 0 0 10px var(--fo-primary-glow); }
.fo-progress-bar.disk { background: linear-gradient(90deg, var(--fo-yellow), var(--fo-green)); box-shadow: 0 0 10px var(--fo-yellow-glow); }

/* ── Event List ────────────────────────────────────────────── */
.fo-event-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.fo-event-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--fo-border);
    font-size: 14px;
    transition: var(--fo-transition);
}
.fo-event-item:last-child { border-bottom: none; }
.fo-event-item:hover { background: rgba(255,255,255,0.02); }
.fo-event-action {
    font-weight: 600;
    color: var(--fo-primary);
    font-size: 12px;
    font-family: var(--fo-font-mono);
    padding: 2px 6px;
    background: rgba(99,102,241,0.1);
    border-radius: 4px;
}
.fo-event-time {
    font-size: 12px;
    color: var(--fo-text-muted);
    white-space: nowrap;
}

/* ── Loophole URL ──────────────────────────────────────────── */
.fo-loophole-url {
    font-family: var(--fo-font-mono);
    font-size: 12px;
    color: var(--fo-cyan);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    padding: 4px 8px;
    background: rgba(14,165,233,0.1);
    border-radius: 6px;
    text-decoration: none;
    transition: var(--fo-transition);
}
.fo-loophole-url:hover { color: #fff; background: var(--fo-cyan); box-shadow: 0 0 12px rgba(14,165,233,0.4); }

/* ── Metric Cell ───────────────────────────────────────────── */
.fo-metric-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.fo-metric-val {
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ── Code / Mono ───────────────────────────────────────────── */
.fo-mono {
    font-family: var(--fo-font-mono);
    font-size: 13px;
    color: var(--fo-text-dim);
}

/* ── Terminal ──────────────────────────────────────────────── */
.fo-terminal {
    background: #05070a;
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius);
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}
.fo-terminal-output {
    padding: 20px;
    font-family: var(--fo-font-mono);
    font-size: 13.5px;
    line-height: 1.6;
    color: #cbd5e1;
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
}
.fo-terminal-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--fo-border);
    background: rgba(255,255,255,0.02);
}
.fo-terminal-prompt {
    color: var(--fo-green);
    font-family: var(--fo-font-mono);
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}
.fo-terminal-input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--fo-font-mono);
    font-size: 14px;
    outline: none;
    caret-color: var(--fo-green);
}

/* ── Code Block & Installation Cmd ─────────────────────────── */
.fo-code-block {
    background: #05070a;
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-sm);
    padding: 16px;
    font-family: var(--fo-font-mono);
    font-size: 14px;
    color: var(--fo-cyan);
    word-break: break-all;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}

/* ── LOGIN PAGE ────────────────────────────────────────────── */
.fo-login-body {
    background: var(--fo-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

.fo-login-bg {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(99,102,241,0.1) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(139,92,246,0.1) 0%, transparent 40%);
    pointer-events: none;
}

.fo-login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.fo-login-card {
    background: var(--fo-bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-lg);
    padding: 48px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    animation: fo-fade-in-up 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fo-login-logo {
    text-align: center;
    margin-bottom: 40px;
}

.fo-login-logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--fo-primary), var(--fo-purple));
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 16px;
    box-shadow: 0 0 32px var(--fo-primary-glow);
    color: #fff;
}

.fo-login-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--fo-text);
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.fo-login-form { display: flex; flex-direction: column; gap: 20px; }
.fo-form-group { display: flex; flex-direction: column; gap: 8px; }

.fo-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--fo-text-dim);
}

.fo-input {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-sm);
    color: #fff;
    padding: 12px 16px;
    font-size: 15px;
    font-family: var(--fo-font);
    outline: none;
    transition: var(--fo-transition);
    width: 100%;
}
.fo-input:focus {
    border-color: var(--fo-primary);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
    background: rgba(99,102,241,0.05);
}

.fo-login-btn {
    background: linear-gradient(135deg, var(--fo-primary), var(--fo-purple));
    border: none;
    border-radius: var(--fo-radius-sm);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px;
    cursor: pointer;
    transition: var(--fo-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    box-shadow: 0 4px 14px var(--fo-primary-glow);
}
.fo-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--fo-primary-glow);
}

/* Modals */
.modal-content {
    background: var(--fo-bg-card);
    backdrop-filter: var(--fo-glass-blur);
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius-lg);
    box-shadow: var(--fo-shadow);
}
.modal-header {
    border-bottom: 1px solid var(--fo-border);
    padding: 20px 24px;
}
.modal-title {
    font-weight: 700;
    color: #fff;
}
.modal-footer {
    border-top: 1px solid var(--fo-border);
    padding: 16px 24px;
}
.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}
