/* style.css - Extracted from index.php */
/* RETAINING YOUR EXACT CSS STYLES */
:root {
    /* LIGHT MODE PALETTE */
    --primary: #f1f5f9; /* Light Grey BG */
    --primary-light: #ffffff; /* White Cards */
    --accent: #3b82f6; 
    --accent-hover: #2563eb;
    --text-main: #0f172a; /* Dark Text */
    --text-muted: #64748b; /* Muted Slate */
    --bg-grad-start: #f1f5f9;
    --bg-grad-end: #e2e8f0;
    --card-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }

body {
    background: var(--primary);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* LOGO STYLING */
.logo-img {
    height: 220px; /* Significantly larger for maximum visibility */
    width: auto;
    display: block;
    margin: 0 auto 2rem auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
header .logo-img {
    margin: 0;
    height: 60px; /* Larger header presence */
}

/* --- Matrix Login Overlay (Grey Edition) --- */
#login-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #cbd5e1; /* Medium Grey (Slate-300) */
    z-index: 1000;
    /* Visibility is now controlled by inline styles in index.php */
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#matrix-canvas {
    position: absolute;
    top: 0; left: 0;
    z-index: 0; /* Behind the card */
    opacity: 0.8;
}

.login-card {
    position: relative;
    z-index: 10;
    
    /* SQUARE DIMENSIONS - Expanded for Logo */
    width: 520px;
    height: 520px;
    
    /* SANDBLASTED GLASS MATERIAL */
    /* Milky, matte transparency */
    background: rgba(255, 255, 255, 0.1); 
    /* Heavy blur for the "frosted" look */
    backdrop-filter: blur(25px) saturate(120%);
    -webkit-backdrop-filter: blur(25px) saturate(120%);
    
    /* BORDERS & EDGES */
    /* Crisp white border to define the cut glass edge */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    
    /* SHADOWS */
    /* Deep, soft shadow for levitation + white inner glow */
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1), 
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);

    /* LAYOUT */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center vertically in the square */
    text-align: center;
}

/* Adjust internal spacing for the square layout */
.login-title { margin-top: 0.5rem; margin-bottom: 0.25rem; font-size: 1.6rem; }
.login-sub { margin-bottom: 1.5rem; font-size: 0.85rem; }
.avatar-neu { width: 64px; height: 64px; margin-bottom: 0.5rem; box-shadow: none; background: rgba(255,255,255,0.3); color: #1e293b; }
.btn { margin-top: 0.5rem; }

.avatar-neu {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--bg-color);
    box-shadow: 
        6px 6px 12px var(--shadow-dark), 
        -6px -6px 12px var(--shadow-light);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.login-title { font-size: 1.5rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.5rem; }
.login-sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2rem; }

.form-group { width: 100%; margin-bottom: 1.2rem; position: relative; }

/* --- COMMAND CENTER (APP SHELL) --- */
#command-center {
    /* Visibility is now controlled by inline styles in index.php */
    width: 100%; height: 100vh;
    position: fixed; top: 0; left: 0;
    background: rgba(5, 10, 20, 0.7); /* Privacy dimming over Matrix */
    z-index: 500;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #e2e8f0;
    overflow: hidden;
}

/* SIDEBAR (Navigation) */
.sidebar {
    width: 280px;
    height: 100%;
    flex-shrink: 0; /* Prevent shrinking on small screens */
    background: rgba(0, 0, 0, 0.6); /* Darker glass for nav */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex; flex-direction: column;
    padding: 2rem 0;
    z-index: 20;
}

.brand-area {
    padding: 0 2rem; margin-bottom: 3rem;
    display: flex; align-items: center; gap: 1rem;
}
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.brand-text { font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: 1px; }

.nav-menu { display: flex; flex-direction: column; gap: 0.5rem; padding: 0 1rem; flex: 1; }
.nav-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.95rem; font-weight: 600;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(5px);
}
.nav-item.active {
    background: rgba(205, 127, 50, 0.15); /* Bronze tint */
    color: #fff;
    border-color: rgba(205, 127, 50, 0.4);
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.1);
}
.nav-icon { width: 20px; text-align: center; font-size: 1.1rem; }

