/* ==========================================================================
   PRÉMIUM ADMIN BEJELENTKEZÉS OLDAL (SZÍNES VERZIÓ)
   ========================================================================== */

html, body.admin-login-body {
    background-color: #030305;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh; /* min-height helyett fix height, hogy ne görgessen feleslegesen */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden !important; /* Itt a lényeg: elrejt mindent, ami kilóg! */
    box-sizing: border-box;
}

/* Színes, pulzáló neon háttér-pacnik (Blobs) */
.color-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
    animation: pulseBlob 12s infinite alternate ease-in-out;
}

.blob-1 {
    width: 450px; height: 450px;
    background: #00ff66; /* Neon zöld */
    top: -100px; left: -100px;
}

.blob-2 {
    width: 400px; height: 400px;
    background: #bf5fff; /* Neon lila */
    bottom: -150px; right: -50px;
    animation-delay: -6s;
}

@keyframes pulseBlob {
    0% { transform: scale(1) translate(0, 0); opacity: 0.25; }
    100% { transform: scale(1.2) translate(30px, -30px); opacity: 0.45; }
}

/* Háttér animáció (Canvas) és Overlay */
#loginParticles {
    position: absolute;
    top: 0; left: 0; 
    width: 100vw; height: 100vh; /* 100% helyett viewport alapú méretezés */
    z-index: 1;
    display: block; /* Hogy a canvas ne generáljon extra térközt (baseline bug) */
}

.login-overlay {
    position: absolute;
    top: 0; left: 0; 
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, rgba(3,3,5,0.4) 0%, rgba(3,3,5,0.85) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Kártya stílusok (Letisztult üveg a színek felett) */
.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    box-sizing: border-box;
}

.login-glass {
    background: rgba(12, 12, 14, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 45px 35px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Fejléc */
.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    color: #fff;
    margin: 0;
    letter-spacing: 3px;
    line-height: 1;
}

.login-header h2 .dot {
    color: #00ff66; /* Élénkebb zöld pont */
    text-shadow: 0 0 15px rgba(0, 255, 102, 0.5);
}

.login-header p {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #8a8a9a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Hibaüzenet sáv */
.login-alert {
    background: rgba(227, 27, 35, 0.1);
    border-left: 3px solid #ff1a55;
    color: #ff6b6b;
    padding: 12px 15px;
    font-size: 0.8rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(255, 26, 85, 0.1);
}

/* Form elemek */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.input-box {
    position: relative;
}

.input-box input {
    width: 100%;
    background: rgba(4, 4, 6, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 14px 15px 14px 42px;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    transition: color 0.3s ease;
}

/* Aktív (Focus) állapot: Színes neon kiemelés */
.input-box input:focus {
    border-color: #00ff66;
    box-shadow: 0 0 0 3px rgba(0, 255, 102, 0.15), inset 0 0 10px rgba(0, 255, 102, 0.05);
    background: rgba(0, 255, 102, 0.02);
}

.input-box input:focus + .input-icon {
    color: #00ff66;
}

/* Premium Checkbox */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    margin-top: 10px;
}

.premium-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.75rem;
    color: #888;
    user-select: none;
    transition: color 0.2s;
}

.premium-checkbox:hover {
    color: #bbb;
}

.premium-checkbox input {
    display: none;
}

.custom-box {
    width: 14px;
    height: 14px;
    border: 1px solid #444;
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.premium-checkbox input:checked + .custom-box {
    border-color: #00ff66;
    background: rgba(0, 255, 102, 0.1);
}

.premium-checkbox input:checked + .custom-box::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 8px; height: 8px;
    background: #00ff66;
    border-radius: 1px;
    box-shadow: 0 0 5px #00ff66;
}

/* Linkek */
.forgot-link {
    font-size: 0.75rem;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: #00ff66;
}

/* Gomb: Sötét, de hoverre felizzik */
.btn-auth {
    width: 100%;
    background: rgba(20, 20, 25, 0.8);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px;
    border-radius: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    background: rgba(0, 255, 102, 0.1);
    color: #00ff66;
    border-color: #00ff66;
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.2);
}

.btn-auth .btn-icon {
    transition: transform 0.3s;
}

.btn-auth:hover .btn-icon {
    transform: translateX(5px);
}

/* Lábléc */
.login-footer {
    margin-top: 35px;
    text-align: center;
}

.login-footer a {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.login-footer a:hover {
    color: #fff;
}

/* ==========================================================================
   MOBIL RESZPONZIVITÁS (TELEFONOS NÉZET JAVÍTÁSA)
   ========================================================================== */

@media (max-width: 480px) {
    /* A külső konténer kapjon egy kis extra távolságot a képernyő szélétől */
    .login-container {
        padding: 15px !important;
    }

    /* A belső üveg kártya margóinak drasztikus csökkentése */
    .login-glass {
        padding: 35px 20px !important;
        border-radius: 12px !important;
    }

    /* A főcím kisebb legyen, hogy ne törjön el hülyén */
    .login-header {
        margin-bottom: 30px !important;
    }

    .login-header h2 {
        font-size: 2.2rem !important;
        letter-spacing: 2px !important;
    }

    .login-header p {
        font-size: 0.65rem !important;
        letter-spacing: 1px !important;
    }

    /* Input mezők és formázások finomítása */
    .form-group {
        margin-bottom: 18px !important;
    }

    .input-box input {
        font-size: 0.85rem !important;
        padding: 12px 15px 12px 38px !important;
    }

    /* Linkek és Checkbox kisebb betűvel */
    .form-actions {
        margin-bottom: 25px !important;
    }

    .premium-checkbox {
        font-size: 0.65rem !important;
    }

    .forgot-link {
        font-size: 0.65rem !important;
    }

    /* Belépés gomb igazítása */
    .btn-auth {
        padding: 12px !important;
        font-size: 0.8rem !important;
    }

    /* A háttérben lévő neon foltok kisebbre vétele, hogy ne terheljék a mobilt */
    .color-blob.blob-1 {
        width: 300px !important; 
        height: 300px !important;
    }

    .color-blob.blob-2 {
        width: 250px !important; 
        height: 250px !important;
    }
}

#setlistItems {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.setlist-item {
    display: flex;
    align-items: center;
    background: #1e1e2a;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #2e2e42;
}
.drag-handle {
    cursor: grab;
    user-select: none;
    font-size: 1.2rem;
    padding: 0 5px;
}
/* Sortable ghost class - amikor húzod, ez látszik */
.sortable-ghost {
    opacity: 0.4;
    background: #2e2e42;
}