:root {
    --font-system: 'Figtree', Arial, sans-serif;
}
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: var(--font-system);
}

body {
    background: #08284A;
    color: #08284A;
    overflow: hidden;
}

input,
button {
    font: inherit;
}

.tda-login-shell {
    width: 100%;
    height: 100vh;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tda-login-box {
    width: min(1180px, calc(100vw - 80px));
    height: min(620px, calc(100vh - 110px));
    min-height: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
}

.tda-login-image {
    position: relative;
    height: 100%;
    min-height: 0;
    background: url('/images/quadra.png') center center / cover no-repeat;
}

.tda-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(8, 40, 74, .58), rgba(8, 40, 74, .68)),
        radial-gradient(circle at center, rgba(255,255,255,.08), rgba(8,40,74,.28));
}

.tda-image-content {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}


.tda-image-content p {
    max-width: 430px;
    margin: 120px 0 0;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 500;
    color: rgba(255, 255, 255, .94);
}

.tda-login-panel {
    padding: 44px 62px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.tda-login-panel h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    color: #08284A;
}

.tda-subtitle {
    margin: 8px 0 38px;
    color: #6B7280;
    font-size: 16px;
}

.tda-field {
    margin-bottom: 21px;
}

.tda-field label {
    display: block;
    margin-bottom: 9px;
    color: #4B5563;
    font-size: 15px;
    font-weight: 500;
}

.tda-input-wrap {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
    border: 1px solid #D1D5DB;
    border-radius: 9px;
    background: #fff;
    transition: .18s ease;
}

.tda-input-wrap span {
    color: #9CA3AF;
    font-size: 16px;
}

.tda-input-wrap input {
    width: 100%;
    height: 100%;
    border: 0 !important;
    outline: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111827;
    font-size: 15px;
}

.tda-input-wrap:focus-within {
    border-color: #0B65B9;
    box-shadow: 0 0 0 3px rgba(11,101,185,.10);
}

.tda-login-options {
    margin: 2px 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #6B7280;
    font-size: 15px;
}

.tda-login-options label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tda-login-options input {
    width: 16px;
    height: 16px;
    accent-color: #08284A;
}

.tda-login-options a,
.tda-admin-help a {
    color: #2EA8E5;
    text-decoration: none;
    font-weight: 500;
}

.tda-login-options a:hover,
.tda-admin-help a:hover {
    text-decoration: underline;
}

.tda-login-button {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 9px;
    background: #063B66;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: .18s ease;
}

.tda-login-button:hover {
    background: #08284A;
}

.tda-admin-help {
    margin-top: 28px;
    text-align: center;
    color: #6B7280;
    font-size: 15px;
}

.tda-login-footer {
    margin-top: 14px;
    color: rgba(255,255,255,.86);
    font-size: 14px;
}

.tda-error {
    margin-top: 8px;
    color: #B91C1C;
    font-size: 13px;
}

