/* ==========================================================================
   Design System & Styling for Streamer Live Tracker
   Theme: Radix Themes Inspired (Slate & Violet Accents)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Radix UI Dark Theme Tokens (Slate gray / Violet accent) */
    --bg-main: #111318;       /* Radix Dark Slate Panel */
    --bg-card: #191b21;       /* Radix Card Surface */
    --bg-input: #21242d;      /* Radix Input field */
    
    --primary: #6e56cf;        /* Radix Violet Accent (Solid) */
    --primary-glow: rgba(110, 86, 207, 0.25);
    --primary-subtle: rgba(110, 86, 207, 0.1);
    --primary-hover: #7c66dc;  /* Radix Violet Accent Hover */
    
    --gold: #e2a100;          /* Radix Amber/Gold Accent */
    --gold-glow: rgba(226, 161, 0, 0.25);
    --gold-subtle: rgba(226, 161, 0, 0.08);
    --gold-hover: #f0b400;
    
    --text-primary: #eeeeef;  /* Radix Gray 12 */
    --text-secondary: #b0b3b8;/* Radix Gray 11 */
    --text-muted: #7e828a;    /* Radix Gray 9 */
    
    --border: rgba(255, 255, 255, 0.08);      /* Radix Subtle Border */
    --border-hover: rgba(255, 255, 255, 0.16);
    --border-primary: rgba(110, 86, 207, 0.3); /* Radix Accent Border */
    --border-gold: rgba(226, 161, 0, 0.25);
    
    --color-green: #30a46c;   /* Radix Jade/Green */
    --color-yellow: #e2a100;  /* Radix Amber */
    --color-red: #e5484d;     /* Radix Ruby/Red */
    
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 1px 2px rgba(0,0,0,0.3) inset,
                      0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Glowing Orbs */
body::before, body::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

body::before {
    top: 10%;
    left: 10%;
    background-color: var(--primary);
}

body::after {
    bottom: 15%;
    right: 10%;
    background-color: var(--gold);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    flex-grow: 1;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

header h1 i {
    color: var(--primary);
}

header p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
}

/* App Grid */
.app-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 992px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Style */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.card:hover {
    border-color: var(--border-hover);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
}

.card-title i {
    color: var(--primary);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.input-container {
    position: relative;
}

.input-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition);
}

.form-control {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.65rem 0.85rem 0.65rem 2.5rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.875rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.form-control:focus + i {
    color: var(--primary);
}

/* Select element styling reset */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1rem;
    padding-right: 2.25rem;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-decoration: none;
    user-select: none;
}

.btn:active {
    transform: scale(0.975);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--text-secondary);
}

.btn-gold {
    background-color: var(--gold);
    color: #111318;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.btn-danger {
    background-color: rgba(229, 72, 77, 0.1);
    border: 1px solid rgba(229, 72, 77, 0.2);
    color: #ff6a6f;
}

.btn-danger:hover {
    background-color: rgba(229, 72, 77, 0.15);
    border-color: rgba(229, 72, 77, 0.35);
}

/* Active Streamers Section */
.active-streamers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.active-streamer-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.active-streamer-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(110, 86, 207, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Pulsating Avatar Glow */
.active-streamer-card .streamer-avatar {
    background-color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(110, 86, 207, 0.3);
    animation: avatarPulse 2s infinite ease-in-out;
}

@keyframes avatarPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(110, 86, 207, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(110, 86, 207, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(110, 86, 207, 0);
    }
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.streamer-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.streamer-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.streamer-details h3 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
}

.streamer-details span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.04);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.live-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: rgba(229, 72, 77, 0.1);
    border: 1px solid rgba(229, 72, 77, 0.2);
    color: #ff6a6f;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.live-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #ff6a6f;
    border-radius: 50%;
    animation: blink 1.2s infinite;
}

/* Timer Display */
.timer-container {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    padding: 1.25rem;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.timer-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.timer-digits {
    font-size: 3rem;
    font-weight: 700;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
    transition: var(--transition);
}

/* Live Duration Colors (Dynamic Classes) */
.duration-green {
    color: var(--color-green);
    text-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}
.duration-yellow {
    color: var(--color-yellow);
    text-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
}
.duration-red {
    color: var(--color-red);
    text-shadow: 0 0 25px rgba(239, 104, 104, 0.3);
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
}

.info-subcard {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    text-align: center;
}

.info-subcard-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.info-subcard-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.active-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.active-card-actions .btn-stop {
    grid-column: span 2;
    background-color: rgba(229, 72, 77, 0.1);
    border: 1px solid rgba(229, 72, 77, 0.2);
    color: #ff6a6f;
    transition: var(--transition);
}

.active-card-actions .btn-stop:hover {
    background-color: rgba(229, 72, 77, 0.15);
    border-color: rgba(229, 72, 77, 0.35);
}

/* History Section */
.history-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.history-controls .btn {
    width: auto;
    padding: 0.5rem 1rem;
    font-size: 0.825rem;
}

/* Search & Filters Container */
.search-filter-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .search-filter-container {
        grid-template-columns: 1fr;
    }
}

