:root {
    --bg: #030303;
    --surface: #0a0a0a;
    --surface-hover: #121212;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --border: #27272a;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
}

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

body { 
    background-color: var(--bg); 
    color: var(--text); 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

/* --- Layout --- */
.container { 
    max-width: 1000px; 
    margin: 100px auto; 
    padding: 20px; 
    width: 100%;
}
.center-box {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 90vh;
}

/* --- Navigation --- */
nav {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 40px; 
    border-bottom: 1px solid var(--border);
    background: rgba(3,3,3,0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

/* Logo Styling */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}
.nav-logo-img {
    width: 35px;
    height: 35px;
    border-radius: 50%; /* Makes it circular */
    object-fit: cover;
    border: 1px solid var(--border);
}

.nav-links a { color: var(--text-muted); text-decoration: none; margin-left: 20px; font-size: 0.9rem; transition: 0.2s; }
.nav-links a:hover { color: #fff; }

/* --- Forms & Cards --- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
input, textarea {
    width: 100%;
    background: #000;
    border: 1px solid var(--border);
    color: white;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    outline: none;
    transition: 0.2s;
}
input:focus, textarea:focus { border-color: var(--primary); }
textarea { height: 250px; font-family: 'JetBrains Mono', monospace; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s;
    text-align: center;
}
.btn:hover { background: var(--primary-hover); }
.btn-outline { background: transparent; border: 1px solid var(--border); }
.btn-outline:hover { border-color: #fff; }
.btn-full { width: 100%; }
.btn-danger { background: #3f1111; color: #f87171; border: 1px solid #7f1d1d; }

/* --- Dashboard Specific --- */
.tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.tab { padding-bottom: 10px; cursor: pointer; color: var(--text-muted); }
.tab.active { color: var(--primary); border-bottom: 2px solid var(--primary); font-weight: 600; }

.script-item {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
code { background: #1a1a1a; padding: 2px 6px; border-radius: 4px; color: #a5b4fc; font-family: monospace; }
