/* ======================================================
   COLLEGE ANNOUNCEMENT SYSTEM - MODERN UI
   Professional Dark Theme with Glass Morphism
====================================================== */

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

/* ======================================================
   CSS VARIABLES
====================================================== */
:root {
    --bg-primary: #06080f;
    --bg-secondary: #0c101b;
    --bg-card: rgba(15, 20, 35, 0.8);
    --bg-card-solid: #0f1423;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-input: rgba(255, 255, 255, 0.05);
    --bg-hover: rgba(255, 255, 255, 0.06);

    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.25);

    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --accent-glow: rgba(6, 182, 212, 0.2);

    --success: #10b981;
    --success-light: #34d399;
    --success-bg: rgba(16, 185, 129, 0.1);
    --success-border: rgba(16, 185, 129, 0.3);

    --danger: #f43f5e;
    --danger-light: #fb7185;
    --danger-bg: rgba(244, 63, 94, 0.1);
    --danger-border: rgba(244, 63, 94, 0.3);

    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --warning-border: rgba(245, 158, 11, 0.3);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #0f172a;

    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-focus: rgba(99, 102, 241, 0.5);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--primary-glow);

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(99, 102, 241, 0.12), transparent),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(6, 182, 212, 0.06), transparent),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(99, 102, 241, 0.06), transparent);
    pointer-events: none;
    z-index: 0;
}

/* ======================================================
   LINKS
====================================================== */
a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-light);
}

/* ======================================================
   LAYOUT
====================================================== */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px;
}

/* ======================================================
   PAGE HEADER
====================================================== */
.page-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.page-header h2 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.page-header .breadcrumb a {
    color: var(--text-muted);
    font-weight: 500;
}

.page-header .breadcrumb a:hover {
    color: var(--primary-light);
}

.page-header .breadcrumb .sep {
    opacity: 0.4;
}

/* ======================================================
   CARDS
====================================================== */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

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

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ======================================================
   STAT CARDS (DASHBOARD)
====================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stat-card.primary::before { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.stat-card.accent::before { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.stat-card.success::before { background: linear-gradient(90deg, var(--success), var(--success-light)); }
.stat-card.warning::before { background: linear-gradient(90deg, var(--warning), var(--warning-light)); }
.stat-card.danger::before { background: linear-gradient(90deg, var(--danger), var(--danger-light)); }

.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-light);
    box-shadow: var(--shadow);
}

.stat-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.stat-card.primary .stat-icon { background: var(--primary-glow); }
.stat-card.accent .stat-icon { background: var(--accent-glow); }
.stat-card.success .stat-icon { background: var(--success-bg); }
.stat-card.warning .stat-icon { background: var(--warning-bg); }
.stat-card.danger .stat-icon { background: var(--danger-bg); }

.stat-card .stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ======================================================
   HEADINGS
====================================================== */
h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-light);
}

/* ======================================================
   FORMS
====================================================== */
form {
    max-width: 560px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

select option {
    background: #1a1f35;
    color: #f1f5f9;
    padding: 10px;
}

select option:hover,
select option:checked {
    background: #2d3555;
    color: #fff;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

input[type="file"] {
    padding: 10px;
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    margin-right: 12px;
    transition: background var(--transition);
}

input[type="file"]::file-selector-button:hover {
    background: var(--primary-dark);
}

textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 28px 0;
}

/* ======================================================
   BUTTONS
====================================================== */
button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

button:hover,
.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

button:active,
.btn:active {
    transform: translateY(0) scale(0.98);
}

/* Button Variants */
.btn-success {
    background: var(--success);
}
.btn-success:hover {
    background: #059669;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.btn-danger,
button.danger {
    background: var(--danger);
}
.btn-danger:hover,
button.danger:hover {
    background: #e11d48;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.25);
}

.btn-warning {
    background: var(--warning);
    color: var(--text-inverse);
}
.btn-warning:hover {
    background: #d97706;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    border-color: var(--border-light);
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--primary-light);
    box-shadow: none;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    box-shadow: none;
    transform: none;
}

/* Size Variants */
.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius);
}

.btn-full {
    width: 100%;
}

/* Button Group */
.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ======================================================
   NAVIGATION
====================================================== */
.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-input);
    padding: 10px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.nav a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.nav a.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.nav a.logout {
    background: var(--danger-bg);
    border-color: var(--danger-border);
    color: var(--danger-light);
}
.nav a.logout:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.25);
}

/* ======================================================
   TABLES
====================================================== */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 14px 18px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

table td {
    color: var(--text-primary);
}

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

table tbody tr:hover {
    background: var(--bg-hover);
}

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

/* ======================================================
   BADGES
====================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge.pending {
    background: var(--warning-bg);
    color: var(--warning-light);
    border: 1px solid var(--warning-border);
}

.badge.approved {
    background: var(--success-bg);
    color: var(--success-light);
    border: 1px solid var(--success-border);
}

.badge.rejected {
    background: var(--danger-bg);
    color: var(--danger-light);
    border: 1px solid var(--danger-border);
}

/* ======================================================
   NOTIFICATIONS
====================================================== */
.notification {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    padding: 18px 20px;
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 12px;
    transition: all var(--transition);
}

.notification:hover {
    background: var(--bg-hover);
    border-left-color: var(--accent);
}

.notification small {
    color: var(--text-muted);
    font-size: 12px;
}

/* ======================================================
   ALERTS / MESSAGES
====================================================== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    color: var(--success-light);
}

.alert-danger {
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
    color: var(--danger-light);
}

.alert-warning {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    color: var(--warning-light);
}

.alert-info {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary-light);
}

/* ======================================================
   AUDIO PLAYER
====================================================== */
audio {
    width: 100%;
    margin-top: 12px;
    border-radius: var(--radius);
    outline: none;
}

