

.auth-screen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--app-bg);
    position: relative;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    color: var(--text-main, #1a1a1a);
    margin: 0;
}


.auth-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.decor-trail { position: absolute; top: 10%; left: 5%; width: 200px; opacity: 0.6; }
.decor-mountain { position: absolute; bottom: 15%; right: 5%; width: 250px; }
.decor-sun { position: absolute; bottom: 5%; left: 10%; width: 100px; opacity: 0.7; }


.auth-header {
    display: flex;
    justify-content: flex-end;
    padding: 24px 32px;
    position: relative;
    z-index: 10;
}

.auth-help-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}
.auth-help-link:hover { color: var(--text-muted, #5e5e5e); }


.auth-page-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    position: relative;
    z-index: 10;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.auth-logo-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.auth-logo-icon .auth-logo-image {
    width: 100px;
    height: auto;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 32px 0;
}


.auth-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.auth-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.auth-input-group input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border, #d4d3ca);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--search-bg, #ffffff);
    color: var(--text-main);
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.auth-input-group input:focus {
    outline: none;
    border-color: var(--btn-green);
    box-shadow: 0 0 0 3px rgba(79, 108, 20, 0.1);
}


.auth-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.auth-forgot-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.auth-forgot-link:hover {
    color: var(--text-main);
}


.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.1s ease, background-color 0.2s ease;
    border: none;
}
.auth-btn:active { transform: scale(0.98); }

.auth-btn-primary {
    background-color: var(--btn-green);
    color: #ffffff;
}
.auth-btn-primary:hover { background-color: var(--btn-hover); }


.auth-help-text {
    margin: 32px 0 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.auth-help-text a {
    color: var(--text-main);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.auth-help-text a:hover { color: var(--btn-green); }


.auth-footer {
    padding: 24px 32px;
    position: relative;
    z-index: 10;
}

.auth-lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    font-family: inherit;
    padding: 8px 0;
}
.auth-lang-btn .chevron { transition: transform 0.2s; }
.auth-lang-btn:hover .chevron { transform: translateY(2px); }


@media (max-width: 600px) {
    .decor-mountain, .decor-sun, .decor-trail { display: none; }
    .auth-header, .auth-footer { padding: 16px 20px; }
    .auth-title { font-size: 1.6rem; }
}


.auth-legal-text {
    font-size: 0.8rem;
    color: var(--text-muted, #5e5e5e);
    margin: 16px 0 24px 0;
    line-height: 1.4;
    text-align: center;
}

.auth-legal-text a {
    color: var(--text-main, #1a1a1a);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.auth-legal-text a:hover {
    color: var(--btn-green, #ABCD03);
}





.auth-step {
    display: none;
    flex-direction: column;
    width: 100%;
    animation: fadeInStep 0.3s ease forwards;
}


.auth-step.active {
    display: flex;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.auth-back-btn {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
    font-family: inherit;
    transition: color 0.2s;
}

.auth-back-btn:hover {
    color: var(--text-main);
}


.input-code {
    text-align: center;
    letter-spacing: 12px;
    font-size: 1.5rem !important;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}