@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=block');

html,
body,
button,
input,
textarea,
select {
    font-family: 'Montserrat', Arial, sans-serif;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    background-image: none !important;
    overflow: hidden;
}

.sl-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-family: 'Montserrat', Arial, sans-serif;
}

.sl-panel--left {
    position: relative;
    flex: 0 0 52%;
    width: 52%;
    min-height: 100vh;
    background: #021A36;
    overflow: hidden;
}

.sl-left-bg {
    position: absolute;
    inset: 0;
    background-color: #021A36;
    background-image: url('/images/stacket-login-left-section.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.sl-left-overlay,
.sl-left-content {
    display: none;
}

.sl-panel--right {
    flex: 1;
    min-width: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 48px;
    overflow-y: auto;
    box-sizing: border-box;
}

.sl-form-card {
    width: 100%;
    max-width: 400px;
    border: 1px solid #D7DEE8;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
    padding: 40px 40px 36px;
    background: #fff;
    box-sizing: border-box;
}

.sl-form-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

    .sl-form-logo img {
        max-width: 130px;
        height: auto;
        display: block;
    }

.sl-form-heading {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin: 0 0 8px;
    line-height: 1.3;
}

.sl-form-sub {
    font-size: 13px;
    font-weight: 400;
    color: #687386;
    text-align: center;
    line-height: 1.6;
    margin: 0 0 28px;
}

.sl-field {
    margin-bottom: 16px;
}

    .sl-field label,
    .sl-field > label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 6px;
    }

.sl-input-wrap {
    position: relative;
}

.sl-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 13px;
    pointer-events: none;
    z-index: 2;
}

.sl-input {
    display: block;
    width: 100%;
    height: 46px;
    border: 1px solid #D7DEE8;
    border-radius: 8px;
    padding: 0 14px 0 38px;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Montserrat', Arial, sans-serif !important;
    color: #111827;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    line-height: 46px;
}

    .sl-input:focus {
        border-color: #5AA7E8;
        box-shadow: 0 0 0 3px rgba(90, 167, 232, 0.15) !important;
    }

    .sl-input::placeholder {
        color: #B0B8C4;
        font-weight: 400;
    }

.sl-input--pw {
    padding-right: 44px;
}

input.sl-input:-webkit-autofill,
input.sl-input:-webkit-autofill:hover,
input.sl-input:-webkit-autofill:focus,
input.sl-input:-webkit-autofill:active {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    -webkit-text-fill-color: #111827 !important;
    caret-color: #111827 !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    transition: background-color 9999s ease-out 0s;
}

    input.sl-input:-webkit-autofill::first-line {
        font-family: 'Montserrat', Arial, sans-serif !important;
        font-size: 14px !important;
        font-weight: 400 !important;
    }

.sl-pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #9CA3AF;
    font-size: 13px;
    line-height: 1;
    outline: none;
    z-index: 2;
}

    .sl-pw-toggle:hover {
        color: #6B7280;
    }

    .sl-pw-toggle:focus-visible {
        outline: 2px solid #5AA7E8;
        border-radius: 4px;
        color: #5AA7E8;
    }

.sl-field .text-danger {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #DC2626 !important;
    margin-top: 4px;
}

.sl-alert-danger {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #DC2626;
    margin-bottom: 18px;
    line-height: 1.4;
}

    .sl-alert-danger p {
        margin: 0;
    }

.sl-checkbox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 8px;
}

.sl-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    line-height: 1;
}

    .sl-remember input[type="checkbox"] {
        width: 16px;
        height: 16px;
        cursor: pointer;
        flex-shrink: 0;
        margin: 0;
        accent-color: #66BFA6;
    }

.sl-form-card .icheckbox_square-blue {
    margin: 0 !important;
    flex-shrink: 0;
}

