:root {
    --auth-blue: #205993;
    --auth-blue-dark: #174b80;
    --auth-green: #08b67f;
    --auth-page-bg: #f3f6fb;
    --auth-border: #dce4ef;
    --auth-text: #172033;
    --auth-muted: #70829d;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    background: var(--auth-page-bg);
}

body {
    margin: 0;
    color: var(--auth-text);
    background: var(--auth-page-bg);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
input,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.auth-page {
    display: grid;
    grid-template-columns: minmax(520px, 1.05fr) minmax(520px, 0.95fr);
    min-height: 100vh;
    background: var(--auth-page-bg);
}

.auth-brand-panel {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    padding: 26px 34px 22px;
    overflow: hidden;
    color: white;
    background: var(--auth-blue);
}

.auth-brand-panel::before {
    position: absolute;
    top: 80px;
    left: 70px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.015);
    content: "";
}

.auth-brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-brand-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: var(--auth-green);
    font-weight: 800;
}

.auth-brand-name {
    margin-right: 10px;
    font-size: 22px;
    font-weight: 800;
}

.auth-brand-subtitle {
    color: #adc8e5;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auth-marketing-copy {
    position: relative;
    max-width: 670px;
    margin-top: 46px;
}

.auth-marketing-copy h1 {
    margin: 0;
    font-size: 36px;
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.auth-intro {
    max-width: 660px;
    margin: 18px 0 0;
    color: #d5e3f2;
    font-size: 15px;
    line-height: 1.5;
}

.auth-feature-list {
    display: grid;
    margin-top: 38px;
    gap: 18px;
}


.auth-feature {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.feature-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 9px;
    color: var(--auth-green);
    background: rgba(255, 255, 255, 0.11);
    font-weight: 800;
}

.auth-feature h2 {
    margin: 0;
    font-size: 15px;
}

.auth-feature p {
    margin: 3px 0 0;
    color: #bad0e6;
    font-size: 13px;
    line-height: 1.45;
}

.trusted-section {
    position: relative;
    margin-top: auto;
    padding-top: 20px;
}

.trusted-label {
    margin: 0 0 9px;
    color: #94b4d4;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trusted-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trusted-pills span {
    padding: 6px 10px;
    border-radius: 999px;
    color: #dbe8f5;
    background: rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.trust-footer {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 20px;
    color: #91afd0;
    font-size: 12px;
}

.auth-form-side {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: var(--auth-page-bg);
}

.auth-card,
.identity-notice {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    padding: 22px 28px 26px;
    border: 1px solid var(--auth-border);
    border-radius: 11px;
    background: white;
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 24px;
    border-bottom: 1px solid var(--auth-border);
}

.auth-tab {
    padding: 8px 8px 10px;
    font-size: 13px;
    color: #496078;
    text-align: center;
    border-bottom: 2px solid transparent;
}

.auth-tab.active {
    color: var(--auth-blue);
    border-bottom-color: var(--auth-blue);
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-field {
    display: grid;
    gap: 6px;
}

.auth-field label {
    color: #526984;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auth-field input,
.auth-field select {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--auth-border);
    border-radius: 6px;
    outline: 0;
    color: var(--auth-text);
    background: white;
    font-size: 13px;
}

.auth-field input:focus,
.auth-field select:focus {
    border-color: #7fa9d5;
    box-shadow: 0 0 0 3px rgba(32, 89, 147, 0.12);
}

.input-with-icon,
.password-field {
    position: relative;
}

.input-with-icon input {
    padding-left: 38px;
}

.password-field input {
    padding-right: 46px;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #8da0ba;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 7px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    color: #8da0ba;
    background: transparent;
    cursor: pointer;
}

.password-toggle:hover {
    background: #eef3f8;
}

.auth-submit {
    display: inline-flex;
    min-height: 40px;
    font-size: 13px;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    border: 0;
    border-radius: 7px;
    gap: 12px;
    color: white;
    background: var(--auth-blue);
    cursor: pointer;
    font-weight: 700;
}

.auth-submit:hover {
    background: var(--auth-blue-dark);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 18px 0;
    gap: 14px;
    color: #8a9ab0;
    font-size: 12px;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    height: 1px;
    flex: 1;
    background: var(--auth-border);
    content: "";
}

.google-auth-button {
    display: flex;
    width: 100%;
    min-height: 40px;
    font-size: 13px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--auth-border);
    border-radius: 7px;
    gap: 12px;
    background: white;
    cursor: pointer;
    font-weight: 600;
}

.google-auth-button:hover {
    background: #f7f9fc;
}

.google-mark {
    color: #4285f4;
    font-weight: 800;
}

.identity-notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    margin-top: 14px;
    padding: 15px;
    border: 1px solid #efc64d;
    border-radius: 9px;
    gap: 10px;
    color: #aa4d00;
    background: #fff9e8;
}

.notice-icon {
    color: #dc7700;
    font-size: 18px;
}

.identity-notice h2 {
    margin: 0;
    font-size: 15px;
}

.identity-notice p {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.5;
}

.auth-message {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 7px;
    color: #0a684d;
    background: #eaf8f3;
    font-size: 13px;
}

@media (max-width: 1050px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        min-height: auto;
    }

    .auth-form-side {
        min-height: auto;
    }
}

@media (max-width: 650px) {
    .auth-brand-panel,
    .auth-form-side {
        padding: 24px;
    }

    .auth-marketing-copy {
        margin-top: 40px;
    }

    .auth-marketing-copy h1 {
        font-size: 36px;
    }

    .auth-card {
        padding: 24px;
    }

    .auth-brand-subtitle {
        display: block;
        margin-top: 4px;
    }
}