/**
 * Tailwind Custom Styles
 * Modern animations, dark mode, and special effects
 */

/* ============================================
   FONT FACE - LOCAL INTER FONT
   ============================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Flatpickr Mobile Optimization */
.flatpickr-calendar {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3) !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.flatpickr-calendar.touch-friendly {
  font-size: 16px !important;
}

.flatpickr-calendar.touch-friendly .flatpickr-day {
  height: 44px !important;
  line-height: 44px !important;
  max-width: 44px !important;
}

.flatpickr-calendar.touch-friendly .flatpickr-months {
  padding: 12px 0 !important;
}

/* Responsive Flatpickr */
@media (max-width: 640px) {
  .flatpickr-calendar {
    width: 100% !important;
    max-width: 340px !important;
  }
  
  .flatpickr-day {
    height: 40px !important;
    line-height: 40px !important;
  }
}

/* ============================================
   FIX: GRADIENT TEXT CLIPPING
   ============================================ */

/* Prevent gradient text from being clipped */
.bg-clip-text {
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent;
  /* Add padding to prevent clipping */
  padding-top: 0.15em;
  padding-bottom: 0.15em;
  /* Ensure proper line height */
  line-height: 1.25;
  /* Prevent overflow clipping */
  display: inline-block;
}

/* Specific fixes for headings with gradient text */
h1.bg-clip-text {
  padding-top: 0.1em;
  padding-bottom: 0.2em;
  line-height: 1.2;
}

h2.bg-clip-text {
  padding-top: 0.08em;
  padding-bottom: 0.15em;
  line-height: 1.25;
}

h3.bg-clip-text,
h4.bg-clip-text {
  padding-top: 0.05em;
  padding-bottom: 0.12em;
  line-height: 1.3;
}

/* Fix for large text sizes */
.text-4xl.bg-clip-text,
.text-5xl.bg-clip-text,
.text-6xl.bg-clip-text,
.text-7xl.bg-clip-text,
.text-8xl.bg-clip-text {
  padding-top: 0.1em;
  padding-bottom: 0.15em;
  line-height: 1.15;
}

/* Ensure proper rendering */
.animate-gradient {
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent;
}

/* Fix for inline gradient text in headers */
header .bg-clip-text,
footer .bg-clip-text {
  padding-top: 0.05em;
  padding-bottom: 0.1em;
}

/* Float Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Gradient Animation */
@keyframes gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient 3s ease infinite;
}

/* Fade In Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Pulse Slow Animation */
@keyframes pulseSlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.animate-pulse-slow {
  animation: pulseSlow 3s ease-in-out infinite;
}

/* Spin Slow Animation */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin-slow {
  animation: spinSlow 3s linear infinite;
}

/* Shimmer Animation */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.animate-shimmer {
  animation: shimmer 2s infinite;
}

/* ============================================
   SKELETON LOADERS
   ============================================ */

