﻿/* === Fondo general === */
body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    font-family: 'Cinzel', serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 🎬 Video de fondo */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2; /* fondo más bajo */
    filter: brightness(0.8) contrast(1.1) saturate(1.2);
}

/* 🔳 Capa oscura sutil sobre el video */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.25), rgba(0,0,0,0.8));
    z-index: -1; /* sigue debajo del contenido */
}

/* === Contenedor del login === */
.login-container {
    position: relative;
    z-index: 10; /* ⬅️ asegura que esté encima del video y overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

/* === Panel de login === */
.login-panel {
    background: rgba(15, 10, 5, 0.55);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(10px);
    padding: 45px 55px;
    border-radius: 10px;
    text-align: center;
    width: 340px;
    animation: fadeIn 1.3s ease-in-out;
}

/* === Logo === */
.logo {
    width: 200px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px #f0d87b);
}

/* === Título === */
h2 {
    color: #f0d87b;
    font-weight: normal;
    font-size: 1.3em;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* === Inputs === */
input {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 6px;
    margin: 10px 0;
    background: rgba(30, 20, 10, 0.8);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: box-shadow 0.3s ease;
}

    input::placeholder {
        color: #cbb87a;
    }

    input:focus {
        box-shadow: 0 0 8px #f0d87b;
    }

/* === Botón === */
.login-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: linear-gradient(90deg, #f0d87b, #b28b2e);
    color: #1a1a1a;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(240, 216, 123, 0.3);
}

    .login-btn:hover {
        background: linear-gradient(90deg, #f8e89b, #d6a933);
        transform: scale(1.03);
    }

/* === Animaciones === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === SweetAlert minimalista === */
.swal2-popup.minimal-alert {
    border: 1px solid rgba(240, 216, 123, 0.3);
    box-shadow: 0 0 15px rgba(240, 216, 123, 0.15);
    border-radius: 8px !important;
    backdrop-filter: blur(8px);
}
