﻿/* Login simple */

.login-simple-page {
    min-height: 100vh;
    padding: 48px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9eef5;
}

.login-simple-card {
    width: min(100%, 430px);
    padding: 46px 44px 40px;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(25, 48, 84, 0.12);
}

.login-simple-heading {
    margin-bottom: 30px;
}

.login-simple-heading h1 {
    margin: 0;
    color: #101f3b;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.login-simple-heading p {
    margin: 14px 0 0;
    color: #77849c;
    font-size: 0.9rem;
}

.login-simple-field {
    margin-bottom: 20px;
}

.login-simple-field .form-label {
    margin-bottom: 8px;
    color: #294268;
    font-size: 0.78rem;
    font-weight: 700;
}

.login-simple-field .form-control {
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d8e0ec;
    border-radius: 8px;
    color: #1e3152;
    background: #fff;
    box-shadow: none;
}

.login-simple-field .form-control::placeholder {
    color: #9aa7ba;
}

.login-simple-field .form-control:focus {
    border-color: #1d3f9c;
    box-shadow: 0 0 0 3px rgba(29, 63, 156, 0.1);
}

.login-password-wrap {
    position: relative;
}

.login-password-wrap .form-control {
    padding-right: 78px;
}

.login-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    padding: 5px;
    background: #edf3ff;
    color: #2375ed;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.login-eye-icon {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.login-eye-icon--closed {
    display: none;
}

.login-password-toggle.is-visible .login-eye-icon {
    display: none;
}

.login-password-toggle.is-visible .login-eye-icon--closed {
    display: block;
}

.login-password-toggle:hover,
.login-password-toggle:focus {
    background: #dce9ff;
    color: #1557bd;
    outline: none;
}

.login-simple-btn {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: #2375ed !important;
    background-color: #2375ed !important;
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.login-simple-btn:hover {
    background: #1557bd !important;
    background-color: #1557bd !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.login-portal-link {
    display: block;
    margin-top: 22px;
    color: #71809a;
    font-size: .78rem;
    text-align: center;
    text-decoration: none;
    transition: color .2s ease;
}

.login-portal-link:hover {
    color: #2375ed;
    text-decoration: underline;
}

@media (max-width: 520px) {
    .login-simple-page {
        padding: 28px 16px;
    }

    .login-simple-card {
        padding: 34px 24px 30px;
    }
}

