/* auth.css - Styling for Login and Register pages */
body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* CSS Fluid Animated Gradient */
    background: linear-gradient(-45deg, #0700b8, #00d4ff, #ff69b4, #2a0845);
    background-size: 400% 400%;
    animation: gradientFluid 15s ease infinite;
}

@keyframes gradientFluid {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    text-align: center;
    color: white;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.user-avatar i {
    font-size: 40px;
    color: #a8b2c1;
}

.auth-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 20px;
}

.pill-input {
    border-radius: 50px;
    padding: 12px 25px;
    border: none;
    background: white;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pill-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(100, 181, 246, 0.5);
}

.pill-btn {
    border-radius: 50px;
    padding: 12px;
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #64B5F6 0%, #2196F3 100%);
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.pill-btn:hover {
    background: linear-gradient(135deg, #42A5F5 0%, #1E88E5 100%);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    transform: translateY(-2px);
}

.auth-links {
    margin-top: 20px;
    font-size: 0.9rem;
}

.auth-links a {
    color: white;
    text-decoration: underline;
    opacity: 0.8;
}

.auth-links a:hover {
    opacity: 1;
}

/* Custom form-select for Register Sex dropdown */
.form-select.pill-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}