/* Alternate login page styles extracted from the Effeta theme without using YUI combo assets. */
:root {
    --effeta-navy: #232a43;
    --effeta-navy-dark: #1b2033;
    --effeta-accent: #f6c131;
    --effeta-bg: #ffffff;
    --effeta-border: #e5e7eb;
    --effeta-radius: 12px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: var(--effeta-bg);
    color: var(--effeta-navy);
}

a {
    color: var(--effeta-navy);
    font-weight: 300;
    text-decoration-thickness: 0.075em;
    text-underline-offset: 0.2em;
}

a:hover,
a:focus,
a:active {
    color: var(--effeta-navy);
    text-decoration: underline;
}

h1, h2, p {
    margin: 0;
}

.effeta-login {
    min-height: 100vh;
    background: var(--effeta-bg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
}

.effeta-login__container {
    width: 100%;
    max-width: 700px;
    text-align: center;
}

.effeta-login__card {
    padding: 0;
}

.effeta-login__brand {
    margin-bottom: 1rem;
}

img.effeta-login__brand-image {
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    display: block;
}

.effeta-login__welcome {
    font-weight: 500;
    color: var(--effeta-navy);
    margin-bottom: 5px;
}

.effeta-login__intro {
    font-size: 19px;
    line-height: 1.6;
    color: var(--effeta-navy);
    opacity: 0.9;
    font-weight: 100;
    margin-bottom: 2rem;
}

.effeta-login__step {
    width: 100%;
    max-width: 600px;
    margin: 0 0 0.75rem;
    color: var(--effeta-navy);
    opacity: 0.9;
    font-size: 0.95rem;
}

.effeta-login__form {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.loginform {
    display: grid;
    place-items: center;
}

form#login,
form.login-form {
    width: 100%;
    max-width: 600px;
    border-bottom: none;
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 0;
    font-weight: 300;
    color: var(--effeta-navy);
    opacity: 0.9;
    text-align: left;
    padding-bottom: 5px;
}

.form-control {
    width: 100%;
    border-radius: 6px;
    border: 1px solid var(--effeta-navy);
    padding: 0.6rem 1.1rem;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    box-shadow: none;
}

.form-control:focus {
    border-color: var(--effeta-navy);
    opacity: 0.9;
}

.login-form-username,
.login-form-password {
    margin-bottom: 1rem;
    width: 100%;
}

.login-form-password-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.login-form-forgotpassword {
    margin-left: auto;
}

.btn {
    display: inline-block;
    padding: 0.65rem 1.35rem;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:focus {
    outline: none;
}

.btn-primary {
    background-color: var(--effeta-navy);
    border-color: var(--effeta-navy);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--effeta-navy-dark);
    border-color: var(--effeta-navy-dark);
}

.btn-lg {
    padding: 0.85rem 1.5rem;
    font-size: 1.05rem;
}

#loginbtn {
    width: 100%;
    max-width: 300px;
}

.w-100 {
    width: 100%;
}

.login-identityproviders {
    display: grid;
    gap: 0.75rem;
}

.login-heading {
    font-size: 1rem;
    font-weight: 500;
    color: var(--effeta-navy);
    margin-bottom: 0.25rem;
}

.login-identityprovider-btn {
    background: #fff;
    border: 1px solid var(--effeta-border);
    color: var(--effeta-navy);
}

.login-identityprovider-btn:hover,
.login-identityprovider-btn:focus {
    background: #f8fafc;
    border-color: var(--effeta-navy);
    text-decoration: none;
}

.login-divider {
    height: 1px;
    width: 100%;
    background: var(--effeta-border);
    margin: 1.25rem 0;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-items-center {
    align-items: center;
}

.me-auto {
    margin-right: auto;
}

.ms-auto {
    margin-left: auto;
}

.text-start {
    text-align: left;
}

.text-end {
    text-align: right;
}

.dropdown-menu,
.dropdown {
    position: absolute;
}

.dropdown-toggle {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--effeta-border);
    text-decoration: none;
}

.dropdown-menu {
    margin-top: 0.35rem;
    padding: 0.35rem;
    background: #fff;
    border: 1px solid var(--effeta-border);
    border-radius: 6px;
}

.dropdown-item {
    display: block;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    text-decoration: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--effeta-navy);
    color: #fff;
}

.effeta-password-toggle {
    position: relative;
}

.effeta-password-toggle input.form-control {
    padding-right: 3rem;
}

.effeta-password-toggle__button {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--effeta-navy);
    padding: 0.25rem;
    cursor: pointer;
}

.effeta-password-toggle__button:focus,
.effeta-password-toggle__button:focus-visible {
    outline: none;
    box-shadow: none;
}

.effeta-password-toggle__button .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 1.5rem;
    line-height: 1;
}

.login-form-submit {
    padding-top: 30px;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.support-email-button {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--effeta-navy);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.support-email-button:hover,
.support-email-button:focus {
    background: var(--effeta-navy-dark);
    color: #fff;
    text-decoration: none;
}

.toast-wrapper { display: none; }

@media (max-width: 640px) {
    .effeta-login {
        padding: 2.5rem 1rem;
    }

    .effeta-login__card {
        padding: 2rem 1.25rem 1.5rem;
    }

    .effeta-login__form {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
}