:root {
    --primary: #2e7d32;
    --primary-light: #4caf50;
    --white: #ffffff;
    --text-muted: #e0e0e0;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

body {
    height: 100vh;
    background: radial-gradient(circle at top left, #1b5e20, #43a047);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    
}

/* Elementos decorativos de fondo */
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.circle:nth-child(1) { width: 300px; height: 300px; top: -100px; right: -50px; }
.circle:nth-child(2) { width: 200px; height: 200px; bottom: -50px; left: -30px; }

/* CONTENEDOR PRINCIPAL */
.login-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 24px;
    width: 400px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 45px rgba(0,0,0,0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

/* LOGO Y TEXTO */
.logo {
    margin-bottom: 35px;
}

.icon-circle {
    width: 120px;
    height: 120px;
   
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    
}
.icon-circle > img{
    width: 150px;
    height: 100px;
    
}
.logo i {
    font-size: 35px;
    color: var(--primary);
}


.logo h2 {
    color: var(--white);
    font-size: 26px;
    letter-spacing: 1px;
}

.logo h2 span { font-weight: 300; }

.logo p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 5px;
}

/* INPUTS MEJORADOS */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--white);
    opacity: 0.7;
    transition: 0.3s;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.input-group input:focus + i {
    opacity: 1;
    color: var(--white);
}

/* OPCIONES ADICIONALES */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 13px;
    color: var(--white);
}

.options a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
}

.options a:hover { opacity: 1; text-decoration: underline; }

/* BOTÓN DE ACCIÓN */
button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: var(--white);
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background: #f0f0f0;
}

button:active { transform: translateY(0); }

.footer {
    margin-top: 30px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}
.alert-error{
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #fca5a5;
}
/* RESPONSIVE */
@media (max-width: 768px) {
    .login-box {
        width: 100%;
        padding: 40px 25px;
    }
}