.login2-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(ellipse at 50% 45%, #347865 0%, #2f5556 24%, #26313a 58%, #20212a 100%);
    color: #232121;
    font-family: 'Poppins', sans-serif;
}

.login2-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.login2-panel {
    width: min(100%, 430px);
    padding: 2.25rem 2.35rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(13, 24, 24, 0.28);
    box-sizing: border-box;
}

.login2-brand {
    text-align: center;
    margin-bottom: 1.65rem;
}

.login2-logo {
    width: min(100%, 286px);
    height: auto;
    display: block;
    margin: 0 auto 1.15rem;
}

.login2-kicker {
    margin: 0;
    color: #2e2e38;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
}

.login2-title {
    margin: 0;
    color: #2e2e38;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
}

.login2-copy {
    margin: 0.75rem auto 0;
    max-width: 320px;
    color: #5a6668;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.45;
}

.login2-form {
    margin: 0;
}

.login2-field {
    margin-bottom: 1rem;
}

.login2-field label {
    display: block;
    margin-bottom: 0.4rem;
    color: #2e2e38;
    font-size: 0.9rem;
    font-weight: 600;
}

.login2-field input {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    border: 1px solid #c8d1d3;
    border-radius: 6px;
    background: #ffffff;
    color: #232121;
    font: inherit;
    box-sizing: border-box;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.login2-field input:focus {
    border-color: #6f54e9;
    box-shadow: 0 0 0 3px rgba(111, 84, 233, 0.22);
    outline: none;
}

.login2-field input[readonly] {
    background: #f3f6f6;
    color: #5a6668;
}

.login2-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.35rem 0 1.1rem;
    color: #394446;
    font-size: 0.9rem;
    font-weight: 500;
}

.login2-checkbox-row input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #6f54e9;
}

.login2-checkbox-row label {
    margin: 0;
}

.login2-checkbox-row--tac {
    align-items: flex-start;
    margin-top: 1rem;
}

.login2-actions {
    margin-top: 0.65rem;
}

.login2-submit,
.demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    background: #6f54e9;
    color: #ffffff;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    transition: background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.login2-submit {
    width: 100%;
    padding: 0.65rem 1rem;
}

.login2-submit:hover,
.login2-submit:focus,
.demo-btn:hover,
.demo-btn:focus {
    background: #5f46dc;
    box-shadow: 0 10px 24px rgba(111, 84, 233, 0.28);
    outline: none;
}

.login2-submit:active,
.demo-btn:active {
    transform: translateY(1px);
}

.login2-legal-note {
    margin: 0.9rem 0 0.7rem;
    color: #5a6668;
    font-size: 0.74rem;
    line-height: 1.45;
    text-align: center;
}

.login2-legal-note a,
.login-help-links a,
.tac_container a {
    color: #004991;
    font-weight: 600;
    text-decoration: none;
}

.login2-legal-note a:hover,
.login2-legal-note a:focus,
.login-help-links a:hover,
.login-help-links a:focus,
.tac_container a:hover,
.tac_container a:focus {
    text-decoration: underline;
}

.login2-footer-row {
    text-align: center;
}

.login2-reset-footer {
    margin-top: 1rem;
}

.login2-secondary-link {
    color: #004991;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.login2-secondary-link:hover,
.login2-secondary-link:focus {
    text-decoration: underline;
}

.login-help-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    color: #004991;
    font-size: 0.82rem;
}

.login-help-links .link {
    display: inline-flex;
}

ul.errorlist {
    margin: 0 0 0.75rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #f2b8b5;
    border-radius: 6px;
    background: #fff2f1;
    color: #9f1f1b;
    list-style: none;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
}

.login2-alert {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    font-size: 0.86rem;
    line-height: 1.4;
}

.login2-alert--warning {
    border: 1px solid #f2cf78;
    background: #fff7df;
    color: #5a4716;
}

.login2-eula-notice {
    margin-bottom: 1rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(111, 84, 233, 0.18);
    border-radius: 6px;
    background: rgba(111, 84, 233, 0.06);
    color: #3f4650;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.login2-eula-notice ul.errorlist {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-align: center;
}

.login2-password-rules {
    margin-top: 0.7rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #ded9f8;
    border-radius: 6px;
    background: #f8f7fd;
    color: #4f5860;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.4;
}

.login2-password-rules ul {
    margin: 0;
    padding-left: 1.05rem;
}

.login2-password-rules li + li {
    margin-top: 0.3rem;
}

.login2-message {
    margin: 0;
    padding: 0.95rem 1rem;
    border-radius: 6px;
    color: #394446;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
}

.login2-message p {
    margin: 0;
}

.login2-message p + p {
    margin-top: 0.65rem;
}

.login2-message a {
    color: #004991;
    font-weight: 700;
    text-decoration: none;
}

.login2-message a:hover,
.login2-message a:focus {
    text-decoration: underline;
}

.login2-message--success {
    border: 1px solid rgba(111, 84, 233, 0.24);
    background: rgba(111, 84, 233, 0.09);
}

.login2-message--warning {
    border: 1px solid #f2cf78;
    background: #fff7df;
    color: #5a4716;
}

.session_limit__login {
    margin: 0.4rem 0 0;
    font-weight: 700;
}

.tac_container .tac-contents {
    height: 230px;
    margin-top: 1rem;
    padding: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ded9f8;
    border-radius: 6px;
    background: #f8f7fd;
    color: #232121;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    line-height: 1.45;
}

.tac_container .tac-contents p {
    margin-top: 0;
}

.hidden {
    display: none;
}

.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(16, 24, 26, 0.58);
    box-sizing: border-box;
}

.demo-modal-content {
    width: min(100%, 430px);
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    color: #232121;
    box-shadow: 0 24px 70px rgba(13, 24, 24, 0.34);
}

.demo-modal-header {
    position: relative;
    padding: 1.5rem 3rem 1.1rem;
    text-align: center;
    border-bottom: 1px solid #e2e8e9;
}

.demo-logo {
    width: 220px;
    max-width: 80%;
}

.demo-close {
    position: absolute;
    top: 0.8rem;
    right: 0.95rem;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #465153;
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
}

.demo-close:hover,
.demo-close:focus {
    background: #eef3f3;
    outline: none;
}

.demo-modal-body {
    padding: 1.4rem 1.6rem 0.5rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.demo-modal-body p {
    margin-top: 0;
}

.demo-modal-body ul {
    margin: 0.8rem 0 0;
    padding-left: 1.2rem;
}

.demo-modal-body li {
    margin-bottom: 0.45rem;
}

.demo-modal-footer {
    padding: 1rem 1.6rem 1.5rem;
    text-align: center;
}

.demo-btn {
    min-width: 110px;
    padding: 0.6rem 1rem;
}

@media (max-width: 520px) {
    .login2-shell {
        align-items: stretch;
        padding: 1rem;
    }

    .login2-panel {
        align-self: center;
        padding: 1.6rem 1.2rem 1.45rem;
    }

    .login2-logo {
        width: min(100%, 240px);
    }

    .login2-kicker {
        font-size: 1.15rem;
    }
}