/* CONTENT WRAPPER */
.content-wrapper {
    flex: 1;
    display: flex; flex-direction: column;
    position: relative;
    background: transparent;
}

/* TOPBAR */
.topbar {
    height: 80px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
}

.search-bar {
    display: flex; align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    width: 400px;
}
.search-input {
    background: transparent; border: none; color: #fff;
    margin-left: 10px; width: 100%; outline: none; font-size: 0.9rem;
}

/* VIEW CONTAINER */
.view-container {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.view-header { margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: flex-end; }
.view-title { font-size: 2rem; font-weight: 300; letter-spacing: 1px; color: #fff; }
.view-title strong { font-weight: 700; color: #cd7f32; }

.hud-brand { display: flex; align-items: center; gap: 1rem; }
.hud-logo { height: 40px; width: auto; }
.hud-status {
    font-size: 0.75rem; letter-spacing: 1px;
    color: #cd7f32; /* Bronze */
    display: flex; align-items: center; gap: 6px;
    font-family: 'Courier New', monospace; font-weight: 700;
}
.status-dot { width: 8px; height: 8px; background: #cd7f32; border-radius: 50%; box-shadow: 0 0 8px #cd7f32; animation: pulse 2s infinite; }

.hud-meta { display: flex; align-items: center; gap: 2rem; }
.clock-display { font-family: 'Courier New', monospace; font-size: 0.9rem; color: #94a3b8; letter-spacing: 1px; }

.user-pill {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 6px 12px 6px 6px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}
.user-avatar { width: 32px; height: 32px; background: #cd7f32; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.8rem; }
.user-text { font-size: 0.85rem; font-weight: 600; color: #e2e8f0; }
.logout-icon { color: #94a3b8; text-decoration: none; transition: 0.2s; margin-left: 5px; }
.logout-icon:hover { color: #ef4444; }

/* MAIN CONTENT */
main { flex: 1; padding: 3rem; overflow-y: auto; scroll-behavior: smooth; }

.section-label {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
    color: #64748b; margin-bottom: 1.5rem; margin-top: 3rem;
    display: flex; align-items: center; gap: 1rem;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent); }

/* MODULE GRID */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* FLOATING GLASS NODES */
.console-card {
    /* Pure Glass */
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px); /* Heavy blur to mute the matrix rain behind it */
    -webkit-backdrop-filter: blur(30px);
    
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 240px;
    
    /* Shadow for lift */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Bronze Connectors */
.console-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 2px; height: 100%;
    background: linear-gradient(to bottom, transparent, #cd7f32, transparent);
    opacity: 0.3; transition: 0.3s;
}

.console-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(205, 127, 50, 0.5); /* Bronze Glow */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.02);
}
.console-card:hover::before { opacity: 1; width: 4px; box-shadow: 0 0 15px #cd7f32; }

.card-icon-zone {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #e2e8f0;
    margin-bottom: 1.5rem;
    transition: 0.3s;
}
.console-card:hover .card-icon-zone { background: rgba(205, 127, 50, 0.2); color: #cd7f32; }

.card-title { font-size: 1.1rem; font-weight: 600; color: #f1f5f9; margin-bottom: 0.5rem; letter-spacing: 0.5px; }
.card-desc { font-size: 0.85rem; color: #94a3b8; line-height: 1.5; flex: 1; }

.card-footer {
    margin-top: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.75rem; color: #64748b;
}
.status-pill {
    padding: 2px 8px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.1);
    text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
}

/* SYSTEM TOOLS (Compact Row) */
.tools-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.tool-chip {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: #94a3b8;
    transition: 0.2s;
}
.tool-chip:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.2); }

/* EXPLORER STYLES */
/* FIX: Removed height constraint from grid parent to allow children to dictate flow if needed, but using min-height */
.explorer-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; min-height: 600px; }

/* FILE MANAGER DOCKING (COMMAND CENTER) */
/* Guarantees the File Manager is visible in the right column when a node is opened */
.file-browser-v2 {
    grid-column: 2 / 3;
    grid-row: 1;
    align-self: start;
    scroll-margin-top: 120px;
}

@media (max-width: 900px) {
    .file-browser-v2 {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 12px !important;
    }
}

/* Node List (Left) */
.node-list { border-right: 1px solid rgba(255,255,255,0.05); padding-right: 1rem; overflow-y: auto; display: flex; flex-direction: column; gap: 0.5rem; }
.node-link {
    padding: 1rem; border-radius: 8px; background: rgba(255,255,255,0.02);
    color: #94a3b8; text-decoration: none; border: 1px solid transparent;
    transition: 0.2s; display: flex; align-items: center; justify-content: space-between;
}
.node-link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.node-link.active {
    background: linear-gradient(90deg, rgba(205,127,50,0.2), transparent);
    border-left: 2px solid #cd7f32; color: #fff;
}

/* File Browser (Right) */
.file-browser { display: flex; flex-direction: column; overflow: hidden; }
.browser-header {
    background: rgba(0,0,0,0.3); padding: 0.8rem 1.5rem; border-radius: 8px;
    margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: center;
    border: 1px solid rgba(255,255,255,0.05);
}
.crumb-path { font-family: monospace; color: #cd7f32; display: flex; gap: 10px; align-items: center; }

.action-icon {
    color: #64748b; text-decoration: none; padding: 4px; border-radius: 4px; transition: 0.2s; cursor: pointer; border: none; background: transparent;
}
.action-icon:hover { color: #fff; background: rgba(255,255,255,0.1); }
.icon-del:hover { color: #ef4444; background: rgba(239, 68, 68, 0.1); }

/* Modal Overlay */
.modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 3000; align-items: center; justify-content: center;
    backdrop-filter: blur(5px);
}
.modal-content {
    background: #0f172a; border: 1px solid #334155; padding: 2rem; border-radius: 16px;
    width: 500px; max-width: 90%; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.browser-content { overflow-y: auto; padding-right: 10px; }

.folder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.folder-card {
    background: rgba(255,255,255,0.05); padding: 1rem; border-radius: 8px;
    text-align: center; color: #e2e8f0; text-decoration: none;
    transition: 0.2s; border: 1px solid transparent;
}
.folder-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.folder-icon { font-size: 2rem; margin-bottom: 0.5rem; color: #fbbf24; opacity: 0.8; }

.file-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.file-table th { text-align: left; padding: 0.5rem; color: #64748b; font-size: 0.75rem; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.1); }
.file-table td { padding: 0.75rem 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.02); color: #cbd5e1; }
.file-row:hover td { background: rgba(255,255,255,0.03); color: #fff; }

/* CODE EDITOR WITH GUTTER */
.editor-wrapper {
    display: flex;
    flex: 1;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    background: #1e1e1e;
    overflow: hidden;
    border-radius: 4px;
}
.line-numbers {
    width: 45px;
    background: #252526;
    color: #858585;
    text-align: right;
    padding: 10px 5px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.5;
    user-select: none;
    border-right: 1px solid #333;
    overflow: hidden; /* Hide scrollbar */
}
.code-area {
    flex: 1;
    background: #1e1e1e;
    color: #d4d4d4;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.5;
    padding: 10px;
    border: none;
    resize: none;
    outline: none;
    white-space: pre;
    overflow: auto; /* Allow scroll */
}



/* LOGS & TOOLS */
.terminal-window {
    background: rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; padding: 1rem; font-family: 'Courier New', monospace;
    height: 500px; overflow-y: auto; color: #10b981; font-size: 0.85rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}
.log-entry { margin-bottom: 4px; border-bottom: 1px dashed rgba(255,255,255,0.05); padding-bottom: 2px; }
.log-time { color: #64748b; margin-right: 10px; }
.log-user { color: #cd7f32; font-weight: bold; margin-right: 10px; }

.vital-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem; border-radius: 12px; flex: 1;
}
.vital-value { font-size: 2rem; font-weight: 700; color: #fff; margin: 0.5rem 0; }
.progress-bar { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: #cd7f32; }

.toast {
    position: absolute; top: 100px; right: 30px;
    background: rgba(16, 185, 129, 0.2); border: 1px solid #10b981;
    color: #fff; padding: 1rem 2rem; border-radius: 8px;
    backdrop-filter: blur(10px); z-index: 1000;
    animation: slideIn 0.5s ease;
}
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

.inp {
    width: 100%;
    height: 48px;
    padding: 0 1.5rem;
    
    /* DEEP CARVED OBSIDIAN EFFECT */
    background: rgba(0, 0, 0, 0.4); /* Much darker for contrast */
    border: none;
    /* Strong bevels for 3D depth */
    border-top: 2px solid rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    
    color: #fff; /* White text for readability on dark glass */
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    
    /* Heavy Inset Shadow */
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.5);
    
    outline: none;
    transition: all 0.2s;
}
.inp:focus {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.7);
    border-bottom-color: #cd7f32; /* Bronze accent on focus */
}
.inp::placeholder { color: rgba(255, 255, 255, 0.5); }

.btn {
    width: 100%;
    height: 48px; /* Exact match to inputs */
    margin-top: 1.5rem;
    
    /* 3D CRYSTAL GLASS EFFECT */
    /* High-contrast gradient for glossy look */
    background: linear-gradient(
        180deg, 
        rgba(255, 255, 255, 0.6) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.1) 51%, 
        rgba(255, 255, 255, 0.4) 100%
    );
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    
    /* Beveled Borders */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.9); /* Strong highlight */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);    /* Subtle shade */
    border-radius: 50px;
    
    color: #1e293b;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    
    /* Levitation Shadow */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(
        180deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.3) 100%
    );
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(255,255,255,0.5);
    border-color: #fff;
}
.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.footer-secure {
    margin-top: 2rem;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    display: flex; flex-direction: column; gap: 4px;
}

.error-msg {
    color: #d32f2f;
    font-size: 0.8rem;
    margin-top: 1rem;
    font-weight: 600;
}

/* --- Dashboard --- */
#dashboard {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100%;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

header {
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.5);
}

.user-profile { display: flex; align-items: center; gap: 1rem; }
.user-info { text-align: right; }
.user-name { display: block; font-weight: 600; font-size: 0.9rem; }
.user-role { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }

.avatar {
    width: 40px; height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold;
}

.btn-logout {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    margin-left: 1.5rem;
    font-size: 0.85rem;
    text-decoration: none;
    border-radius: 6px;
}
.btn-logout:hover { border-color: #ef4444; color: #ef4444; }

main { flex: 1; padding: 3rem; overflow-y: auto; }

.welcome-text { font-size: 1.75rem; font-weight: 300; margin-bottom: 2rem; }
.welcome-text strong { font-weight: 700; }

/* LAYOUT SECTIONS */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}
.section-title { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }

/* CLIENT GRID (Large Cards) */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.client-card {
    background: var(--primary-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 200px;
}
.client-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.client-icon { font-size: 2rem; margin-bottom: 1rem; }
.client-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-main); }
.client-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }

.status-badge {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.status-production { background: #dcfce7; color: #166534; }
.status-offline { background: #f1f5f9; color: #475569; }
.status-admin { background: #e0e7ff; color: #3730a3; }

/* TOOLS GRID (Compact) */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.tool-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s;
}
.tool-card:hover { background: #fff; border-color: var(--accent); }
.tool-icon { font-size: 1.25rem; }
.tool-info { display: flex; flex-direction: column; }
.tool-name { font-weight: 600; font-size: 0.95rem; }
.tool-desc { font-size: 0.75rem; color: var(--text-muted); }
/* --- FILE MANAGER BUTTON HIGHLIGHT --- */
.pulse-highlight {
  animation: pulseHL 1.2s ease-out 1;
}
@keyframes pulseHL {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  100% { box-shadow: 0 0 0 18px rgba(16, 185, 129, 0); }
}
