﻿html, body {
    min-height: 100vh;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #345bbd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.login-glass {
    background: linear-gradient(135deg, #345bbd 20%, #1e3c72 50%);
    box-shadow: 0 8px 32px 0 #14397b38;
    border-radius: 18px;
    border: 1.2px solid #3fd7ff19;
    padding: 2.1rem 1.3rem 1.4rem 1.3rem;
    max-width: 340px;
    width: 97vw;
    min-width: 220px;
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    /* ANIMACIÓN flotante */
    animation: floatIn 0.8s cubic-bezier(.23,1.13,.39,.97);
}

@keyframes floatIn {
    from {
        transform: scale(.92) translateY(70px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.login-glass h1 {
    font-size: 1.23rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 9px;
    text-align: center;
    letter-spacing: 0.3px;
}

.login-hint {
    color: #ffb14d;
    font-weight: 600;
    text-align: center;
    font-size: 1.03rem;
    margin-bottom: 15px;
}

.login-glass input[type="text"],
.login-glass input[type="password"] {
    width: 100%;
    padding: .68em 1em;
    margin-bottom: 12px;
    border-radius: 7px;
    border: 1.2px solid #7de2fc29;
    background: rgba(255,255,255,0.10);
    color: #e6f0ff;
    font-size: 1.02rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color .14s, box-shadow .12s;
}

.login-glass input:focus {
    border-color: #03e0fa;
    background: rgba(255,255,255,0.14);
    color: #fff;
}

.btn-login {
    width: 100%;
    padding: .6em;
    background: linear-gradient(90deg, #05d9ff 0%, #4faafe 100%);
    color: #153968;
    font-weight: bold;
    border: none;
    border-radius: 7px;
    font-size: 1.05rem;
    box-shadow: 0 2px 12px #12e7fa12;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: filter .12s;
}

    .btn-login:hover, .btn-login:focus {
        filter: brightness(1.07);
    }

#loginMsg {
    margin-top: 10px;
    text-align: center;
    font-size: 1.01rem;
    min-height: 20px;
}

.bi-spin {
    animation: spin 1.1s infinite linear;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width:480px) {
    .login-glass {
        padding: 1.3rem 0.3rem 1rem 0.3rem;
        min-width: unset;
    }
}

.login-glass input::placeholder {
    color: #e6f0ff;
    opacity: 0.85;
    font-weight: 500;
    letter-spacing: 0.2px;
}



