@charset "utf-8";
/* CSS Document */

/* Card */
.login-card {
    position: fixed;
    top: 45%;
    left: 50%;

    /* Estado inicial */
    transform: translate(-50%, -50%) scale(0.04);
    opacity: 0;

    width: 420px;
    padding: 45px 40px;

    background: rgba(255,255,255,0.20);
    backdrop-filter: blur(12px);

    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);

    text-align: center;

    /* Animación suave tipo iOS */
    animation: aparecerSuave 1s ease-out both;

    /* Mejora renderizado */
    will-change: transform, opacity;
}

@keyframes aparecerSuave {
    0% {
        transform: translate(-50%, -50%) scale(0.04);
        opacity: 0;
    }
    25% {
        transform: translate(-50%, -50%) scale(0.04);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Títulos */
.titulo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #2b3a42;
	text-shadow:
		1px 1px 0px rgba(255,255,255,0.7),   /* luz superior */
		-1px -1px 0px rgba(0,0,0,0.25),     /* sombra interna */
		-2px -2px 3px rgba(0,0,0,0.15);     /* profundidad difusa */
    
    letter-spacing: 0.5px;
    
	/* Opcional: bajar un poco la opacidad del texto ayuda a que "entre" en la piedra */
	opacity: 0.9;
}

/* Inputs */
.login-card input[type="text"],
.login-card input[type="password"] {
    width: 93%;
    padding: 12px;
    margin-bottom: 15px;
    
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    
    font-size: 14px;
    transition: 0.2s;
}

.login-card input:focus {
    border-color: #003366;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,51,102,0.1);
}

/* BOTÓN ORO UNAM */
.btn-login {
    width: 98%;
    height: auto;
    line-height: normal;
    padding: 10px;

    background: linear-gradient(135deg, #1A8F99, #127078);
    color: white;
    
    border: none;
    border-radius: 6px;
    
    font-size: 15px;
    font-weight: 600;
    
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Hover elegante */
.btn-login:hover {
    background: linear-gradient(135deg, #167F88, #10686F);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