.skeleton-line {
  height: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.skeleton-line.title {
  width: 40%;
  height: 16px;
}

.skeleton-line.short {
  width: 60%;
}

.skeleton-line.long {
  width: 90%;
}

/* ============================================
   HAMBURGER MENU
   ============================================ */

.hamburger-line,
.hamburger-line::before,
.hamburger-line::after {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hamburger-line {
  top: 50%;
  transform: translate(-50%, -50%);
}

.hamburger-line::before,
.hamburger-line::after {
  content: '';
}

.hamburger-line::before {
  top: -6px;
}

.hamburger-line::after {
  top: 6px;
}

/* Hamburger Active State (X icon) */
.mobile-menu-toggle.active .hamburger-line {
  background: transparent;
}

.mobile-menu-toggle.active .hamburger-line::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* Mobile Menu Active State */
.mobile-nav {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav.active {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* ============================================
   DARK MODE STYLES
   ============================================ */

/* Light Mode Base */
.light {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%) !important;
  color: #0f172a !important;
}

.light * {
  color: inherit;
}

/* Light Mode - Header */
.light header {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.light header a,
.light header button {
  color: #0f172a !important;
}

.light header .bg-gradient-to-r {
  background: linear-gradient(to right, #0ea5e9, #6366f1) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Light Mode - Cards & Sections */
.light section,
.light #resultCard > div,
.light #loader > div > div,
.light .bg-gradient-to-br {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

/* Light Mode - Time Breakdown & Insight Cards */
.light #timeBreakdown > div,
.light #insights > div {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(99, 102, 241, 0.08)) !important;
  border-color: rgba(14, 165, 233, 0.2) !important;
}

.light #timeBreakdown > div:hover,
.light #insights > div:hover {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.15)) !important;
  border-color: rgba(14, 165, 233, 0.3) !important;
}

/* Light Mode - Event Cards */
.light #events > a,
.light #eventsGrid > a,
.light #relatedEvents > a {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.95)) !important;
  border-color: rgba(14, 165, 233, 0.2) !important;
}

.light #events > a:hover,
.light #eventsGrid > a:hover,
.light #relatedEvents > a:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(224, 242, 254, 1)) !important;
  border-color: rgba(14, 165, 233, 0.4) !important;
  box-shadow: 0 8px 16px -4px rgba(14, 165, 233, 0.2) !important;
}

/* Light Mode - Leap Year Card */
.light #leapYear > div {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(99, 102, 241, 0.1)) !important;
  border-color: rgba(168, 85, 247, 0.3) !important;
}

/* Light Mode - Input Field */
.light #dob {
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

.light #dob::placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
}

/* Light Mode - Footer */
.light footer {
  background: rgba(255, 255, 255, 0.95) !important;
  border-top-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

/* Light Mode - Footer Bottom Bar */
.light footer .bg-dark-primary\/60 {
  background: rgba(240, 249, 255, 0.8) !important;
  box-shadow: 0 -2px 4px -1px rgba(0, 0, 0, 0.05) !important;
}

.light footer .bg-dark-primary\/60 p {
  color: #000000 !important;
}

/* Light Mode - Skeleton */
.light .skeleton-line {
  background: rgba(0, 0, 0, 0.08);
}

/* Light Mode - Hamburger */
.light .hamburger-line,
.light .hamburger-line::before,
.light .hamburger-line::after {
  background: #0f172a !important;
}

/* Light Mode - Text Colors */
.light .text-white\/70,
.light .text-white\/80,
.light .text-white\/90 {
  color: rgba(0, 0, 0, 0.8) !important;
}

.light .text-white\/60 {
  color: rgba(0, 0, 0, 0.7) !important;
}

.light .text-white\/50 {
  color: rgba(0, 0, 0, 0.6) !important;
}

.light .text-white {
  color: #0f172a !important;
}

/* Light Mode - Prose (for event descriptions) */
.light .prose-invert {
  color: #0f172a !important;
}

.light .prose-invert p,
.light .prose-invert h1,
.light .prose-invert h2,
.light .prose-invert h3,
.light .prose-invert h4 {
  color: #0f172a !important;
}

/* Light Mode - Gradient Text */
.light .bg-clip-text {
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* Light Mode - Fix for white-starting gradients */
.light h1.bg-gradient-to-r.from-white {
  background: linear-gradient(to right, #0ea5e9, #6366f1, #8b5cf6) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Light Mode - Primary Color Text */
.light .text-primary-400 {
  color: #0ea5e9 !important;
}

.light .text-accent-400 {
  color: #6366f1 !important;
}

.light .text-secondary-400 {
  color: #8b5cf6 !important;
}

.light .text-cyan-400 {
  color: #06b6d4 !important;
}

/* Light Mode - 404 Page & Other Pages */
.light .bg-white\/10,
.light .bg-white\/5 {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(14, 165, 233, 0.2) !important;
}

/* Light Mode - Hover States */
.light .hover\:bg-white\/15:hover,
.light .hover\:bg-white\/20:hover {
  background: rgba(224, 242, 254, 0.95) !important;
  border-color: rgba(14, 165, 233, 0.3) !important;
}

/* ============================================
   THEME TOGGLE BUTTON ANIMATION
   ============================================ */

#themeToggle {
  position: relative;
  overflow: hidden;
}

/* Ripple effect on click */
#themeToggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
}

#themeToggle:active::before {
  width: 200px;
  height: 200px;
  opacity: 1;
  transition: width 0s, height 0s, opacity 0s;
}

/* Icon animation */
#themeIcon {
  display: inline-block;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 10;
}

/* Bounce effect on click */
#themeToggle:active #themeIcon {
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.back-to-top-btn:hover {
  transform: scale(1.08) translateY(-2px);
}

.back-to-top-btn:active {
  transform: scale(0.95);
}

/* Button Inner Circle */
.button-inner {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95), rgba(30, 39, 73, 0.95));
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 2;
}

