/*==========================
    RESET & BASE
==========================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: radial-gradient(circle at center, #1e2530 0%, #0f1319 100%);
    color: #333;
    min-height: 100vh;
}

.adminLogin {
    background: radial-gradient(circle at center, #4b101d 0%, #111111 72%);
}

.adminLogin .loginBox {
    border-top: 5px solid #d4af37;
}

/*==========================
    CONTENEDOR PRINCIPAL
==========================*/
.loginContainer {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/*==========================
    TARJETA LOGIN
==========================*/
.loginBox {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 
                0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

/* Encabezado */
.loginHeader {
    text-align: center;
    margin-bottom: 30px;
}

.iconHeader {
    width: 65px;
    height: 65px;
    background: rgba(212, 175, 55, 0.12);
    color: #d4af37;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin-bottom: 15px;
}

.loginHeader h1 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.5px;
}

.loginHeader p {
    font-size: 13px;
    color: #6b7280;
    margin-top: 5px;
    font-weight: 400;
}

/*==========================
    ALERTAS (PHP)
==========================*/
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 20px;
}

.mensajeError {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.mensajeOk {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/*==========================
    FORMULARIO & INPUTS
==========================*/
.loginBox form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inputGroup {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.inputGroup label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.inputWrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.inputWrapper i {
    position: absolute;
    left: 15px;
    color: #9ca3af;
    font-size: 15px;
    transition: color 0.3s ease;
}

.inputWrapper input {
    width: 100%;
    padding: 12px 15px 12px 42px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
    color: #1f2937;
    background-color: #f9fafb;
    transition: all 0.3s ease;
}

.inputWrapper input::placeholder {
    color: #9ca3af;
}

/* Estados Focus */
.inputWrapper input:focus {
    border-color: #d4af37;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.inputWrapper:focus-within i {
    color: #d4af37;
}

/*==========================
    BOTÓN DE ACCESO
==========================*/
.btnSubmit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border: none;
    background: linear-gradient(135deg, #d4af37 0%, #b89224 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.btnSubmit:hover {
    background: linear-gradient(135deg, #c5a028 0%, #9e7b1a 100%);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
}

.btnSubmit:active {
    transform: translateY(0);
}
/* Formularios de acceso con la misma identidad marfil y dorada */
body { background:#fbf8f0 !important; }
.login-container,.contenedor-login,.login-box,.formulario-login,.card-login { border:1px solid #e8e0d0 !important; border-radius:20px !important; box-shadow:0 16px 45px rgba(55,43,18,.09) !important; background:#fffefa !important; }
button[type="submit"],input[type="submit"],.btn-login { background:#b38a2d !important; color:#fff !important; border:0 !important; border-radius:10px !important; font-weight:600; }
input,select,textarea { border-color:#e3dac8 !important; border-radius:10px !important; }
input:focus,select:focus,textarea:focus { border-color:#c39a3d !important; box-shadow:0 0 0 3px rgba(195,154,61,.13); }