@media (max-width: 980px) {
    body {
        overflow: auto;
    }

    .tda-login-shell {
        height: auto;
        min-height: 100vh;
        padding: 24px 16px;
    }

    .tda-login-box {
        width: 100%;
        height: auto;
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .tda-login-image {
        height: 300px;
    }

    .tda-image-content {
        padding: 38px 24px;
    }

    .tda-image-content p {
        margin: 30px 0 0;
        font-size: 17px;
    }

    .tda-login-panel {
        padding: 42px 28px;
    }

    .tda-subtitle {
        margin-bottom: 34px;
    }
}

@media (max-width: 520px) {
    .tda-login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .tda-login-panel h2 {
        font-size: 27px;
    }
}
.tda-login-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.tda-login-logo-row img {
    width: 122px;
    height: 122px;
    object-fit: contain;
}

.tda-login-logo-separator {
    width: 2px;
    height: 104px;
    background: rgba(255,255,255,.72);
}

.tda-login-logo-row h1 {
    margin: 0;
    font-size: 42px;
    line-height: .92;
    font-weight: 900;
    letter-spacing: -1.2px;
    color: #fff;
    text-align: left;
    text-transform: uppercase;
}
body {
    background: #08284A;
    color: #08284A;
    overflow: hidden;
}

.tda-login-shell {
    width: 100%;
    min-height: 100vh;
    padding: 40px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tda-login-box {
    width: min(1180px, calc(100vw - 80px));
    height: min(600px, calc(100vh - 95px));
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
}

.tda-login-image {
    position: relative;
    height: 100%;
    min-height: 0;
    background: url('/images/quadra.png') center center / cover no-repeat;
}

.tda-login-panel {
    min-height: 0;
    padding: 42px 62px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    overflow-y: auto;
}

.tda-login-panel::-webkit-scrollbar {
    width: 6px;
}

.tda-login-panel::-webkit-scrollbar-thumb {
    background: rgba(8,40,74,.18);
    border-radius: 999px;
}

.tda-subtitle {
    margin: 8px 0 34px;
}

.tda-field {
    margin-bottom: 18px;
}

.tda-input-wrap {
    height: 44px;
}

.tda-login-button {
    height: 48px;
    margin-top: 6px;
}

.tda-admin-help {
    margin-top: 24px;
}
.tda-register-panel {
    padding-top: 34px;
    padding-bottom: 34px;
}

.tda-register-panel .tda-subtitle {
    margin-bottom: 28px;
}

.tda-register-panel .tda-field {
    margin-bottom: 16px;
}

.tda-register-panel .tda-input-wrap {
    height: 42px;
}
.tda-register-panel {
    padding: 32px 58px;
    justify-content: center;
    overflow-y: visible;
}

.tda-register-panel .tda-subtitle {
    margin: 6px 0 24px;
}

.tda-register-panel .tda-field {
    margin-bottom: 14px;
}

.tda-register-panel .tda-field label {
    margin-bottom: 6px;
    font-size: 14px;
}

.tda-register-panel .tda-input-wrap {
    height: 42px;
}

.tda-register-panel .tda-login-button {
    height: 46px;
    margin-top: 4px;
}

.tda-register-panel .tda-admin-help {
    margin-top: 18px;
}
.tda-login-box {
    width: min(1180px, calc(100vw - 80px));
    height: min(650px, calc(100vh - 90px));
    min-height: 560px;
}
body {
    background: #08284A;
    color: #08284A;
    overflow: auto;
}

.tda-login-shell {
    width: 100%;
    min-height: 100vh;
    padding: 32px 24px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tda-login-box {
    width: min(1120px, calc(100vw - 96px));
    height: min(560px, calc(100vh - 105px));
    min-height: 0;
}
.tda-register-panel {
    padding: 24px 54px 22px;
    justify-content: center;
    overflow-y: visible;
}

.tda-register-panel .tda-login-panel h2,
.tda-register-panel h2 {
    font-size: 28px;
}

.tda-register-panel .tda-subtitle {
    margin: 4px 0 20px;
    font-size: 15px;
}

.tda-register-panel .tda-field {
    margin-bottom: 12px;
}

.tda-register-panel .tda-field label {
    margin-bottom: 5px;
    font-size: 14px;
}

.tda-register-panel .tda-input-wrap {
    height: 40px;
}

.tda-register-panel .tda-login-button {
    height: 44px;
    margin-top: 4px;
}

.tda-register-panel .tda-admin-help {
    margin-top: 16px;
}
.tda-login-logo-row img {
    width: 104px;
    height: 104px;
}

.tda-login-logo-row h1 {
    font-size: 36px;
}

.tda-image-content p {
    margin: 90px 0 0;
    font-size: 18px;
}
.tda-auth-register .tda-login-box {
    width: min(1120px, calc(100vw - 96px));
    height: 560px;
}

.tda-auth-register .tda-image-content {
    padding: 42px;
}

.tda-auth-register .tda-image-content p {
    margin-top: 90px;
    font-size: 18px;
}

.tda-register-panel {
    padding: 34px 58px;
    justify-content: center;
    overflow: hidden;
}

.tda-register-panel h2 {
    font-size: 30px;
    margin-bottom: 4px;
}

.tda-register-panel .tda-subtitle {
    margin: 0 0 22px;
    font-size: 15px;
}

.tda-register-panel .tda-field {
    margin-bottom: 13px;
}

.tda-register-panel .tda-field label {
    margin-bottom: 5px;
    font-size: 14px;
}

.tda-register-panel .tda-input-wrap {
    height: 40px;
}

.tda-register-panel .tda-login-button {
    height: 44px;
    margin-top: 6px;
}

.tda-register-panel .tda-admin-help {
    margin-top: 16px;
    font-size: 14px;
}
.tda-register-step {
    display: none;
}

.tda-register-step.is-active {
    display: block;
}

.tda-register-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 26px;
}

.tda-register-progress span {
    flex: 1;
    height: 5px;
    border-radius: 999px;
    background: #E5E7EB;
}

.tda-register-progress span.is-active {
    background: #063B66;
}

.tda-step-actions {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
}

.tda-secondary-button {
    height: 50px;
    border: 1px solid #D1D5DB;
    border-radius: 9px;
    background: #fff;
    color: #4B5563;
    font-weight: 700;
    cursor: pointer;
}

.tda-secondary-button:hover {
    background: #F9FAFB;
}
.tda-status-message {
    margin: 0 0 24px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #ECFDF5;
    color: #047857;
    font-weight: 700;
    font-size: 14px;
}

.tda-logout-form {
    margin-top: 18px;
    text-align: center;
}

.tda-link-button {
    border: 0;
    background: transparent;
    color: #2EA8E5;
    font-weight: 700;
    cursor: pointer;
}