/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0f172a;
    color: #f1f5f9;
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Full-width Navbar */
.navbar {
    width: 100%;
    background: #0f172a;
    padding: 1rem 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand a {
    color: #38bdf8;
    font-size: 1.4rem;
    text-decoration: none;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

.nav-user span {
    margin-right: 0.5rem;
    color: #a5f3fc;
}

.btn.logout {
    background: #ef4444;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* Universal Containers */
main {
    padding: 2.5rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.form-container,
.dashboard-wrapper,
.games-container,
.musichub-container,
.sheets-container,
.admin-panel {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}

/* Input & Form Fields */
input,
textarea,
select,
button {
    width: 100%;
    padding: 0.7rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 6px;
    background: #1e293b;
    color: #f8fafc;
}

button.btn.primary {
    background: #38bdf8;
    color: #0f172a;
    font-weight: bold;
    transition: background 0.3s;
}

button.btn.primary:hover {
    background: #0ea5e9;
}

/* Flash Messages */
.success-box,
.error-box {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.success-box {
    background: #166534;
    color: #d1fae5;
}

.error-box {
    background: #7f1d1d;
    color: #fee2e2;
}

/* Footer */
footer {
    width: 100%;
    background: #0f172a;
    text-align: center;
    padding: 1rem 0;
    color: #94a3b8;
    font-size: 0.85rem;
    position: relative;
}