/* ============================================
   LOGIN LA VILLA - SOLO PÁGINA DE LOGIN
   NO TOCA EL PANEL ADMIN
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* SOLO PARA LA PÁGINA DE LOGIN */
body > div.bg-center {
    background-size: cover !important;
    background-position: center !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body > div.bg-center::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    pointer-events: none;
    z-index: 1;
}

body > div.bg-center > div {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

body > div.bg-center > div > div {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(30px) !important;
    border-radius: 32px !important;
    padding: 64px 60px !important;
    box-shadow: 
        0 40px 120px rgba(0, 0, 0, 0.7),
        0 20px 60px rgba(220, 38, 38, 0.4) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
}

body > div.bg-center img {
    width: 220px !important;
    max-width: none !important;
    filter: drop-shadow(0 12px 30px rgba(220, 38, 38, 0.35)) !important;
}

body > div.bg-center label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: 'Poppins', sans-serif !important;
}

body > div.bg-center input {
    width: 100% !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
    background: #fff !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 14px !important;
    font-family: 'Poppins', sans-serif !important;
    transition: all 0.3s ease !important;
}

body > div.bg-center input:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

body > div.bg-center input:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1) !important;
    outline: none !important;
}

body > div.bg-center button {
    width: 100% !important;
    padding: 18px 32px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #fff !important;
    background: linear-gradient(135deg, #ef4444, #dc2626, #b91c1c) !important;
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4) !important;
    cursor: pointer !important;
    font-family: 'Poppins', sans-serif !important;
    transition: all 0.3s ease !important;
    margin-top: 32px !important;
}

body > div.bg-center button:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c, #991b1b) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.5) !important;
}

body > div.bg-center a {
    color: #dc2626 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-family: 'Poppins', sans-serif !important;
    transition: all 0.2s ease !important;
}

body > div.bg-center a:hover {
    color: #991b1b !important;
}

/* RESPONSIVE */
@media (min-width: 1200px) {
    body > div.bg-center > div {
        max-width: 650px !important;
    }
    
    body > div.bg-center > div > div {
        padding: 70px 70px !important;
    }
    
    body > div.bg-center img {
        width: 240px !important;
    }
}

@media (max-width: 768px) {
    body > div.bg-center > div {
        max-width: 95% !important;
    }
    
    body > div.bg-center > div > div {
        padding: 48px 32px !important;
    }
    
    body > div.bg-center img {
        width: 160px !important;
    }
}