.sl-forgot {
    font-size: 13px;
    font-weight: 600;
    color: #5AA7E8 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

    .sl-forgot:hover,
    .sl-forgot:focus {
        color: #3D8FD1 !important;
        text-decoration: underline !important;
    }

.sl-btn-submit {
    display: block;
    width: 100%;
    height: 48px;
    background: #66BFA6;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.18s ease, box-shadow 0.18s ease;
    outline: none;
    box-shadow: none;
    line-height: 1;
}

    .sl-btn-submit:hover {
        background: #52AD93;
    }

    .sl-btn-submit:active {
        background: #43A08A;
    }

    .sl-btn-submit:focus-visible {
        box-shadow: 0 0 0 3px rgba(102, 191, 166, 0.45);
    }

.sl-right-footer {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.sl-right-footer-icon {
    font-size: 16px;
    color: #CBD5E1;
}

.sl-right-footer-text {
    font-size: 12px;
    font-weight: 500;
    color: #9CA3AF;
    letter-spacing: 0.02em;
}

@media (max-width: 1100px) {
    body {
        overflow: auto !important;
    }

    .sl-container {
        min-height: 100vh;
        height: auto;
    }

    .sl-panel--left {
        display: none;
    }

    .sl-panel--right {
        width: 100%;
        min-height: 100vh;
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .sl-panel--right {
        padding: 24px 16px;
    }

    .sl-form-card {
        max-width: 100%;
        border: none;
        box-shadow: none;
        padding: 24px 0;
        border-radius: 0;
    }

    .sl-form-heading {
        font-size: 20px;
    }

    .sl-form-sub {
        font-size: 13px;
    }

    .sl-btn-submit {
        height: 50px;
    }
}

.sl-form-actions {
    margin-top: 18px;
    text-align: center;
}

.sl-secondary-link {
    font-size: 13px;
    font-weight: 600;
    color: #5AA7E8 !important;
    text-decoration: none !important;
}

    .sl-secondary-link:hover,
    .sl-secondary-link:focus {
        color: #3D8FD1 !important;
        text-decoration: underline !important;
    }
.sl-status-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.08);
    color: #DC2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 18px;
}

.sl-form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
}

.sl-secondary-link {
    font-size: 13px;
    font-weight: 600;
    color: #5AA7E8 !important;
    text-align: center;
    text-decoration: none !important;
}

    .sl-secondary-link:hover,
    .sl-secondary-link:focus {
        color: #3D8FD1 !important;
        text-decoration: underline !important;
    }

.sl-link-button {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: #DC2626;
    cursor: pointer;
    font-family: 'Montserrat', Arial, sans-serif;
}

    .sl-link-button:hover,
    .sl-link-button:focus {
        color: #B91C1C;
        text-decoration: underline;
    }

.sl-form-card--register {
    max-width: 460px;
    padding: 34px 40px 32px;
}

.sl-validation-summary {
    margin-bottom: 16px;
}

    .sl-validation-summary ul {
        margin: 0;
        padding-left: 18px;
    }

.sl-select {
    display: block;
    width: 100%;
    height: 46px;
    border: 1px solid #D7DEE8;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Montserrat', Arial, sans-serif !important;
    color: #111827;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
    appearance: none;
}

    .sl-select:focus {
        border-color: #5AA7E8;
        box-shadow: 0 0 0 3px rgba(90, 167, 232, 0.15) !important;
    }

.sl-terms-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0 20px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    line-height: 1.5;
}

    .sl-terms-row input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin: 2px 0 0;
        flex-shrink: 0;
        accent-color: #66BFA6;
    }

.sl-inline-link {
    font-size: inherit;
    font-weight: 600;
    color: #5AA7E8 !important;
    text-decoration: none !important;
}

    .sl-inline-link:hover,
    .sl-inline-link:focus {
        color: #3D8FD1 !important;
        text-decoration: underline !important;
    }

.sl-login-link-text {
    margin: 20px 0 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #687386;
}

@media (max-width: 480px) {
    .sl-form-card--register {
        padding: 24px 0;
    }
}

.sl-status-icon--success {
    background: rgba(102, 191, 166, 0.12);
    color: #52AD93;
}

.sl-status-icon--info {
    background: rgba(90, 167, 232, 0.12);
    color: #5AA7E8;
}

.sl-status-icon--warning {
    background: rgba(245, 158, 11, 0.12);
    color: #D97706;
}

.sl-form-card--reset {
    max-width: 400px;
}

.sl-notice {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    color: #92400E;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    padding: 12px 14px;
    margin-bottom: 18px;
}

    .sl-notice strong {
        font-weight: 700;
    }