@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary-blue: #2563eb;
    --primary-hover: #1d4ed8;
    --dark-slate: #0f172a;
    --glass-white: rgba(255, 255, 255, 0.95);
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}



/* Premium Form Selection States */
label.relative {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
}

label.relative:hover {
    border-color: #93c5fd;
    transform: translateY(-2px);
}

label.relative:has(input:checked) {
    border-color: var(--primary-blue);
    background-color: #eff6ff;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
}

label.relative:has(input:checked) .font-black {
    color: var(--primary-blue);
}

/* Button Glow & Animations */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

/* Success Checkmark Animation */
@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.animate-check {
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Navigation Blur Effect */
.glass-nav {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

/* Mobile Menu Slide */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Custom Scrollbar for a cleaner look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Footer Link Underlines */
footer a {
    position: relative;
    text-decoration: none;
}
footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}
footer a:hover::after {
    width: 100%;
}

/* FAQ Accordion Transitions */
.faq-answer {
    transition: all 0.3s ease-in-out;
}

/* Ensure icons rotate smoothly */
[data-lucide="chevron-down"] {
    transition: transform 0.3s ease;
}
/* Checkbox coloured */
label:has(input[type="radio"]:checked) {
    border-color: #2563eb; /* blue-600 */
    background-color: #eff6ff; /* blue-50 */
    box-shadow: 0 0 0 2px #2563eb;

}

#submit-btn:disabled {
    filter: grayscale(0.5);
    pointer-events: none;
}

/* Add a subtle shine effect during loading */
@keyframes loading-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

#submit-btn:not(:disabled):after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
}

#submit-btn:hover:after {
    animation: loading-shimmer 1.5s infinite;
}
/* If the box is still smaller, force it to behave like a standard block */
.form-input-class {
    width: 100%;
    box-sizing: border-box;
}

/* ============================================================
   DATEPICKER MAIN CONTAINER
   ============================================================ */
#ui-datepicker-div.ui-datepicker {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2) !important;
    padding: 1.5rem !important;
    z-index: 9999 !important; /* Ensures it floats above all form sections */
    width: 310px !important;
    display: none; /* Hidden by default until triggered */
}

/* ============================================================
   HEADER & NAVIGATION (Arrows Removed)
   ============================================================ */
.ui-datepicker-header {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    position: relative !important;
}

/* Completely remove distorted prev/next arrows */
.ui-datepicker-prev, 
.ui-datepicker-next {
    display: none !important;
}

/* Center the Month and Year dropdowns */
.ui-datepicker-title {
    margin: 0 0 15px 0 !important;
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
    justify-content: center !important;
}

/* ============================================================
   MONTH & YEAR DROPDOWN STYLING
   ============================================================ */
.ui-datepicker-title select {
    flex: 1 !important;
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 8px 30px 8px 12px !important; /* Extra right padding for custom arrow */
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    appearance: none !important; /* Remove default browser arrow */
    -webkit-appearance: none;
    
    /* Modern Custom Chevron Icon */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 12px !important;
}

/* ============================================================
   CALENDAR GRID & DAYS
   ============================================================ */
.ui-datepicker-calendar {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 2px !important; /* Space between date circles */
}

/* Day Initials (Mo, Tu, We...) */
.ui-datepicker th {
    padding: 10px 0 !important;
    color: #94a3b8 !important; /* Slate 400 */
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em;
}

/* Day Numbers */
.ui-state-default {
    background: transparent !important;
    border: none !important;
    text-align: center !important;
    padding: 8px !important;
    border-radius: 10px !important;
    color: #334155 !important; /* Slate 700 */
    font-weight: 500 !important;
    display: block !important;
    transition: all 0.2s ease;
}

/* Today's Date Highlight */
.ui-state-highlight {
    background: #eff6ff !important; /* Light blue tint */
    color: #2563eb !important;
    font-weight: 700 !important;
}

/* Selected Date (Matches your Prime Blue) */
.ui-state-active {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3) !important;
}

/* Hover Effect */
.ui-state-hover {
    background: #f1f5f9 !important;
    color: #1e293b !important;
}

/* Remove weird focus outlines */
.ui-datepicker-calendar a:focus {
    outline: none !important;
}
/* Mobile Centering Fix */
@media (max-width: 767px) {
    #ui-datepicker-div.ui-datepicker {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        margin: 0 auto !important;
        width: 90% !important; /* Makes it look better on very narrow phones */
        max-width: 320px !important;
    }
}