.login-breadcrumb {
    margin-top: 16px;
}

.login {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
    padding: 40px 24px 72px;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 136, 0, 0.14), transparent 34%),
        radial-gradient(circle at 82% 84%, rgba(0, 0, 0, 0.14), transparent 42%),
        linear-gradient(140deg, #f5f6f8 0%, #ffffff 60%, #f2f3f6 100%);
}

.login .content {
    width: 100%;
    max-width: 1240px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    gap: 36px;
}

.login .information {
    position: relative;
    border-radius: 26px;
    padding: 52px 46px;
    background: linear-gradient(140deg, #121212 0%, #1f1f1f 64%, #2e2e2e 100%);
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.28);
}

.login .information::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 136, 0, 0.55) 0%, rgba(255, 136, 0, 0) 68%);
}

.login .information::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 68%);
}

.login-brand-logo {
    position: relative;
    display: inline-block;
    width: 180px;
    max-width: 100%;
    height: auto;
    margin-bottom: 24px;
}

.login .content .information h2 {
    position: relative;
    font-family: var(--secondary-font);
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.08;
    margin: 0 0 20px;
    color: #ffffff;
    font-weight: 600;
}

.login .content .information h2 span {
    color: var(--color-orange);
}

.info-copy {
    position: relative;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 1.6;
    max-width: 90%;
}

.info-highlights {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.info-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.info-highlights i {
    color: var(--color-orange);
}

.login .content .signin-form {
    align-self: center;
    border-radius: 24px;
    padding: 42px 36px 34px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    box-shadow:
        0 14px 32px rgba(17, 12, 46, 0.1),
        0 30px 60px rgba(17, 12, 46, 0.1);
}

.login .content .signin-form h1 {
    text-align: left;
    font-family: var(--secondary-font);
    font-size: clamp(27px, 3vw, 34px);
    color: #1f2328;
    margin: 0;
    font-weight: 600;
    line-height: 1.18;
}

.signin-subtitle {
    margin: 10px 0 22px;
    font-size: 15px;
    color: #717b87;
}

.login .content .signin-form .custom-form-control {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    position: relative;
}

.login .content .signin-form .custom-form-control label {
    font-size: 14px;
    color: #4b5563;
    font-weight: 600;
}

.login .content .signin-form .custom-form-control input {
    height: 50px;
    border: 1px solid #dde3ea;
    border-radius: 12px;
    font-size: 16px;
    color: #14191f;
    background: #fff;
    padding: 0 16px;
    transition: all 220ms ease;
}

.login .content .signin-form .custom-form-control input::placeholder {
    color: #a0acb8;
}

.login .content .signin-form .custom-form-control input:hover {
    border-color: #b6c0cc;
}

.login .content .signin-form .custom-form-control input:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(255, 136, 0, 0.15);
}

.password-field #togglePassword {
    position: absolute;
    right: 14px;
    top: 39px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #778292;
    font-size: 16px;
    transition: color 220ms ease;
}

.password-field #togglePassword:hover {
    color: var(--color-orange);
}

.login .content .signin-form .error-msg {
    display: none;
    margin-top: 10px;
    font-size: 14px;
    color: #d90429;
    font-weight: 600;
}

.login .content .signin-form button[type="submit"] {
    width: 100%;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff6a00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin: 20px 0 14px;
    height: 50px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 200ms ease, box-shadow 240ms ease, opacity 200ms ease;
}

.login .content .signin-form button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(255, 136, 0, 0.28);
}

.login .content .signin-form button[type="submit"][disabled] {
    opacity: 0.8;
    cursor: default;
    box-shadow: none !important;
    transform: none !important;
}

.login .content .signin-form button .loading-spinner {
    display: none;
}

.login .content .signin-form .recover-password {
    display: inline-flex;
    margin-top: 2px;
    margin-bottom: 0;
    color: #5f6773;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    transition: color 180ms ease;
}

.login .content .signin-form .recover-password:hover {
    color: var(--color-orange);
}

/* ========================================
   AUTENTICACION SOCIAL Y BIOMETRICA
   ======================================== */

.auth-divider {
    text-align: center;
    margin: 22px 0 16px;
    color: #8d97a5;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.social-auth-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border: 1px solid #e2e7ee;
    background: #ffffff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #1e242b;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    position: relative;
}

.social-btn:hover {
    transform: translateY(-1px);
    border-color: var(--color-orange);
    box-shadow: 0 8px 16px rgba(255, 136, 0, 0.16);
}

.social-btn svg,
.social-btn i {
    font-size: 18px;
}

.social-btn.biometric i {
    font-size: 20px;
}

.social-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.social-btn .credential-badge {
    position: absolute;
    top: 5px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 2px #ffffff;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.social-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@media (max-width: 1100px) {
    .login {
        min-height: auto;
    }

    .login .content {
        grid-template-columns: 1fr;
        max-width: 620px;
        gap: 20px;
    }

    .login .information {
        display: none;
    }
}

@media (max-width: 768px) {
    .login {
        padding: 24px 16px 52px;
    }

    .login .content .signin-form {
        padding: 30px 22px 24px;
        border-radius: 18px;
    }

    .social-auth-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .login .content .signin-form h1 {
        font-size: 26px;
    }
}
