:root {
    --primary: #3498db;
    --primary-dark: #2980b9;
    --secondary: #2ecc71;
    --danger: #e74c3c;
    --warning: #f1c40f;
    --bg-dark: #121212;
    --surface: #1e1e1e;
    --text-main: #e0e0e0;
    --text-muted: #b0b0b0;
    --border: #333;
    --radius: 8px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Typography */
h1, h2, h3 {
    margin-bottom: 0.5em;
    font-weight: 700;
}

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Components */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: #white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
}

.btn:hover {
    background: var(--primary-dark);
}

.btn-secondary { background: var(--secondary); }
.btn-danger { background: var(--danger); }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}
.btn-outline:hover {
    border-color: var(--primary);
}

input {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-main);
    margin-bottom: 15px;
    font-size: 16px;
}

input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Queue List */
.queue-item {
    display: flex;
    align-items: center;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid var(--border);
}

.queue-item.status-called { border-left-color: var(--warning); background: rgba(241, 196, 15, 0.1); }
.queue-item.status-airborne { border-left-color: var(--secondary); background: rgba(46, 204, 113, 0.1); }
.queue-item.status-done { opacity: 0.6; }

.queue-info { flex-grow: 1; }
.queue-name { font-weight: 600; }
.queue-status { font-size: 0.8em; text-transform: uppercase; margin-top: 4px; }

/* Utilities */
.hidden { display: none !important; }

/* Notifications */
#notification-bar {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
}

.alert {
    background: var(--primary);
    color: white;
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    margin-bottom: 10px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Animations for "Called" state */
.flash-call {
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from { background-color: rgba(241, 196, 15, 0.1); }
    to { background-color: rgba(241, 196, 15, 0.4); }
}
