/* WebRadio FM - Complete Stylesheet with Original Theme + New Features */

/* ===== CSS VARIABLES - ORIGINAL SEENWAVE THEME ===== */
:root {
    /* Primary Colors - Original SeenWave */
    --primary-gradient: linear-gradient(115deg, #62cff4, #ff00ff);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

    /* Glassmorphism - Original */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-backdrop: blur(20px);

    /* Dark Theme Colors - Original */
    --bg-primary: #0a0a0a;
    --bg-secondary: rgba(18, 18, 18, 0.8);
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Interactive States - Original */
    --hover-scale: 1.05;
    --active-scale: 0.98;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* New Variables for Enhanced Features */
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-error: #ef4444;
    --border-primary: rgba(255, 255, 255, 0.3);
    --border-secondary: rgba(255, 255, 255, 0.1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== BACKGROUND - ORIGINAL ===== */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #C9CCD3;
    background-image: linear-gradient(135deg, #434343 0%, black 100%);
    z-index: -2;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

/* ===== GLASSMORPHISM COMPONENTS - ORIGINAL ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.glass-panel {
    background: transparent;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-btn {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(var(--hover-scale));
}

.glass-btn:active {
    transform: scale(var(--active-scale));
}

/* ===== HEADER & NAVIGATION - ORIGINAL DESIGN ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 32px;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
    margin-left: 0;
    padding-left: 0;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-symbol {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 300;
    color: transparent;
    background: linear-gradient(115deg, #62cff4, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    border-radius: 50%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 0 20px rgba(98, 207, 244, 0.3),
        0 0 40px rgba(255, 0, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
}

.station-name {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.3));
    text-shadow: 0 0 12px rgba(102, 126, 234, 0.2);
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 0;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nav-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.nav-btn.active {
    color: white;
    background: var(--primary-gradient);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.nav-btn i {
    font-size: 16px;
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
}

.admin-login {
    color: var(--text-primary);
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-login.logged-in {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

/* ===== MAIN CONTENT & VISUALIZER - ORIGINAL ===== */
.main-content {
    position: relative;
    margin-top: 88px;
    min-height: calc(100vh - 88px - 100px);
    overflow: hidden;
}

#visualizer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
}

.page {
    position: relative;
    z-index: 2;
    display: none;
    min-height: 100%;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page.active {
    display: block;
}

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

/* ===== SOCIAL CARDS - ORIGINAL POSITIONS ===== */
.social-profiles-card {
    position: fixed;
    top: 120px;
    right: 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    color: white;
    z-index: 100;
    min-width: 280px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chat-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0 0 16px 0;
    text-align: center;
}

.revolt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    width: 100%;
    margin-bottom: 10px;
}

.revolt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.5);
    background: linear-gradient(135deg, #5db8ff 0%, #1ff5ff 100%);
}

.revolt-logo {
    color: white;
    flex-shrink: 0;
}

.socials-card {
    position: fixed;
    bottom: 160px;
    right: 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    color: white;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.social-links-horizontal {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    flex: 1;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-logo {
    border-radius: 6px;
}

.social-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== NOW PLAYING CARD - ORIGINAL STYLE ===== */
.current-track-card {
    position: absolute;
    top: 32px;
    left: 32px;
    width: 380px;
    padding: 24px;
    display: block;
    min-height: 160px;
    z-index: 10;
}

.now-playing-header {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.now-playing-title {
    font-size: 26px !important;
    font-weight: 700;
    color: #a1deff !important;
    margin: 0;
    letter-spacing: 0.5px;
}

.track-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.track-artist {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 6px 0;
}

.track-album {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    min-height: 20px;
}

.live-indicator-enhanced {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 800;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: livePulse 2s infinite;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 68, 68, 0.6);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.08);
        box-shadow: 0 0 30px rgba(255, 68, 68, 0.9);
    }
}

/* ===== STREAM STATUS INFO - NEW ===== */
.stream-status-info {
    position: absolute;
    top: 220px;
    left: 32px;
    width: 300px;
    padding: 20px;
    z-index: 10;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.live-indicator-simple {
    padding: 6px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.listener-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 14px;
}

.listener-info i {
    color: #4facfe;
}

.stream-quality-info {
    display: flex;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.info-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-weight: 600;
    color: #4facfe;
    font-size: 14px;
}

/* ===== LISTENERS DISPLAY - ORIGINAL ===== */
.listeners-display {
    position: fixed !important;
    bottom: 25px;
    right: 25px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    padding: 10px 16px;
    border-radius: 25px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    display: flex !important;
    align-items: center;
    gap: 8px;
    z-index: 2000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.listeners-display:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.listeners-display i {
    color: #4facfe;
}

/* ===== PAGES CONTENT ===== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

/* ===== PAGE CONTROLS CENTERED ===== */
.page-controls-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 32px auto;
    max-width: 1000px;
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    flex-wrap: wrap;
}

.page-controls-center .search-input-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.page-controls-center .archive-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.page-controls-center .filter-select,
.page-controls-center .filter-input {
    min-width: 120px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 16px;
}

.search-input {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 12px 16px 12px 48px;
    font-size: 16px;
    width: 100%;
    transition: var(--transition-smooth);
}

.search-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.archive-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-select,
.filter-input {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition-smooth);
    min-width: 150px;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ===== CONTAINERS ===== */
.schedule-container,
.archives-container,
.shows-container,
.users-container {
    padding: 20px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.schedule-list,
.archives-list,
.shows-list,
.users-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* ===== CARDS - CONSISTENT WITH ORIGINAL STYLE ===== */
.show-card,
.archive-item,
.user-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    color: white;
    transition: all 0.3s ease;
}

.show-card:hover,
.archive-item:hover,
.user-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 32px;
    color: var(--text-muted);
    gap: 16px;
}

.loading-state i {
    font-size: 32px;
    margin-bottom: 8px;
}

/* ===== BUTTONS - ORIGINAL STYLE ===== */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

.btn-small {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: var(--glass-bg);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.btn-small:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.btn-register {
    background: transparent;
    border: 2px solid rgba(79, 172, 254, 0.5);
    color: #4facfe;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-register:hover {
    background: rgba(79, 172, 254, 0.1);
    color: white;
    border-color: #4facfe;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

/* ===== PLAYER - ORIGINAL DESIGN ===== */
.player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 32px;
}

.player-content {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    align-items: center;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.player-left {
    display: flex;
    align-items: center;
}

.player-track-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.player-artwork {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.player-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.player-artist {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.player-center {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.control-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.control-btn:hover:not(:disabled) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.control-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.play-btn-main {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.play-btn-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 16px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #4facfe;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.time-current,
.time-total {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.stream-bitrate {
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    width: 0%;
    transition: width 0.3s ease;
}

.player-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.volume-btn,
.expand-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.volume-btn:hover,
.expand-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.volume-slider-wrapper {
    width: 100px;
}

.volume-slider {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary-gradient);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* ===== AUTHENTICATION MODALS ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    animation: modalFadeIn 0.3s ease;
}

.modal {
    width: 100%;
    max-width: 450px;
    padding: 0;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 32px 32px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 0 32px 32px;
}

/* ===== AUTH TABS ===== */
.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    margin: 20px 32px 0;
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.auth-tab.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

/* ===== AUTH FORMS ===== */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.form-input {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.auth-submit {
    width: 100%;
    margin-top: 20px;
}

/* ===== USER PANEL ===== */
.user-panel {
    position: fixed;
    top: 88px;
    right: -400px;
    width: 380px;
    height: calc(100vh - 88px);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border-left: 1px solid var(--glass-border);
    z-index: 1500;
    transition: all 0.3s ease;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
}

.user-panel.show {
    right: 0;
}

.user-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.user-details h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-role {
    font-size: 12px;
    color: #4facfe;
    font-weight: 500;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-email {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.panel-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--glass-bg);
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-close:hover {
    background: var(--accent-error);
    color: white;
}

.user-panel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.panel-navigation {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--glass-border);
}

.panel-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-align: left;
    font-weight: 500;
}

.panel-nav-btn:hover,
.panel-nav-btn.active {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.panel-nav-btn.active {
    border-right: 3px solid #4facfe;
    background: rgba(79, 172, 254, 0.1);
}

.panel-sections {
    flex: 1;
    overflow-y: auto;
}

.panel-section {
    display: none;
    padding: 24px;
}

.panel-section.active {
    display: block;
}

.panel-footer {
    padding: 24px;
    border-top: 1px solid var(--glass-border);
}

/* ===== CALENDAR INTEGRATION ===== */
.calendar-wrapper {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    min-height: 600px;
}

/* ===== MODALS - CONSISTENT STYLING ===== */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== NOTIFICATIONS SYSTEM ===== */
.notification-container {
    position: fixed;
    top: 120px;
    right: 320px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 350px;
    width: 100%;
}

.notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    color: var(--text-primary);
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.notification-message {
    font-weight: 500;
    font-size: 14px;
}

.notification-close {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.notification-info {
    border-left: 4px solid #4facfe;
}

.notification-success {
    border-left: 4px solid var(--accent-success);
}

.notification-warning {
    border-left: 4px solid var(--accent-warning);
}

.notification-error {
    border-left: 4px solid var(--accent-error);
}

.notification-info i {
    color: #4facfe;
}

.notification-success i {
    color: var(--accent-success);
}

.notification-warning i {
    color: var(--accent-warning);
}

.notification-error i {
    color: var(--accent-error);
}

/* ===== LOADING STATES ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.5s ease;
}

.loading-overlay.fade-out {
    opacity: 0;
}

.loading-spinner {
    font-size: 48px;
    color: #4facfe;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 1.2em;
    color: var(--text-secondary);
}

/* ===== FAVORITES SYSTEM ===== */
.favorites-section h3,
.profile-section h3,
.admin-section h3,
.host-section h3 {
    margin: 0 0 20px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-primary);
}

.favorites-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
}

.favorites-tab {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.favorites-tab.active {
    background: var(--primary-gradient);
    color: white;
}

.favorites-list {
    max-height: 300px;
    overflow-y: auto;
}

.favorite-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.favorite-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== ADMIN CONTROLS ===== */
.admin-section {
    color: var(--text-primary);
}

.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-action-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.admin-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #4facfe;
}

.admin-action-btn i {
    font-size: 18px;
    color: #4facfe;
    margin-bottom: 4px;
}

.admin-action-btn span {
    font-weight: 600;
    font-size: 14px;
}

.admin-action-btn small {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.3;
}

/* ===== VISIBILITY CONTROLS ===== */
.admin-only,
.host-only {
    display: none;
}

body.admin .admin-only,
body.host .host-only,
body.admin .host-only {
    display: flex;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .logo-symbol {
        font-size: 40px;
        width: 45px;
        height: 45px;
    }

    .station-name {
        font-size: 3rem;
    }

    .current-track-card {
        width: 320px;
    }

    .social-profiles-card,
    .socials-card {
        right: 20px;
        min-width: 260px;
    }

    .player-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .player-right {
        justify-content: center;
    }

    .notification-container {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
    }

    .logo-symbol {
        font-size: 36px;
        width: 40px;
        height: 40px;
    }

    .station-name {
        font-size: 2.5rem;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-btn span {
        display: none;
    }

    .current-track-card {
        position: relative;
        top: auto;
        left: auto;
        width: calc(100% - 32px);
        margin: 16px;
    }

    .stream-status-info {
        position: relative;
        top: auto;
        left: auto;
        width: calc(100% - 32px);
        margin: 16px;
    }

    .social-profiles-card {
        right: 16px;
        top: auto;
        bottom: 200px;
        min-width: 250px;
        padding: 16px;
    }

    .socials-card {
        right: 16px;
        bottom: 120px;
        padding: 16px;
    }

    .social-links-horizontal {
        gap: 10px;
    }

    .listeners-display {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .player-container {
        padding: 16px 20px;
    }

    .volume-slider-wrapper {
        display: none;
    }

    .track-title {
        font-size: 20px;
    }

    .track-artist {
        font-size: 16px;
    }

    .page-header {
        flex-direction: column;
        gap: 16px;
        margin: 16px;
    }

    .archive-search-section {
        width: 100%;
    }

    .archive-filters {
        justify-content: space-between;
    }

    .filter-select,
    .filter-input {
        min-width: 100px;
        flex: 1;
    }

    .user-panel {
        width: 100%;
        right: -100%;
    }

    .notification-container {
        right: 16px;
        left: 16px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .modal {
        width: 95%;
        margin: 0;
    }

    .modal-body,
    .modal-header {
        padding: 20px;
    }

    .auth-tabs {
        margin: 15px 20px 0;
    }

    .schedule-container,
    .archives-container,
    .shows-container,
    .users-container {
        padding: 16px;
    }

    .archive-filters {
        flex-direction: column;
        gap: 8px;
    }

    .filter-select,
    .filter-input {
        min-width: 100%;
    }
}

/* ===== ANIMATIONS - ORIGINAL ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ===== SCROLLBAR STYLING - ORIGINAL ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}

/* ===== ARCHIVE ITEMS SPECIFIC ===== */
.archive-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.archive-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: var(--glass-bg);
}

.archive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-placeholder {
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 32px;
}

.archive-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.archive-header h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-primary);
}

.archive-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85em;
    color: var(--text-secondary);
}

.archive-description {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9em;
}

.archive-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== USER MANAGEMENT ===== */
.users-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.user-card-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.user-name {
    margin: 0 0 4px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-primary);
}

.user-card .user-email {
    margin: 0 0 6px 0;
    color: var(--text-muted);
    font-size: 0.8em;
}

.user-card .user-role {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--primary-gradient);
    color: white;
}

.user-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

/* ===== SHOWS PAGE SPECIFIC ===== */
.show-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    background: var(--glass-bg);
}

.show-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.show-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 48px;
}

.show-info {
    color: var(--text-primary);
}

.show-title {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.show-host {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 8px;
}

.show-description {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.85em;
    margin-bottom: 16px;
}

/* ===== FORM VALIDATION ===== */
.form-input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: var(--accent-error);
    background: rgba(239, 68, 68, 0.05);
}

.form-input:valid:not(:placeholder-shown):not(:focus) {
    border-color: var(--accent-success);
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== NO-CONTENT STATES ===== */
.no-archives,
.no-favorites,
.no-shows,
.no-users {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-archives i,
.no-favorites i,
.no-shows i,
.no-users i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #4facfe;
}

.no-archives h3,
.no-favorites h4,
.no-shows h3,
.no-users h3 {
    margin: 0 0 12px 0;
    font-size: 1.5em;
    color: var(--text-primary);
}

.no-archives p,
.no-favorites p,
.no-shows p,
.no-users p {
    margin: 0;
    font-size: 1em;
    color: var(--text-secondary);
}

/* ===== CALENDAR SPECIFIC STYLES ===== */
.fc {
    background: transparent;
    color: var(--text-primary);
    border: none;
}

.fc-theme-standard .fc-scrollgrid {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.fc-theme-standard td,
.fc-theme-standard th {
    border-color: var(--glass-border);
}

.fc-button {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    border-radius: 8px !important;
}

.fc-button:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.fc-button-active {
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
}

.fc-event {
    background: #4facfe !important;
    border-color: #4facfe !important;
    border-radius: 4px;
}

.fc-event.fc-event-live {
    background: var(--accent-error) !important;
    border-color: var(--accent-error) !important;
    animation: pulse 2s infinite;
}

.fc-toolbar-title {
    color: var(--text-primary);
    font-weight: 600;
}

.fc-col-header-cell {
    background: rgba(255, 255, 255, 0.05);
}

.fc-daygrid-day-number {
    color: var(--text-primary);
}

.fc-day-today {
    background: rgba(79, 172, 254, 0.1) !important;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.p-4 { padding: 1rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.gpu-accelerate {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ===== MODERN CSS FEATURES SUPPORT ===== */
@supports (backdrop-filter: blur(20px)) {
    .glass-card,
    .header,
    .user-panel {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

@supports not (backdrop-filter: blur(20px)) {
    .glass-card {
        background: var(--bg-secondary);
    }

    .header,
    .user-panel {
        background: var(--bg-secondary);
    }
}

/* ===== DEBUG HELPERS ===== */
@media (max-width: 0) {
    .debug-outline * {
        outline: 1px solid red !important;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .live-indicator-enhanced,
    .live-dot {
        animation: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .player-container,
    .social-profiles-card,
    .socials-card,
    .listeners-display,
    .user-panel,
    #visualizer {
        display: none !important;
    }

    .main-content {
        margin: 0;
        padding: 20px;
    }

    .page {
        display: block !important;
    }
}