.back-to-top-btn:hover .button-inner {
  box-shadow: 0 10px 32px rgba(99, 102, 241, 0.4);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Progress Ring - CSS Based with Border */
.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(#0a0e27, #0a0e27) padding-box,
              conic-gradient(from 0deg at 50% 50%, 
                #22d3ee 0deg,
                #6366f1 180deg,
                #8b5cf6 360deg,
                transparent 360deg) border-box;
  transition: all 0.1s linear;
  filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.5));
  z-index: 1;
  transform: rotate(0deg);
}

/* Arrow Icon */
.arrow-icon {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  animation: bounce-arrow 2s ease-in-out infinite;
  user-select: none;
}

@keyframes bounce-arrow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* Mobile - User Friendly Position */
@media (max-width: 640px) {
  .back-to-top-btn {
    bottom: 90px; /* Well above mobile anchor ad */
    right: 16px;
  }
}

/* Desktop - Comfortable Position */
@media (min-width: 1025px) {
  .back-to-top-btn {
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
  }
  
  .button-inner {
    width: 52px;
    height: 52px;
  }
  
  .progress-ring {
    width: 64px;
    height: 64px;
  }
  
  .arrow-icon {
    font-size: 28px;
  }
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
  .back-to-top-btn {
    bottom: 75px; /* Above mobile anchor ad */
    right: 12px;
    width: 48px;
    height: 48px;
  }
  
  .button-inner {
    width: 38px;
    height: 38px;
    border-width: 1.5px;
  }
  
  .progress-ring {
    width: 48px;
    height: 48px;
    border-width: 2.5px;
    background: linear-gradient(#0a0e27, #0a0e27) padding-box,
                conic-gradient(from 0deg at 50% 50%, 
                  #22d3ee 0deg,
                  #6366f1 180deg,
                  #8b5cf6 360deg,
                  transparent 360deg) border-box;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5));
  }
  
  .arrow-icon {
    font-size: 20px;
  }
}

/* Mobile (481px - 640px) */
@media (min-width: 481px) and (max-width: 640px) {
  .back-to-top-btn {
    bottom: 80px;
    right: 14px;
    width: 52px;
    height: 52px;
  }
  
  .button-inner {
    width: 42px;
    height: 42px;
  }
  
  .progress-ring {
    width: 52px;
    height: 52px;
    border-width: 2.5px;
    background: linear-gradient(#0a0e27, #0a0e27) padding-box,
                conic-gradient(from 0deg at 50% 50%, 
                  #22d3ee 0deg,
                  #6366f1 180deg,
                  #8b5cf6 360deg,
                  transparent 360deg) border-box;
  }
  
  .arrow-icon {
    font-size: 22px;
  }
}

/* Tablet Portrait (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
  .back-to-top-btn {
    bottom: 24px;
    right: 16px;
    width: 56px;
    height: 56px;
  }
  
  .button-inner {
    width: 46px;
    height: 46px;
  }
  
  .progress-ring {
    width: 56px;
    height: 56px;
  }
  
  .arrow-icon {
    font-size: 24px;
  }
}

/* Tablet Landscape (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .back-to-top-btn {
    bottom: 24px;
    right: 20px;
    width: 60px;
    height: 60px;
  }
  
  .button-inner {
    width: 50px;
    height: 50px;
  }
  
  .progress-ring {
    width: 60px;
    height: 60px;
    border-width: 3px;
    background: linear-gradient(#0a0e27, #0a0e27) padding-box,
                conic-gradient(from 0deg at 50% 50%, 
                  #22d3ee 0deg,
                  #6366f1 180deg,
                  #8b5cf6 360deg,
                  transparent 360deg) border-box;
  }
  
  .arrow-icon {
    font-size: 26px;
  }
}

/* Desktop (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .back-to-top-btn {
    bottom: 28px;
    right: 24px;
    width: 64px;
    height: 64px;
  }
  
  .button-inner {
    width: 52px;
    height: 52px;
  }
  
  .progress-ring {
    width: 64px;
    height: 64px;
    border-width: 3px;
    background: linear-gradient(#0a0e27, #0a0e27) padding-box,
                conic-gradient(from 0deg at 50% 50%, 
                  #22d3ee 0deg,
                  #6366f1 180deg,
                  #8b5cf6 360deg,
                  transparent 360deg) border-box;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
  }
  
  .arrow-icon {
    font-size: 28px;
  }
}

/* Large Desktop (1441px+) */
@media (min-width: 1441px) {
  .back-to-top-btn {
    bottom: 32px;
    right: 32px;
    width: 68px;
    height: 68px;
  }
  
  .button-inner {
    width: 56px;
    height: 56px;
  }
  
  .progress-ring {
    width: 68px;
    height: 68px;
    border-width: 3.5px;
    background: linear-gradient(#0a0e27, #0a0e27) padding-box,
                conic-gradient(from 0deg at 50% 50%, 
                  #22d3ee 0deg,
                  #6366f1 180deg,
                  #8b5cf6 360deg,
                  transparent 360deg) border-box;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.7));
  }
  
  .arrow-icon {
    font-size: 30px;
  }
  
  .back-to-top-btn:hover {
    transform: scale(1.12) translateY(-3px);
  }
}

