/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* FONDO AZUL A BLANCO */
body {
    font-family: 'Inter', system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        135deg,
        #1e3a8a 0%,
        #3b82f6 35%,
        #93c5fd 65%,
        #ffffff 100%
    );
}

/* CONTENEDOR GLASS */
.login-container {
    width: 360px;
    padding: 36px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 30px 60px rgba(30, 58, 138, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* TÍTULO */
.login-container h2 {
    text-align: center;
    margin-bottom: 26px;
    color: #1e3a8a;
    font-weight: 600;
    letter-spacing: 0.4px;
}

/* INPUTS */
.login-container input {
    width: 100%;
    padding: 13px 15px;
    margin-bottom: 14px;
    border-radius: 12px;
    border: 1px solid rgba(30, 58, 138, 0.25);
    background: rgba(255, 255, 255, 0.75);
    color: #1e293b;
    font-size: 14px;
    outline: none;
    transition: all 0.25s ease;
}

.login-container input::placeholder {
    color: #64748b;
}

.login-container input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    background: #ffffff;
}

/* BOTÓN */
.login-container button {
    width: 100%;
    padding: 13px;
    margin-top: 10px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
    background-size: 200% 200%;
    transition: all 0.3s ease;
}

.login-container button:hover {
    background-position: 100% 50%;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.login-container button:active {
    transform: translateY(0);
}

/* ERROR */
.error {
    text-align: center;
    margin-bottom: 14px;
    padding: 9px;
    border-radius: 10px;
    font-size: 13px;
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.35);
}
/* HEADER */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.85),
        rgba(59, 130, 246, 0.85),
        rgba(255, 255, 255, 0.6)
    );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.25);
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    height: 100%;
    margin: auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
}

/* LOGO */
.logo {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.logo span {
    color: #e0f2fe;
    font-weight: 700;
}

/* BAJAR LOGIN PARA QUE NO QUEDE TAPADO */
.login-container {
    margin-top: 90px;
}
/* HEADER */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.18);
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    height: 100%;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
}

.logo span {
    font-weight: 700;
}

/* NAV */
.nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.support-btn {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #2563eb;
}

/* SELECT */
select {
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid rgba(30,58,138,.3);
    background: #fff;
    font-size: 13px;
}

/* DARK TOGGLE */
#themeToggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

/* MOBILE */
.menu-toggle {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

/* BAJAR LOGIN */
.login-container {
    margin-top: 100px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .support-btn,
    select,
    #themeToggle {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}
/* DARK MODE */
body.dark {
    background: linear-gradient(135deg, #020617, #0f172a);
}

body.dark .main-header {
    background: rgba(15, 23, 42, 0.7);
}

body.dark .logo,
body.dark .support-btn {
    color: #e5e7eb;
}

body.dark .login-container {
    background: rgba(30, 41, 59, 0.55);
}



