/*
 * GestionTicketsPro · Gentelella v4 login skin
 */

html,
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    color: #1e2633;
    background: #f5f7fb;
}

.login-page {
    min-height: 100vh;
    background: #f5f7fb;
}

.login-left {
    flex: 1 1 54%;
    padding: clamp(40px, 6vw, 92px);
    background: #1a2332 !important;
    border-right: 1px solid rgba(255, 255, 255, .06);
}

.login-left::before {
    top: -180px;
    right: -160px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(26, 187, 156, .16), transparent 68%) !important;
}

.login-left::after {
    bottom: -230px;
    left: -180px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(6, 111, 209, .10), transparent 70%) !important;
}

.login-left .brand-content::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 40px 40px;
}

.brand-content {
    max-width: 560px;
}

.brand-logo {
    margin-bottom: 30px;
}

.brand-logo-img {
    width: 154px;
    border-radius: 8px;
    filter: none;
}

.brand-title,
.brand-title b {
    font-family: "Inter", sans-serif !important;
}

.brand-title {
    max-width: 560px;
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.brand-title b {
    color: #fff;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    font-weight: 700;
}

.brand-subtitle {
    max-width: 520px;
    color: #aab7c5;
    opacity: 1;
    font-size: 15px;
    line-height: 1.7;
}

.login-right {
    flex: 1 1 46%;
    padding: clamp(28px, 5vw, 76px);
    background: #fff;
}

.login-right::before {
    height: 3px;
    background: #1abb9c !important;
}

.login-form-container {
    max-width: 390px;
}

.login-logo {
    width: 104px;
    margin-bottom: 18px;
    border-radius: 6px;
}

.login-header {
    margin-bottom: 30px;
}

.login-header h2 {
    margin-bottom: 7px;
    color: #1e2633;
    font-family: "Inter", sans-serif !important;
    font-size: 23px;
    font-weight: 650;
    letter-spacing: -.025em;
}

.login-header p {
    color: #7e8896;
    font-size: 13px;
}

.form-group {
    margin-bottom: 16px;
}

.form-control {
    height: 42px;
    padding: 9px 12px;
    color: #1e2633;
    background: #fff;
    border: 1px solid #e6e7eb;
    border-radius: 6px !important;
    box-shadow: none;
    font-family: "Inter", sans-serif !important;
    font-size: 13px;
}

.form-control:hover {
    border-color: #cfd3d9;
}

.form-control:focus {
    background: #fff;
    border-color: #1abb9c;
    box-shadow: 0 0 0 3px rgba(26, 187, 156, .11);
}

.form-control::placeholder {
    color: #9aa3ae;
}

.form-actions {
    margin: 4px 0 18px;
    color: #626d7d;
    font-size: 12px;
}

.checkbox-wrap {
    color: #626d7d;
    gap: 7px;
}

.checkbox-wrap input {
    accent-color: #1abb9c;
}

.forgot-link {
    color: #169f85;
    font-weight: 600;
}

.forgot-link:hover {
    color: #1abb9c;
}

.btn-primary {
    height: 42px;
    margin-top: 4px;
    color: #fff !important;
    background: #1abb9c !important;
    border: 1px solid #1abb9c;
    border-radius: 6px !important;
    box-shadow: none;
    font-family: "Inter", sans-serif !important;
    font-size: 13px;
    font-weight: 650;
}

.btn-primary:hover {
    background: #169f85 !important;
    border-color: #169f85;
    box-shadow: 0 5px 14px rgba(22, 159, 133, .18);
    transform: translateY(-1px);
}

.btn-primary:active {
    box-shadow: none;
    transform: none;
}

.btn-primary.btn-loading {
    background: #169f85 !important;
}

.divider {
    margin: 26px 0 17px;
    color: #9aa3ae;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
}

.divider::before,
.divider::after {
    border-bottom-color: #eff0f3;
}

.switch-portal {
    color: #7e8896;
    font-size: 12px;
}

.switch-portal a {
    color: #169f85;
    font-weight: 650;
}

.switch-portal a:hover {
    color: #1abb9c;
}

.alert-danger {
    padding: 11px 13px;
    color: #b52e2e;
    background: rgba(214, 57, 57, .07);
    border: 1px solid rgba(214, 57, 57, .14);
    border-left: 3px solid #d63939;
    border-radius: 6px;
    font-size: 12px;
}

@media (max-width: 992px) {
    .login-page {
        min-height: 100vh;
        background:
            linear-gradient(rgba(26, 35, 50, .94), rgba(26, 35, 50, .94)),
            radial-gradient(circle at top right, rgba(26, 187, 156, .3), transparent 55%);
    }

    .login-right {
        max-width: 470px;
        min-height: auto;
        margin: auto;
        padding: 34px 28px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 8px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
    }

    .login-form-container {
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .login-page {
        padding: 0;
        background: #fff;
    }

    .login-right {
        width: 100%;
        max-width: none;
        min-height: 100vh;
        margin: 0;
        padding: 28px 20px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-form-container,
    .brand-content {
        animation: none !important;
    }
}