.search-box, .filter-box {
    position: relative;
}

.search-box i, .filter-box i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.search-box input, .filter-box select {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.55rem 0.85rem 0.55rem 2.25rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.825rem;
    transition: var(--transition);
}

.search-box input:focus, .filter-box select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.search-box input:focus + i, .filter-box select:focus + i {
    color: var(--primary);
}

.filter-box select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.9rem;
    padding-right: 2rem;
}

/* Table Design */
.table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--border);
}

table.history-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.85rem;
}

table.history-table th {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
}

table.history-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    vertical-align: middle;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

table.history-table tbody tr {
    transition: var(--transition);
}

table.history-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

table.history-table tbody tr:last-child td {
    border-bottom: none;
}

/* Badge in table */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-green {
    background-color: rgba(48, 164, 108, 0.1);
    color: #46a772;
    border: 1px solid rgba(48, 164, 108, 0.2);
}

.badge-yellow {
    background-color: rgba(226, 161, 0, 0.1);
    color: #e2a100;
    border: 1px solid rgba(226, 161, 0, 0.2);
}

.badge-red {
    background-color: rgba(229, 72, 77, 0.1);
    color: #ff6a6f;
    border: 1px solid rgba(229, 72, 77, 0.2);
}

/* Delete Button for rows */
.btn-delete-row {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 0.375rem;
    transition: var(--transition);
}

.btn-delete-row:hover {
    color: var(--color-red);
    background-color: rgba(239, 68, 68, 0.1);
}

/* Load Button for rows */
.btn-load-row {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 0.375rem;
    transition: var(--transition);
    margin-right: 0.25rem;
}

.btn-load-row:hover {
    color: var(--primary);
    background-color: var(--primary-subtle);
}

/* Empty History State */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.08);
}

.empty-state p {
    font-weight: 300;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

footer a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--text-primary);
}

/* Keyframes */
@keyframes blink {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile optimizations for tables */
@media (max-width: 768px) {
    .table-container {
        border: none;
    }
    
    table.history-table, table.history-table thead, table.history-table tbody, table.history-table th, table.history-table td, table.history-table tr {
        display: block;
    }
    
    table.history-table thead {
        display: none; /* Hide header on mobile cards */
    }
    
    table.history-table tbody tr {
        background-color: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 0.75rem;
        margin-bottom: 1rem;
        padding: 1rem;
        position: relative;
    }
    
    table.history-table td {
        border-bottom: none;
        padding: 0.35rem 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    table.history-table td::before {
        content: attr(data-label);
        font-weight: 500;
        color: var(--text-muted);
        font-size: 0.8rem;
        text-transform: uppercase;
        margin-right: 1rem;
    }
    
    table.history-table td:last-child {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
}

/* ==========================================================================
   Stats & Analytics Styles
   ========================================================================== */

/* Stats Dashboard */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeIn 0.8s ease-out;
}

@media (max-width: 992px) {
    .stats-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-dashboard {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(110, 86, 207, 0.1);
}

.stat-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 6px;
    background-color: var(--primary-subtle);
    border: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--primary);
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background-color: var(--primary);
    color: #fff;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0.15rem;
}

/* Analytics Chart Container */
.analytics-chart-container {
    background-color: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.5s ease-out;
}

.sub-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-wrapper {
    width: 100%;
}

/* SVG Chart Elements styling */
#analytics-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.chart-bar {
    fill: var(--primary);
    rx: 4;
    ry: 4;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.chart-bar:hover {
    fill: var(--primary-hover);
    filter: drop-shadow(0 0 4px var(--primary-glow));
}

.chart-text-label {
    fill: var(--text-secondary);
    font-size: 10px;
    font-weight: 500;
    text-anchor: end;
    font-family: inherit;
}

.chart-text-value {
    fill: var(--gold);
    font-size: 10px;
    font-weight: 600;
    font-family: inherit;
}

.chart-axis-line {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1;
}

/* ==========================================================================
   Active Streamer Card Extensions
   ========================================================================== */

.active-streamer-card .active-timer {
    margin: 1.25rem 0;
    padding: 1rem;
}

.active-streamer-card .compact-cards {
    margin-bottom: 1rem;
}

.active-streamer-card .compact-subcard {
    padding: 0.75rem;
}

.active-streamer-card .compact-value {
    font-size: 0.85rem;
}

/* Alarm Controls component */
.alarm-controls {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.alarm-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.alarm-select {
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.alarm-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

/* Table customizations */
.table-streamer-name {
    font-weight: 500;
    color: #fff;
}

table.history-table th:last-child,
table.history-table td:last-child {
    text-align: center;
    width: 80px;
}

.active-streamers-section {
    display: none;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.active-streamers-section .card-title {
    border-bottom: none;
    margin-bottom: 1.25rem;
    padding-bottom: 0;
}
