:root {
    --login-dark-blue: #217093;
    --login-med-blue: #4eb8dd;
    --login-light-blue: #ddf1fa;
    --login-input-bg: #f3fafd;
}

.auth-layout {
    background-color: #eff3f4;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    font-size: 16px;
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

.auth-layout main {
    width: 100%;
    max-width: 448px;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
}

.auth-layout .animated-login-shell {
    width: 100%;
}

.auth-layout .animated-login {
    position: relative;
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 2.25em;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5em;
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.auth-layout .animated-login .svgContainer {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1em;
    border-radius: 50%;
    pointer-events: none;
}

.auth-layout .animated-login .svgContainer > div {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    border-radius: 50%;
    padding-bottom: 100%;
}

.auth-layout .animated-login .svgContainer .mySVG {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform-origin: center;
}

.auth-layout .animated-login .svgContainer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 2.5px solid var(--login-dark-blue);
    border-radius: 50%;
}

.auth-layout .animated-login .inputGroup {
    position: relative;
    padding: 0;
    margin-bottom: 2em;
}

.auth-layout .animated-login .inputGroup:last-of-type {
    margin-bottom: 0;
}

.auth-layout .animated-login label {
    display: block;
    margin: 0 0 12px;
    margin-bottom: 12px;
    font-size: 1.25em;
    font-weight: 700;
    color: var(--login-dark-blue);
    font-family: inherit;
}

.auth-layout .animated-login input[type='text'],
.auth-layout .animated-login input[type='password'] {
    display: block;
    width: 100%;
    height: 65px;
    margin: 0;
    padding: 0.875em 1em 0;
    box-sizing: border-box;
    border: 2px solid var(--login-dark-blue);
    border-radius: 4px;
    background-color: var(--login-input-bg);
    font-size: 1.55em;
    font-weight: 600;
    color: #353538;
    transition: box-shadow 0.2s linear, border-color 0.25s ease-out;
}

.auth-layout .animated-login input[type='text']:focus,
.auth-layout .animated-login input[type='password']:focus {
    outline: none;
    border-color: var(--login-med-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-layout .animated-login button[type='submit'] {
    display: block;
    width: 100%;
    height: 65px;
    margin: 0;
    padding: 0.65em 1em 1em;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    background-color: var(--login-med-blue);
    font-size: 1.55em;
    font-weight: 600;
    color: #fff;
    transition: background-color 0.2s ease-out;
}

.auth-layout .animated-login button[type='submit']:hover,
.auth-layout .animated-login button[type='submit']:active {
    background-color: var(--login-dark-blue);
}

.auth-layout .animated-login .inputGroup1 .helper {
    position: absolute;
    z-index: 1;
    display: block;
    margin: 0;
    font-family: inherit;
}

.auth-layout .animated-login .inputGroup1 .helper1 {
    top: 0;
    left: 0;
    max-width: calc(100% - 2em);
    overflow: hidden;
    color: var(--login-dark-blue);
    font-size: clamp(1.05em, 4vw, 1.35em);
    font-weight: 400;
    line-height: 1.2;
    opacity: 0.65;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    transform: translate(1em, 2.2em) scale(1);
    transform-origin: 0 0;
    transition: transform 0.2s ease-out, opacity 0.2s linear;
}

.auth-layout .animated-login .inputGroup1.focusWithText .helper {
    max-width: calc((100% - 2em) / 0.6);
    transform: translate(1em, 2em) scale(0.6);
    opacity: 1;
}

.auth-layout .animated-login .inputGroup2 input[type='password'] {
    padding: 0.4em 1em 0.5em;
}

.auth-layout .animated-login .inputGroup2 input[type='text'] {
    padding: 0.025em 1em 0;
}

.auth-layout .animated-login #showPasswordToggle {
    position: absolute;
    top: 0.25em;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.75em;
    padding-left: 1.45em;
    font-size: 1em;
    color: var(--login-dark-blue);
    cursor: pointer;
    user-select: none;
}

.auth-layout .animated-login #showPasswordToggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-layout .animated-login #showPasswordToggle .indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 0.85em;
    height: 0.85em;
    border: 2px solid var(--login-dark-blue);
    border-radius: 3px;
    background-color: var(--login-input-bg);
}

.auth-layout .animated-login #showPasswordToggle .indicator::after {
    content: '';
    position: absolute;
    top: 0.025em;
    left: 0.25em;
    width: 0.2em;
    height: 0.5em;
    border: solid var(--login-dark-blue);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    visibility: hidden;
}

.auth-layout .animated-login #showPasswordToggle input:checked ~ .indicator::after {
    visibility: visible;
}

.auth-layout .animated-login #showPasswordToggle input:focus ~ .indicator,
.auth-layout .animated-login #showPasswordToggle:hover .indicator {
    border-color: var(--login-med-blue);
}

.auth-layout .animated-login #showPasswordToggle input:disabled ~ .indicator {
    opacity: 0.5;
}

.auth-layout .animated-login #showPasswordToggle input:disabled ~ .indicator::after {
    visibility: hidden;
}

.auth-layout .animated-login .alert {
    width: 100%;
}

.auth-layout .public-shortcuts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.auth-layout .public-shortcuts-label {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
}

.auth-layout .public-shortcuts-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.auth-layout .public-shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    background: #f8fafc;
    color: var(--login-dark-blue);
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.auth-layout .public-shortcut:hover,
.auth-layout .public-shortcut:focus-visible {
    border-color: var(--login-med-blue);
    background: var(--login-light-blue);
    color: var(--login-dark-blue);
    transform: translateY(-1px);
    outline: none;
}

.auth-layout .public-shortcut svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
