/* Easy sign-in: the sign-in, forgot-password, reset-password, lockout and access-denied pages.
   Every rule lives under the .el- prefix. Colours are fixed (not the theme variables) so
   contrast stays WCAG AA whichever theme is active: #405189 on #fff is about 7.6:1.
   Sizes are in px because the theme shrinks the root font size on small screens, which
   would take rem text under 18px. */

.el-page {
    font-size: 18px;
    line-height: 1.5;
}

.el-page .el-card {
    color: #1f2933;
    background: #fff;
}

.el-title {
    margin: 0 0 20px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2933;
    text-align: center;
}

.el-text,
.el-steps,
.el-rules {
    margin: 0 0 20px;
    font-size: 18px;
    color: #1f2933;
}

.el-steps,
.el-rules {
    padding-left: 28px;
}

.el-steps li,
.el-rules li {
    margin-bottom: 6px;
}

.el-field {
    margin-bottom: 20px;
}

.el-label {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2933;
}

.el-input {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 10px 14px;
    font-size: 18px;
    line-height: 1.4;
    color: #1f2933;
    background: #fff;
    border: 2px solid #5f6b7a;
    border-radius: 6px;
}

.el-input.input-validation-error {
    border-color: #b3202f;
}

/* Password field with the Show password button right beside it. */
.el-pass {
    display: flex;
    gap: 8px;
}

.el-pass .el-input {
    flex: 1 1 auto;
    min-width: 0;
}

.el-show {
    flex: 0 0 auto;
    width: 104px;
    min-height: 52px;
    padding: 4px 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.15;
    color: #405189;
    background: #eef0f7;
    border: 2px solid #405189;
    border-radius: 6px;
    cursor: pointer;
}

.el-show[aria-pressed="true"] {
    color: #fff;
    background: #405189;
}

.el-error,
.el-caps {
    display: block;
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 600;
}

.el-error {
    color: #a11222;
}

.el-caps {
    color: #7a4a00;
}

.el-error:empty,
.el-caps:empty {
    display: none;
}

.el-check {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin: 0 0 20px;
    font-size: 18px;
    color: #1f2933;
    cursor: pointer;
}

.el-check-input {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin: 0;
    accent-color: #405189;
    cursor: pointer;
}

.el-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 12px 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background: #405189;
    border: 2px solid #405189;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.el-btn:hover,
.el-btn:focus {
    color: #fff;
    background: #33416e;
}

.el-links {
    margin: 12px 0 0;
    text-align: center;
}

.el-link {
    display: inline-block;
    min-height: 44px;
    padding: 8px 4px;
    font-size: 18px;
    font-weight: 600;
    color: #405189;
    text-decoration: underline;
}

.el-link:hover {
    color: #33416e;
}

.el-alert {
    margin: 0 0 20px;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #7a1420;
    background: #fdecee;
    border: 2px solid #b3202f;
    border-radius: 8px;
}

.el-alert p {
    margin: 0;
}

.el-alert p + p {
    margin-top: 8px;
}

.el-small {
    margin: 16px 0 0;
    font-size: 16px;
    color: #3e4c59;
}

.el-input:focus-visible,
.el-show:focus-visible,
.el-check-input:focus-visible,
.el-btn:focus-visible,
.el-link:focus-visible,
.el-small a:focus-visible,
.el-alert:focus {
    outline: 3px solid #1a4fd6;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .el-btn {
        transition: none;
    }
}
