/* =====================================================
   Media Player V6 – Common / Shared Styles
   ===================================================== */

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

body, html {
    font-family: 'Segoe UI', system-ui, Tahoma, Verdana, sans-serif;
    background: #222233;
    color: #eee;
    min-height: 100vh;
}

a { color: #88aaff; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Buttons */
button, .btn, .btn-primary {
    padding: 10px 16px;
    background: #6677ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}
button:hover, .btn:hover, .btn-primary:hover {
    background: #5555ff;
}

/* Forms */
input[type="text"],
input[type="password"],
input[type="file"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #333366;
    border-radius: 6px;
    background: #222244;
    color: #eee;
    font-size: 1rem;
}

label {
    display: block;
    margin: 10px 0 5px;
    color: #77aaff;
}

.error {
    color: #ff5555;
    margin: 10px 0;
}

/* Navbar (used on many pages) */
.navbar {
    background: #141426;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #2a2a44;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.navbar-left, .navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-link {
    color: #eee;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.2s;
    text-decoration: none !important;
}
.nav-link:hover { background: #333366; }
.nav-link.active { background: #6677ff; color: white; }

.hamburger {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #eee;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .navbar-left { display: none; }
    .navbar-left.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #141426; padding: 1rem; }
}
