.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f8fafc 100%);
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
    animation: fadeUp 0.5s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
    border: 1px solid rgba(5,150,105,0.08);
}

.auth-card .title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 4px;
}

.auth-card .subtitle {
    font-size: 0.88rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 22px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row .form-group {
    flex: 1;
}

.form-control {
    width: 100%;
    padding: 10px 13px;
    font-size: 0.88rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    transition: all 0.25s;
    color: #1f2937;
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-control:focus {
    outline: none;
    border-color: #059669;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(5,150,105,0.12);
}

.form-control.error {
    border-color: #ef4444;
}

.error-text {
    display: block;
    font-size: 0.76rem;
    color: #ef4444;
    margin-top: 3px;
}

.btn {
    width: 100%;
    padding: 11px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    background: #059669;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 4px;
}

.btn:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(5,150,105,0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 0.86rem;
    color: #6b7280;
}

.auth-footer a {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.forgot-link {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: #059669;
    text-decoration: none;
    margin-top: -10px;
    margin-bottom: 14px;
}

.forgot-link:hover {
    text-decoration: underline;
}

.terms-text {
    font-size: 0.78rem;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 14px;
    line-height: 1.5;
}

.terms-text a {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
}

.alert {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.84rem;
    margin-bottom: 16px;
    text-align: center;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 480px) {
    .auth-card { padding: 24px 18px; }
    .form-row { flex-direction: column; gap: 0; }
}
