﻿
* {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* ===== FONDO MAS CLARO (PUEDES CAMBIAR ESTO) ===== */
body {
    margin: 0;
    height: 100vh;
    background: radial-gradient(circle at top, #334155, #0f172a);
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ===== CAJA MAS GRANDE ===== */
.login-box {
    width: 540px;
    padding: 50px;
    background: rgba(255,255,255,0.06);
    border-radius: 18px;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.03);
    animation: fadeIn 0.6s ease;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== LOGO ===== */

.logo-container {
    text-align: center;
    margin-bottom: 15px;
}

    .logo-container img {
        width: 100px;
        margin-bottom: 10px;
    }

.logo-text {
    color: white;
    font-size: 26px;
    font-weight: 600;
}

.subtitle {
    color: #cbd5e1;
    font-size: 14px;
    text-align: center;
    margin-bottom: 35px;
}



.form-control {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: white;
    font-size: 15px;
    outline: none;
    transition: 0.25s;
}


    .form-control:focus {
        border-color: #818cf8;
        box-shadow: 0 0 0 1px #818cf8, 0 0 20px rgba(129,140,248,0.4);
    }



.btn-login {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}


    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 35px rgba(99,102,241,0.5);
    }



.error {
    margin-top: 15px;
    text-align: center;
    color: #f87171;
}
