﻿.splash-login {
    height: 100vh;
    background: url('/images/fondoLogin.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 900px;
    height: 420px;
    display: flex;
    background: #f7ecd8;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
    overflow: hidden;
}

.login-image {
    flex: 1;
    background: url('/images/fondoModernoLogin.png') center/cover no-repeat;
}

.login-logo {
    align-self: center;
    display: flex;
    justify-content: center;
    text-decoration: none;
}

.login-logo-img {
    height: 60px;
    object-fit: contain;
}

.login-form {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.input.fake {
    height: 36px;
    background: #e3d7bf;
    border-radius: 6px;
}

.password.fake {
    width: 100%;
    height: 16px;
    background: #e3d7bf;
    border-radius: 4px;
}

.checkbox.fake {
    width: 130px;
    height: 30px;
    background: #e3d7bf;
    border-radius: 4px;
}

.button.fake {
    height: 40px;
    background: #8b5e3c;
    border-radius: 6px;
}

.hint {
    margin-top: auto;
    font-size: 13px;
    opacity: .7;
}

.login-form > * {
    transition: opacity .2s ease;
}

.login-title {
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #3b2f25;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.input.fake,
.checkbox.fake,
.password.fake,
.button.fake {
    position: relative;
    overflow: hidden;
}

    .input.fake::after,
    .checkbox.fake::after,
    .password.fake::after,
    .button.fake::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 120%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transform: translateX(-100%);
        animation: shimmer 1.4s infinite;
    }

    .input.fake::after,
    .input.password::after,
    .checkbox.fake::after {
        animation-duration: 1.6s;
    }

    .button.fake::after {
        animation-duration: 1.8s;
    }

/* --- Responsive para móviles --- */
@media (max-width: 768px) {
    .login-image {
        display: none;
    }

    .login-card {
        width: 100%;
        height: auto;
        flex-direction: column;
        border-radius: 0;
    }

    .login-form {
        flex: 1 1 100%;
        padding: 20px;
    }

    .splash-login {
        padding: 20px;
        justify-content: flex-start;
    }
}