audio::-webkit-media-controls-panel {
    background: var(--bg-card-solid);
}

/* ======================================================
   LOGIN PAGE
====================================================== */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.login-box {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 40px 36px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    z-index: 1;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    border-radius: 0 0 var(--radius) var(--radius);
}

.login-box .logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 32px var(--primary-glow);
}

.login-box h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.login-box .subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

.login-box form {
    max-width: 100%;
    text-align: left;
}

.login-box input {
    background: rgba(255, 255, 255, 0.05);
}

.login-box button {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    font-size: 15px;
    border-radius: var(--radius);
}

.login-box .footer-text {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ======================================================
   LANDING PAGE
====================================================== */
.landing-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.landing-card {
    text-align: center;
    max-width: 520px;
    width: 100%;
    padding: 48px 40px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.landing-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.2), transparent 50%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.landing-card .logo-container {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
    box-shadow: 0 12px 40px var(--primary-glow);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.landing-card h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-card .tagline {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 36px;
}

.landing-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.landing-actions .btn {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: var(--radius);
    justify-content: center;
}

.landing-footer {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ======================================================
   ANNOUNCEMENT CARDS (approve page)
====================================================== */
.announcement-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.announcement-card:hover {
    border-color: var(--border-light);
    background: var(--bg-hover);
}

.announcement-card .ann-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.announcement-card .ann-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.announcement-card .ann-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.announcement-card .ann-actions {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 16px;
}

.announcement-card .ann-actions form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.announcement-card .ann-actions input[type="text"] {
    margin-bottom: 0;
    min-width: 200px;
    flex: 1;
}

/* ======================================================
   EMPTY STATE
====================================================== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 15px;
}

/* ======================================================
   LOCATION PLAYER PAGE
====================================================== */
.player-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.player-card {
    width: 100%;
    max-width: 560px;
    text-align: center;
    padding: 48px 36px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.player-card .location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-glow);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.player-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.player-card .now-playing {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.player-card #title {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 20px;
    min-height: 28px;
}

.player-card audio {
    margin-bottom: 24px;
}

.player-card .visualizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 40px;
    margin-bottom: 24px;
}

.player-card .visualizer .bar {
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
    animation: pulse-bar 1s ease-in-out infinite;
}

.player-card .visualizer .bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.player-card .visualizer .bar:nth-child(2) { height: 35px; animation-delay: 0.15s; }
.player-card .visualizer .bar:nth-child(3) { height: 25px; animation-delay: 0.3s; }
.player-card .visualizer .bar:nth-child(4) { height: 40px; animation-delay: 0.45s; }
.player-card .visualizer .bar:nth-child(5) { height: 15px; animation-delay: 0.6s; }
.player-card .visualizer .bar:nth-child(6) { height: 30px; animation-delay: 0.75s; }
.player-card .visualizer .bar:nth-child(7) { height: 20px; animation-delay: 0.9s; }

@keyframes pulse-bar {
    0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ======================================================
   RECORDING UI
====================================================== */
.record-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.record-controls button {
    border-radius: var(--radius);
}

.recording-indicator {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--danger);
    font-size: 13px;
    font-weight: 600;
}

.recording-indicator .rec-dot {
    width: 10px;
    height: 10px;
    background: var(--danger);
    border-radius: 50%;
    animation: rec-pulse 1s ease-in-out infinite;
}

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

/* ======================================================
   TEXT HELPERS
====================================================== */
small {
    color: var(--text-muted);
    font-size: 13px;
}

.text-center {
    text-align: center;
}

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

.text-success {
    color: var(--success-light);
}

.text-danger {
    color: var(--danger-light);
}

.text-warning {
    color: var(--warning-light);
}

/* ======================================================
   BACK LINK
====================================================== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    margin-top: 24px;
    padding: 8px 0;
    transition: color var(--transition);
}

.back-link:hover {
    color: var(--primary-light);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* ======================================================
   SECTION DIVIDER
====================================================== */
.divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

/* ======================================================
   SCROLLBAR
====================================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

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

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.card {
    animation: fadeIn 0.4s ease forwards;
}

.stat-card:nth-child(1) { animation: fadeIn 0.4s ease 0.05s both; }
.stat-card:nth-child(2) { animation: fadeIn 0.4s ease 0.1s both; }
.stat-card:nth-child(3) { animation: fadeIn 0.4s ease 0.15s both; }
.stat-card:nth-child(4) { animation: fadeIn 0.4s ease 0.2s both; }

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    h1 { font-size: 24px; }
    h2 { font-size: 20px; }

    .page-header h2 { font-size: 22px; }

    .card {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 18px;
    }

    .stat-card .stat-value {
        font-size: 24px;
    }

    .nav {
        flex-direction: column;
    }

    .nav a {
        justify-content: center;
    }

    table th,
    table td {
        padding: 10px 14px;
        font-size: 13px;
    }

    .landing-card {
        padding: 36px 24px;
    }

    .login-box {
        padding: 32px 24px;
    }

    .player-card {
        padding: 36px 24px;
    }

    .announcement-card .ann-actions {
        flex-direction: column;
    }

    .announcement-card .ann-actions input[type="text"] {
        min-width: 100%;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-group .btn {
        width: 100%;
        justify-content: center;
    }
}

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

    .landing-card h1 {
        font-size: 22px;
    }

    .announcement-card .ann-meta {
        flex-direction: column;
        gap: 6px;
    }
}

/* ======================================================
   PRINT STYLES
====================================================== */
@media print {
    body::before {
        display: none;
    }

    .card, .stat-card {
        background: #fff;
        color: #000;
        border: 1px solid #ddd;
        box-shadow: none;
    }

    .nav, button, .btn {
        display: none;
    }
}
