.auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f1f5f9;
}

.auth-card {
    background: var(--white, #ffffff);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 420px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #0f172a;
    font-size: 1.8rem;
    transition: 0.3s ease;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
}

.phone-group {
    display: flex;
    align-items: center;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-group:focus-within {
    border-color: var(--primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.phone-prefix {
    padding: 12px 15px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    border-right: 1px solid var(--border, #e2e8f0);
    font-size: 1rem;
}

.phone-group input {
    border: none !important;
    margin: 0 !important;
    flex: 1;
    padding: 12px 15px !important;
    font-size: 1rem;
    outline: none;
    box-shadow: none !important;
    background: transparent;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.2s;
    margin: 0;
}

.auth-card input[type="text"]:focus,
.auth-card input[type="email"]:focus,
.auth-card input[type="password"]:focus {
    border-color: var(--primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.auth-card .btn {
    margin-top: 10px;
    font-size: 1.05rem;
    padding: 14px;
}

.switch {
    text-align: center;
    margin-top: 25px;
    font-size: 0.95rem;
    color: #64748b;
}

.switch a {
    color: var(--primary, #2563eb);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
    transition: 0.2s;
}

.switch a:hover {
    color: var(--primary-dark, #1d4ed8);
    text-decoration: underline;
}

#register-fields {
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}