.login-page {
    background: #f5f7fb;
}

.login-wrap {
    width: 100%;
    max-width: var(--app-width);
    min-height: 100vh;
    margin: 0 auto;
    padding: 44px 16px;
    display: flex;
    align-items: center;
}

.login-card {
    width: 100%;
    padding: 26px 20px 22px;
    border: 1px solid #eef0f3;
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(35, 50, 78, 0.1);
}

.login-brand {
    margin-bottom: 22px;
    text-align: center;
}

.login-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef5ff;
    color: var(--primary);
    font-size: 1.25rem;
}

.login-brand h1 {
    margin: 0;
    color: #111318;
    font-size: 1.55rem;
    line-height: 1.15;
    font-weight: 700;
}

.login-brand p {
    margin: 8px 0 0;
    color: #6f7480;
    font-size: 0.95rem;
    line-height: 1.4;
}

.login-error {
    margin: 0 0 16px;
    padding: 13px 14px;
    border: 1px solid #ffdada;
    border-radius: 14px;
    background: #fff2f2;
    color: #9f2f2a;
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 600;
}

.login-field {
    margin-bottom: 16px;
}

.login-field label {
    display: block;
    margin-bottom: 8px;
    color: #202530;
    font-size: 0.92rem;
    font-weight: 600;
}

.login-field input {
    width: 100%;
    min-height: 54px;
    border: 1px solid #dfe3eb;
    border-radius: 14px;
    padding: 0 14px;
    outline: none;
    color: #111318;
    background: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.login-field input:focus,
.login-password-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 114, 187, 0.12);
}

.login-password-wrap {
    min-height: 54px;
    border: 1px solid #dfe3eb;
    border-radius: 14px;
    display: flex;
    align-items: center;
    background: #ffffff;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.login-password-wrap input {
    min-height: 52px;
    border: 0;
    box-shadow: none;
}

.login-password-wrap input:focus {
    box-shadow: none;
}

.password-toggle {
    width: 48px;
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: transparent;
    color: #6f7480;
    cursor: pointer;
    font-size: 1rem;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.password-toggle:active {
    transform: scale(0.96);
}

.password-toggle[aria-pressed="true"] {
    color: var(--primary);
}

.login-button {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 16px;
    margin-top: 4px;
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(44, 87, 154, 0.22);
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
