﻿html,
body {
    height: 100%;
    margin: 0;
}

    body.login-body {
        background: #efefef;
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    }

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.login-card {
    width: 100%;
    max-width: 323px;
    background: #ffffff;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.login-card-header {
    height: 100px;
    background: #163a55;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.login-logo {
    width: 150px;
    max-width: 100%;
    height: auto;
    display: block;
}

.login-card-body {
    padding: 29px 34px 28px;
}

.login-title {
    margin: 0 0 26px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    color: #7f7f7f;
}

.login-field {
    margin-bottom: 18px;
}

.login-input {
    height: 31px;
    min-height: 31px;
    border: 1px solid #d7dce2;
    border-radius: 4px;
    background-color: #ffffff;
    color: #6f7782;
    font-size: 12px;
    font-weight: 400;
    padding: 6px 11px;
    box-shadow: none !important;
}

    .login-input::placeholder {
        color: #97a0ab;
        opacity: 1;
    }

    .login-input:focus {
        border-color: #9bbcff;
        box-shadow: 0 0 0 0.12rem rgba(52, 120, 246, 0.15) !important;
    }

.login-password-group {
    flex-wrap: nowrap;
    align-items: stretch;
}

    .login-password-group .login-password-input {
        border-right: 0;
        padding-right: 11px;
        z-index: 1;
    }

        .login-password-group .login-password-input:focus {
            border-right: 0;
            z-index: 2;
            box-shadow: none !important;
        }

    .login-password-group:focus-within {
        box-shadow: 0 0 0 0.12rem rgba(52, 120, 246, 0.15);
        border-radius: 4px;
    }

.login-password-toggle.input-group-text {
    width: 31px;
    min-width: 31px;
    height: 31px;
    padding: 0;
    border: 1px solid #d7dce2;
    border-left: 0;
    border-radius: 0 4px 4px 0;
    background: #ffffff;
    color: #a4acb7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    z-index: 3;
    overflow: hidden;
}

    .login-password-toggle.input-group-text:hover {
        color: #8d96a2;
        background: #ffffff;
    }

    .login-password-toggle.input-group-text:focus,
    .login-password-toggle.input-group-text:focus-visible {
        outline: none;
        box-shadow: none;
    }

.login-password-toggle svg {
    display: block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 4px 0 18px;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    min-height: 18px;
}

    .login-remember .form-check-input {
        margin: 0;
        width: 13px;
        height: 13px;
        border-color: #d3d8df;
        box-shadow: none;
        flex: 0 0 auto;
        position: relative;
        top: -1px;
    }

    .login-remember .form-check-label {
        margin: 0;
        font-size: 12px;
        color: #717983;
        line-height: 1;
        cursor: pointer;
    }

.login-forgot-link {
    font-size: 12px;
    font-weight: 600;
    color: #3f80f6;
    text-decoration: none;
    white-space: nowrap;
}

    .login-forgot-link:hover {
        color: #2e6cdf;
        text-decoration: none;
    }

.login-submit-btn {
    width: 100%;
    height: 38px;
    border: 0;
    border-radius: 4px;
    background-color: #3876f2;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 38px;
    padding: 0 12px;
    box-shadow: none;
}

    .login-submit-btn:hover,
    .login-submit-btn:focus,
    .login-submit-btn:active {
        background-color: #2f69dc !important;
        color: #ffffff !important;
        box-shadow: none !important;
    }

.login-validation-summary {
    margin-bottom: 12px;
    font-size: 12px;
}

    .login-validation-summary ul {
        margin: 0;
        padding-left: 18px;
    }

.field-validation {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

.login-external .btn {
    font-size: 13px;
}

@media (max-width: 575.98px) {
    .login-page {
        padding: 20px 12px;
    }

    .login-card {
        max-width: 100%;
    }

    .login-card-body {
        padding: 24px 20px 24px;
    }

    .login-options {
        flex-direction: column;
        align-items: flex-start;
    }
}
.login-subtitle {
    margin: 0 0 26px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    color: #7f7f7f;
}