/* =====================
   RESET & BASE
===================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =====================
   FONDO BLUREADO
===================== */
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
    background: #000;
}

.bg-blur {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://dakart.erikai.net/images/dakart_top.webp') no-repeat center center;
    background-size: cover;
    filter: blur(10px) brightness(0.4);
    transform: scale(1.05);
    z-index: 0;
}

/* =====================
   VENTANA DE LOGIN
===================== */
.login-window {
    position: relative;
    z-index: 1;
    width: 460px;
    background: #000;
    border: 2px solid #cc0000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 25px rgba(200, 0, 0, 0.7),
        0 0 60px rgba(200, 0, 0, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.8);
}

/* =====================
   BANNER INTERNO
===================== */
.login-banner {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.login-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================
   LOGO + TÍTULO
===================== */
.login-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 18px 0 0;
    background: #000;
    width: 100%;
}

.login-logo {
    max-height: 60px;
    filter: drop-shadow(0 0 8px #ff0000) drop-shadow(0 0 18px #ff0000);
}

.login-title {
    color: #ff0000;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 10px #ff0000, 0 0 22px #ff0000;
}

/* =====================
   CUERPO DEL LOGIN
===================== */
.login-body {
    padding: 20px 35px 28px;
}

/* =====================
   MENSAJE DE ERROR
===================== */
.error-message {
    background: rgba(200, 0, 0, 0.15);
    border: 1px solid #cc0000;
    color: #ff4d4d;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =====================
   INPUTS ESTILIZADOS
===================== */
.input-group {
    display: flex;
    align-items: center;
    background: #0d0d0d;
    border: 1px solid #333;
    border-radius: 10px;
    margin-bottom: 18px;
    transition: border 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.input-group:focus-within {
    border-color: #cc0000;
    box-shadow: 0 0 10px rgba(200, 0, 0, 0.4);
}

.input-icon {
    width: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #cc0000;
    font-size: 16px;
    flex-shrink: 0;
    border-right: 1px solid #222;
    padding: 0 12px;
    height: 48px;
}

.input-group input {
    flex: 1;
    padding: 13px 14px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.input-group input::placeholder {
    color: #555;
    font-size: 14px;
}

/* =====================
   BOTÓN
===================== */
.btn-login {
    width: 100%;
    padding: 13px;
    margin-top: 6px;
    background: #cc0000;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid #cc0000;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-login:hover {
    background: transparent;
    color: #cc0000;
    box-shadow: 0 0 14px rgba(200, 0, 0, 0.5);
}

/* =====================
   FOOTER DEL LOGIN
===================== */
.login-footer {
    margin-top: 22px;
    text-align: center;
    font-size: 13px;
    color: #cc0000;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    opacity: 0.85;
}