/* WeStudy Library - Enquiry Form Custom Styling */

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

.animate-fadeIn {
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Sex / Gender Radio Button Selectors */
.sex-radio-label {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-color: rgba(51, 65, 85, 0.8);
}

.sex-radio-label:hover {
    border-color: rgba(20, 171, 147, 0.4);
    background-color: rgba(30, 41, 59, 0.9);
}

.sex-radio-label.active {
    border-color: #14ab93 !important;
    background-color: rgba(20, 171, 147, 0.15) !important;
    box-shadow: 0 0 16px rgba(20, 171, 147, 0.2);
}

.sex-radio-label.active span {
    color: #ffffff !important;
    font-weight: 700;
}

/* Error States */
.has-error input,
.has-error select {
    border-color: #f43f5e !important;
    background-color: rgba(244, 63, 94, 0.05) !important;
}

.has-error .error-text {
    display: block !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.shake {
    animation: shake 0.35s ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0b1120;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Input Focus Glow */
input:focus {
    box-shadow: 0 0 0 3px rgba(20, 171, 147, 0.15);
}

/* Mobile Friendly Optimizations */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Prevent auto-zoom on iOS Safari when focusing inputs */
@media (max-width: 640px) {
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    select {
        font-size: 16px !important;
    }

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


