:root {
    --bg: #0f0f0f;
    --card: #1e1e1e;
    --text: #e0e0e0;
    --accent: #3ea6ff;
    --border: #333;
    --success: #2ba640;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 40px 20px;
}

h1 { text-align: center; margin-bottom: 30px; font-weight: 300; letter-spacing: 1px; }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }

input, textarea {
    width: 100%;
    background: #121212;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 12px;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

textarea { font-family: 'Fira Code', 'Courier New', monospace; line-height: 1.5; }

button {
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    background: #333;
    color: white;
}

button:hover { background: #444; }

button.primary { background: var(--accent); color: #000; }
button.primary:hover { background: #65b8ff; }

.tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.tab-btn { background: transparent; border-bottom: 2px solid transparent; border-radius: 0; padding: 10px 5px; }
.tab-btn.active { border-bottom-color: var(--accent); color: var(--accent); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.badge { background: #333; padding: 4px 8px; border-radius: 4px; font-size: 11px; color: #aaa; }

header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
header h1 { margin: 0; font-size: 24px; }

#logout-btn { padding: 6px 12px; font-size: 12px; }

#status-msg { margin-top: 20px; text-align: center; font-size: 14px; min-height: 20px; }
.success { color: var(--success); }
.error { color: #ff5252; }

label { display: block; margin-bottom: 8px; font-size: 12px; color: #888; text-transform: uppercase; }
