﻿html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Segoe UI Light', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Roboto', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1 {
    margin: 0;
    padding: 0;
}
p {
    margin: 0;
    padding: 0;
}

.login-wrapper {
    display: flex;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    background: url('/img/fsuite.jpg') no-repeat center center fixed;
    background-size: cover;
    box-sizing: border-box;
}


/* --- seccion izquierda --- */
.login-izq {
    flex: 0 0 65%;
    max-width: 65%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 5rem 3rem 3rem 5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
}

.brand-container {
    max-width: 520px;
    text-align: left;
}
.brand-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 0.2rem;
    filter: drop-shadow(0px 6px 12px rgba(0, 0, 0, 0.4));
}
.brand-tit {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
}
.brand-subtit {
    font-size: 1.15rem;
    color: #333;
    line-height: 1.6;
}


/* --- seccion derecha --- */
.login-der {
    flex: 0 0 35%;
    max-width: 35%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 5rem 2rem 2rem 2rem;
    box-sizing: border-box;
}

.login-card {
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.45); /* fondo con mayor transparencia (45%) */
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px); /* incremento del desenfoque para efecto cristal */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
}

.login-card-tit {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.3rem 0;
    letter-spacing: -0.3px;
}
.login-card-subtit {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 1.8rem;
}

.form-group {
    margin-bottom: 1.25rem;
}
.margin-top-lg {
    margin-top: 1.75rem;
}
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

/* --- acciones y enlaces --- */
.login-acciones {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.link-restablecer {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 500;
}
    .link-restablecer:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

.login-registro {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #475569;
}

.link-registro {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.25rem;
}
    .link-registro:hover {
        text-decoration: underline;
    }

/* --- responsive pantallas pequeñas (< 992px) --- */
@media (max-width: 992px) {
    html, body {
        overflow: auto;
    }

    .login-wrapper {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .login-left,
    .login-right {
        flex: 1 0 100%;
        max-width: 100%;
        width: 100%;
        padding: 2.5rem 1.5rem;
        align-items: center;
    }
    .login-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .brand-container {
        text-align: center;
    }
    .brand-tit {
        font-size: 1.8rem;
    }
}