/* Ultra Wide (2K/4K - 1920px+) */
@media (min-width: 1920px) {
  .back-to-top-btn {
    bottom: 40px;
    right: 40px;
    width: 72px;
    height: 72px;
  }
  
  .button-inner {
    width: 60px;
    height: 60px;
  }
  
  .progress-ring {
    width: 72px;
    height: 72px;
    border-width: 4px;
    background: linear-gradient(#0a0e27, #0a0e27) padding-box,
                conic-gradient(from 0deg at 50% 50%, 
                  #22d3ee 0deg,
                  #6366f1 180deg,
                  #8b5cf6 360deg,
                  transparent 360deg) border-box;
  }
  
  .arrow-icon {
    font-size: 32px;
  }
}

/* ============================================
   LIGHT MODE STYLES
   ============================================ */

.light .button-inner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.95));
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.light .back-to-top-btn:hover .button-inner {
  box-shadow: 0 10px 32px rgba(99, 102, 241, 0.3);
  border-color: rgba(99, 102, 241, 0.3);
}

.light .arrow-icon {
  color: #0f172a;
}

.light .progress-ring {
  background: linear-gradient(#f0f9ff, #f0f9ff) padding-box,
              conic-gradient(from 0deg at 50% 50%, 
                #22d3ee 0deg,
                #6366f1 180deg,
                #8b5cf6 360deg,
                transparent 360deg) border-box;
}

/* ============================================
   LANDSCAPE ORIENTATION
   ============================================ */

@media (max-height: 600px) and (orientation: landscape) {
  .back-to-top-btn {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
  
  .button-inner {
    width: 36px;
    height: 36px;
  }
  
  .progress-ring {
    width: 44px;
    height: 44px;
    border-width: 2px;
  }
  
  .arrow-icon {
    font-size: 18px;
  }
}

/* ============================================
   HIDE SCROLLBAR
   ============================================ */

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Ad Container Styles */
.ad-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.ad-placeholder {
  transition: all 0.3s ease;
}

.ad-placeholder:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.ad-label {
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Light mode ad styles */
.light .ad-placeholder {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.light .ad-label {
  color: rgba(0, 0, 0, 0.4) !important;
}

.light .ad-placeholder div {
  color: rgba(0, 0, 0, 0.6) !important;
}

/* Mobile anchor ad spacing */
.anchor-ad ~ footer {
  margin-bottom: 60px;
}

@media (min-width: 1024px) {
  .anchor-ad ~ footer {
    margin-bottom: 0;
  }
}

.text-gradient {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smooth Transitions */
* {
  transition-property: background-color, border-color, color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

/* Focus Styles */
*:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

.light *:focus-visible {
  outline-color: #0ea5e9;
}

/* Make Flatpickr responsive down to 320px */
@media (max-width: 360px) {
  .flatpickr-calendar {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    border-radius: 1rem;
  }

  .flatpickr-days {
    width: 100% !important;
  }

  .flatpickr-day {
    max-width: 2rem;
    height: 2rem;
    line-height: 2rem;
    font-size: 0.75rem;
  }

  .flatpickr-weekday {
    font-size: 0.7rem;
  }

  .flatpickr-months {
    padding: 0.5rem 0;
  }
}
