.auth-wrapper {
    margin-top: 5vh;
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, #e8f0fe, #ffffff);
}

.auth-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.auth-toggle {
    position: relative;
    display: flex;
    background: #f1f3f4;
    border-radius: 30px;
    margin-bottom: 30px;
}

.auth-toggle button {
    flex: 1;
    border: none;
    background: none;
    padding: 10px;
    z-index: 2;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.auth-toggle .slider {
    position: absolute;
    width: 50%;
    height: 100%;
    background: var(--white);
    border-radius: 30px;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 15px;
    animation: fadeIn 0.4s ease;
}

.auth-form.active {
    display: flex;
}

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

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

.input-group {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    gap: 10px;
}

.input-group input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
}

.btn-primary-auth {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-primary-auth:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.divider {
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #ddd;
    top: 50%;
    left: 0;
}

.divider span {
    background: white;
    padding: 0 10px;
    position: relative;
    color: #888;
    font-size: 12px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-google:hover {
    background: #f8f9fa;
}

.google-img{
    height: 35px;
}

.spinner {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid var(--primary); /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

