
.auth-container {
    min-height: 100vh;
    background: var(--bg, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    background: var(--bg-card, #ffffff);
    border-radius: 16px;
    border: 1px solid var(--line, #e5e7eb);
    box-shadow: 0 4px 24px -4px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    position: relative;
}

.auth-header {
    background: var(--bg-card, #ffffff);
    color: var(--ink, #0d0d0d);
    padding: 32px 32px 0;
    text-align: center;
    position: relative;
}

.auth-header h2 {
    margin: 0;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--ink, #0d0d0d);
}

.auth-tabs {
    display: flex;
    background: var(--bg-warm, #f7f7f8);
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 12px;
    padding: 4px;
    margin: 20px auto 0;
    max-width: 260px;
}

.auth-tab {
    flex: 1;
    padding: 8px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    font-weight: 500;
    font-size: 13px;
    color: var(--ink-soft, #374151);
}

.auth-tab.active {
    background: var(--bg-card, #ffffff);
    color: var(--ink, #0d0d0d);
    box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 0 0 1px var(--line, #e5e7eb);
}

.auth-body {
    padding: 28px 32px 32px;
    position: relative;
}

.auth-form {
    transition: all 0.2s ease;
}

.form-control {
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line, #e5e7eb);
    background: var(--bg-warm, #f7f7f8);
    border-radius: 10px;
    font-size: 15px;
    color: var(--ink, #0d0d0d);
    transition: all 0.15s;
    outline: none;
    width: 100%;
}

.form-control:focus {
    border-color: var(--ink, #0d0d0d);
    background: var(--bg-card, #ffffff);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.form-control::placeholder {
    color: var(--ink-muted, #9ca3af);
}

.btn-auth {
    background: var(--ink, #0d0d0d);
    border: none;
    color: #fff;
    height: 44px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.15s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-auth:hover {
    background: #1a1a1a;
}

.btn-auth:disabled {
    background: var(--line, #e5e7eb);
    color: var(--ink-muted, #9ca3af);
    cursor: not-allowed;
}

.switch-text {
    text-align: center;
    margin-top: 16px;
    color: var(--ink-muted, #9ca3af);
    font-size: 12px;
    line-height: 1.6;
}

.switch-link {
    color: var(--ink-soft, #374151);
    text-decoration: underline;
    text-decoration-color: var(--line, #e5e7eb);
    text-underline-offset: 2px;
    font-weight: 500;
    cursor: pointer;
}

.switch-link:hover {
    text-decoration-color: var(--ink-soft, #374151);
}

.alert {
    border-radius: 10px;
    border: 1px solid var(--line, #e5e7eb);
    font-size: 13px;
    padding: 12px 16px;
}

.password-strength {
    height: 4px;
    background: var(--bg-warm, #f7f7f8);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
    border: 1px solid var(--line-soft, #f3f4f6);
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s;
    border-radius: 2px;
}

.strength-weak { background: #ef4444; width: 33%; }
.strength-medium { background: #f59e0b; width: 66%; }
.strength-strong { background: var(--accent, #19c37d); width: 100%; }

.form-text {
    font-size: 12px;
    color: var(--ink-muted, #9ca3af);
}

.form-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-soft, #374151);
    margin-bottom: 6px;
}