/* ===========================================================
   DJHandsFree — CLEAN NEON UI (FINAL BUILD)
   =========================================================== */

/* GLOBAL --------------------------------------------------- */
:root {
    --bg: #05060d;
    --panel: #0b0c14;
    --accent: #00eaff;
    --accent-glow: rgba(0, 234, 255, 0.7);
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

/* NAVBAR --------------------------------------------------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: #000;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(0, 234, 255, 0.25);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent);
    text-shadow: 0 0 12px var(--accent), 0 0 25px var(--accent);
    text-decoration: none;
}

/* HAMBURGER ------------------------------------------------ */
.nav-toggle { display: none; }

.hamburger {
    width: 34px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1200;
}

.hamburger span {
    height: 4px;
    width: 100%;
    border-radius: 5px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    transition: 0.35s ease;
}

.nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
}
.nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* DROPDOWN PANEL FIX — ALWAYS FULL HEIGHT ------------------ */
.nav-panel {
    position: fixed !important;
    top: 70px;
    right: 12px;
    width: 260px;
    max-height: calc(100vh - 90px);
    overflow-y: auto !important;
    background: rgba(0,0,0,0.92);
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(0, 234, 255, 0.25);
    box-shadow: 0 0 25px rgba(0, 234, 255, 0.6);
    backdrop-filter: blur(6px);
    display: none;
    z-index: 9999 !important;
}

.nav-toggle:checked ~ .nav-panel {
    display: block !important;
}

/* NAV LINKS ------------------------------------------------ */
.nav-links { list-style: none; padding: 0; margin: 0; }
.nav-links li { padding: 14px 0; }
.nav-links a {
    color: var(--accent);
    font-size: 22px;
    text-decoration: none;
    text-shadow: 0 0 10px var(--accent);
}

/* INPUTS --------------------------------------------------- */
input, textarea, select {
    width: 100%;
    padding: 14px;
    background: #0c0f1a;
    border: 2px solid var(--accent);
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 234, 255, 0.25) inset;
    box-sizing: border-box;
}

/* BUTTONS -------------------------------------------------- */
button,
input[type=submit] {
    width: 100%;
    padding: 16px;
    background: var(--accent) !important;
    border: none;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(0, 234, 255, 0.8), 0 0 50px rgba(0, 234, 255, 0.3);
}

button:hover,
input[type=submit]:hover {
    background: #00ffff !important;
    box-shadow: 0 0 40px var(--accent);
}

/* HEADERS -------------------------------------------------- */
h1, h2, h3 {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent);
}

/* LOGIN PAGE ----------------------------------------------- */
.login-wrapper {
    width: 92%;
    max-width: 420px;
    margin: 110px auto 40px auto;
    text-align: center;
}

.login-wrapper h1 {
    font-size: 2.4rem;
    margin-bottom: 26px;
    text-shadow: 0 0 12px var(--accent);
}

.login-wrapper input {
    margin-bottom: 18px;
}

/* CONTACT PAGE — CLEAN + CENTERED --------------------------- */
.contact-wrapper {
    width: 92%;
    max-width: 420px;
    margin: 110px auto 50px auto;
}

.contact-wrapper form {
    width: 100%;
}

.contact-wrapper input,
.contact-wrapper textarea,
.contact-wrapper button {
    width: 100% !important;
}

/* Flash messages */
.flash-messages {
    margin-top: 20px;
    list-style: none;
    padding: 0;
    text-align: center;
}

.flash-messages li {
    color: white;
    font-size: 1.1rem;
    text-shadow: 0 0 8px var(--accent);
}

/* TABLES --------------------------------------------------- */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; }
th { background: rgba(255,255,255,0.07); }
td { background: rgba(255,255,255,0.04); }
tr:nth-child(even) td { background: rgba(255,255,255,0.06); }
/* ===========================================================
   FINAL CENTERING + WIDTH FIX (ADDED BY CHATGPT)
   =========================================================== */

/* Hard-center any form container */
.page-content,
.container,
.contact-container,
.contact-form,
form {
    max-width: 420px !important;
    width: 92% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Inputs/buttons always full width and centered */
.page-content input,
.page-content textarea,
.page-content select,
.page-content button,
.page-content input[type="submit"] {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
}

/* Remove any inherited text-centering affecting layout */
* {
    text-align: left;
}


/* ================================================
   GLOBAL PERFECT CENTERING FIX — ADDED LIVE
   ================================================ */
.page-content,
.container,
.contact-container,
.contact-form,
form {
}

.page-content input,
.page-content textarea,
.page-content button,
.page-content input[type=submit] {
}

