/* Import Roboto font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* CSS Variables */

/* Font */
:root {
  --font-family: 'Roboto', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
}

/* Primary Palette */
:root {
  --primary-50: #e3f2fd;
  --primary-100: #bbdefb;
  --primary-200: #90caf9;
  --primary-300: #64b5f6;
  --primary-400: #42a5f5;
  --primary-500: #2196f3;
  --primary-600: #1e88e5;
  --primary-700: #1976d2;
  --primary-800: #1565c0;
  --primary-900: #0d47a1;
}

/* Neutral Palette */
:root {
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #eeeeee;
  --neutral-300: #e0e0e0;
  --neutral-400: #bdbdbd;
  --neutral-500: #9e9e9e;
  --neutral-600: #757575;
  --neutral-700: #616161;
  --neutral-800: #424242;
  --neutral-900: #212121;
}

/* Basic Colors */
:root {
  --white: #ffffff;
  --black: #000000;
}

/* Red Palette */
:root {
  --red-50: #ffebee;
  --red-100: #ffcdd2;
  --red-200: #ef9a9a;
  --red-300: #e57373;
  --red-400: #ef5350;
  --red-500: #f44336;
  --red-600: #e53935;
  --red-700: #d32f2f;
  --red-800: #c62828;
  --red-900: #b71c1c;
}

/* Blue Palette */
:root {
  --blue-50: #e3f2fd;
  --blue-100: #bbdefb;
  --blue-200: #90caf9;
  --blue-300: #64b5f6;
  --blue-400: #42a5f5;
  --blue-500: #2196f3;
  --blue-600: #1e88e5;
  --blue-700: #1976d2;
  --blue-800: #1565c0;
  --blue-900: #0d47a1;
}

/* Green Palette */
:root {
  --green-50: #e8f5e8;
  --green-100: #c8e6c9;
  --green-200: #a5d6a7;
  --green-300: #81c784;
  --green-400: #66bb6a;
  --green-500: #4caf50;
  --green-600: #43a047;
  --green-700: #388e3c;
  --green-800: #2e7d32;
  --green-900: #1b5e20;
}

/* Yellow Palette */
:root {
  --yellow-50: #fffde7;
  --yellow-100: #fff9c4;
  --yellow-200: #fff59d;
  --yellow-300: #fff176;
  --yellow-400: #ffee58;
  --yellow-500: #ffeb3b;
  --yellow-600: #fdd835;
  --yellow-700: #fbc02d;
  --yellow-800: #f9a825;
  --yellow-900: #f57f17;
}

/* Orange Palette */
:root {
  --orange-50: #fff3e0;
  --orange-100: #ffe0b2;
  --orange-200: #ffcc80;
  --orange-300: #ffb74d;
  --orange-400: #ffa726;
  --orange-500: #ff9800;
  --orange-600: #fb8c00;
  --orange-700: #f57c00;
  --orange-800: #ef6c00;
  --orange-900: #e65100;
}

/* Purple Palette */
:root {
  --purple-50: #f3e5f5;
  --purple-100: #e1bee7;
  --purple-200: #ce93d8;
  --purple-300: #ba68c8;
  --purple-400: #ab47bc;
  --purple-500: #9c27b0;
  --purple-600: #8e24aa;
  --purple-700: #7b1fa2;
  --purple-800: #6a1b9a;
  --purple-900: #4a148c;
}

/* Semantic Colors */
:root {
  --success: var(--green);
  --error: var(--red);
  --warning: var(--orange);
  --info: var(--blue);
}

/* Light Mode Design Tokens */
:root {
  /* Background Tokens */
  --background-primary: var(--neutral-50);
  --background-secondary: var(--neutral-100);
  --background-tertiary: var(--neutral-200);

  /* Surface Tokens */
  --surface-primary: var(--white);
  --surface-secondary: var(--neutral-50);
  --surface-tertiary: var(--neutral-100);
  
  /* Surface States */
  --surface-hover: var(--neutral-100);
  --surface-pressed: var(--neutral-200);
  --surface-disabled: var(--neutral-200);

  /* Border Colors */
  --border-primary: var(--neutral-300);
  --border-secondary: var(--neutral-200);
  --border-tertiary: var(--neutral-100);
  
  /* Border States */
  --border-hover: var(--neutral-400);
  --border-pressed: var(--neutral-500);
  --border-disabled: var(--neutral-200);
  --border-focus: var(--primary-500);

  /* Text Colors */
  --text-primary: var(--neutral-900);
  --text-secondary: var(--neutral-700);
  --text-tertiary: var(--neutral-600);
  --text-disabled: var(--neutral-400);

  /* Holiday Overlay Colors */
  --holiday-france-bg: var(--blue-50);
  --holiday-france-border: var(--blue-200);
  --holiday-netherlands-bg: var(--orange-50);
  --holiday-netherlands-border: var(--orange-200);
  --holiday-uk-bg: var(--red-50);
  --holiday-uk-border: var(--red-200);
  --holiday-india-bg: var(--green-50);
  --holiday-india-border: var(--green-200);
  
  /* Fallback for generic country1/country2 */
  --holiday-country1-bg: var(--blue-50);
  --holiday-country1-border: var(--blue-200);
  --holiday-country2-bg: var(--orange-50);
  --holiday-country2-border: var(--orange-200);
  --holiday-both-bg: var(--blue-50);
  --holiday-both-border: var(--blue-300);
  
  /* Box Shadow Tokens */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-none: none;
  
  /* Transition Tokens - Snappy */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  

  /* Space Tokens (for margins and gaps) */
  --space-xxs: 0.25rem;       /* 4px */
  --space-xs: 0.5rem;       /* 8px */
  --space-sm: 0.75rem;      /* 12px */
  --space-md: 1rem;         /* 16px */
  --space-lg: 1.5rem;       /* 24px */
  --space-xl: 2rem;         /* 32px */
  --space-2xl: 3rem;        /* 48px */
  --space-3xl: 4rem;        /* 64px */
  --space-4xl: 6rem;        /* 96px */
}

/* Desktop Space Overrides */
@media (min-width: 769px) {
  :root {
    --space-xxs: 0.5rem;       /* 8px on desktop (was 4px) */
    --space-xs: 1rem;       /* 16px on desktop (was 8px) */
    --space-sm: 1.5rem;     /* 24px on desktop (was 12px) */
    --space-md: 2rem;       /* 32px on desktop (was 24px) */
    --space-lg: 2.5rem;     /* 40px on desktop (was 24px) */
    --space-xl: 3rem;       /* 48px on desktop (was 32px) */
    --space-2xl: 4.5rem;    /* 72px on desktop (was 48px) */
    --space-3xl: 5.5rem;    /* 88px on desktop (was 80px) */
    --space-4xl: 8rem;      /* 128px on desktop (was 120px) */
  }
}

/* Dark Mode Design Tokens */
[data-theme="dark"] {
  /* Background Tokens */
  --background-primary: #121212;
  --background-secondary: #1e1e1e;
  --background-tertiary: #2d2d2d;

  /* Surface Tokens */
  --surface-primary: #1e1e1e;
  --surface-secondary: #2d2d2d;
  --surface-tertiary: #3d3d3d;
  
  /* Surface States */
  --surface-hover: #2d2d2d;
  --surface-pressed: #3d3d3d;
  --surface-disabled: #3d3d3d;

  /* Border Colors */
  --border-primary: #404040;
  --border-secondary: #505050;
  --border-tertiary: #606060;
  
  /* Border States */
  --border-hover: #707070;
  --border-pressed: #808080;
  --border-disabled: #505050;
  --border-focus: var(--primary-400);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-tertiary: #b0b0b0;
  --text-disabled: #707070;

  /* Holiday Overlay Colors */
  --holiday-france-bg: rgba(33, 150, 243, 0.2);
  --holiday-france-border: rgba(33, 150, 243, 0.4);
  --holiday-netherlands-bg: rgba(255, 152, 0, 0.2);
  --holiday-netherlands-border: rgba(255, 152, 0, 0.4);
  --holiday-uk-bg: rgba(244, 67, 54, 0.2);
  --holiday-uk-border: rgba(244, 67, 54, 0.4);
  --holiday-india-bg: rgba(76, 175, 80, 0.2);
  --holiday-india-border: rgba(76, 175, 80, 0.4);
  
  /* Fallback for generic country1/country2 */
  --holiday-country1-bg: rgba(33, 150, 243, 0.2);
  --holiday-country1-border: rgba(33, 150, 243, 0.4);
  --holiday-country2-bg: rgba(255, 152, 0, 0.2);
  --holiday-country2-border: rgba(255, 152, 0, 0.4);
  --holiday-both-bg: rgba(33, 150, 243, 0.15);
  --holiday-both-border: rgba(33, 150, 243, 0.3);
  
  /* Box Shadow Tokens - Dark Mode */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.3);
  --shadow-none: none;
  
  /* Transition Tokens - Snappy */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  

}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  background-color: var(--background-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: var(--transition-fast);

}

/* Header Styles */
header {
  background-color: var(--surface-primary);
  border-bottom: 1px solid var(--border-primary);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  max-width: 1200px;
  padding: 0 var(--space-md);
  margin: 0 auto;
  gap: var(--space-md);
}

.header-text {
  text-align: left;
}

.theme-toggle {
  justify-self: end;
}

header h1 {
  font-weight: var(--font-weight-bold);
  color: var(--primary-700);
  font-size: 2.5rem;
}

header .subtitle {
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin: 0;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
}

.theme-toggle-btn {
  background: none;
  border: 2px solid var(--border-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.theme-toggle-btn:hover {
  border-color: var(--border-hover);
  background-color: var(--surface-hover);
  color: var(--text-primary);
}

.theme-toggle-btn:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--shadow-sm);
}

.sun-icon, .moon-icon {
  transition: var(--transition-fast);
  position: absolute;
}

[data-theme="dark"] .sun-icon {
  opacity: 0;
  transform: rotate(90deg);
  pointer-events: none;
}

[data-theme="dark"] .moon-icon {
  opacity: 1;
  transform: rotate(0deg);
  pointer-events: auto;
}

.sun-icon {
  opacity: 1;
  transform: rotate(0deg);
  pointer-events: auto;
}

.moon-icon {
  opacity: 0;
  transform: rotate(-90deg);
  pointer-events: none;
}

/* Main Layout */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md);
}

/* Country Selection */
.country-selection {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background-color: var(--surface-primary);
  border-radius: 8px;
  border: 1px solid var(--border-primary);
  box-shadow: var(--shadow-sm);
}

.select-container {
  flex: 1;
}

.select-container label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
}

.select-container select {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 0.75rem;
  border: 1px solid var(--border-primary);
  border-radius: 4px;
  font-family: var(--font-family);
  font-size: 1rem;
  background-color: var(--surface-primary);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  position: relative;
}

/* Add colored dot using ::before pseudo-element */
.select-container select[data-country]::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Country-specific dot colors */
.select-container select[data-country="france"]::before {
  background-color: var(--blue-500);
}

.select-container select[data-country="netherlands"]::before {
  background-color: var(--orange-500);
}

.select-container select[data-country="uk"]::before {
  background-color: var(--red-500);
}

.select-container select[data-country="india"]::before {
  background-color: var(--green-500);
}

/* Alternative approach: Add dot as a child element */
.select-container {
  position: relative;
}

  .select-container .country-dot {
    position: absolute;
    left: 12px;
    top: 72%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    display: none;
  }
  
  .select-container .select-chevron {
    position: absolute;
    right: 1rem;
    top: 72%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    z-index: 1;
  }
  


.select-container[data-country="france"] .country-dot {
  background-color: var(--blue-500);
  display: block;
}

.select-container[data-country="netherlands"] .country-dot {
  background-color: var(--orange-500);
  display: block;
}

.select-container[data-country="uk"] .country-dot {
  background-color: var(--red-500);
  display: block;
}

.select-container[data-country="india"] .country-dot {
  background-color: var(--green-500);
  display: block;
}

.select-container select:hover {
  border-color: var(--border-hover);
}

.select-container select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

/* Select option styling */
.select-container select option {
  padding: 0.5rem;
  background-color: var(--surface-primary);
  color: var(--text-primary);
}

/* Color the dots in select options */
.select-container select option[data-color="blue"] {
  color: var(--blue-500);
}

.select-container select option[data-color="orange"] {
  color: var(--orange-500);
}

.select-container select option[data-color="red"] {
  color: var(--red-500);
}

.select-container select option[data-color="green"] {
  color: var(--green-500);
}

/* Custom select styling for better visual feedback */
.select-container select option[data-color="blue"] {
  background-color: var(--surface-primary);
  color: var(--text-primary);
}

.select-container select option[data-color="orange"] {
  background-color: var(--surface-primary);
  color: var(--text-primary);
}

.select-container select option[data-color="red"] {
  background-color: var(--surface-primary);
  color: var(--text-primary);
}

.select-container select option[data-color="green"] {
  background-color: var(--surface-primary);
  color: var(--text-primary);
}

/* Calendar Overview */
.calendar-overview {
  margin-bottom: var(--space-md);
}

.calendar-navigation {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  background-color: var(--surface-primary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.months-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  flex: 1;
}

.month-container {
  background-color: var(--surface-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: 6px;
  padding: var(--space-sm);
  transition: var(--transition-fast);
}

/* Navigation Arrows */
.nav-arrow {
  background: none;
  border: 2px solid var(--border-primary);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: var(--text-secondary);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0;
}

.nav-arrow:hover {
  border-color: var(--border-hover);
  background-color: var(--surface-hover);
  color: var(--text-primary);
}

.nav-arrow:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--shadow-sm);
}

.nav-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: var(--border-disabled);
}

.year-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
}

.current-year {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 60px;
  text-align: center;
}

.month-container h2 {
  font-weight: var(--font-weight-bold);
  color: var(--primary-700);
  margin-bottom: var(--space-md);
  text-align: center;
  font-size: 1.5rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background-color: var(--border-primary);
  border-radius: 4px;
  overflow: hidden;
}

.day-header {
  background-color: var(--surface-secondary);
  padding: var(--space-xxs);
  text-align: center;
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.day {
  background-color: var(--surface-primary);
  padding: var(--space-xxs);
  text-align: center;
  min-height: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-regular);
  color: var(--text-primary);
  transition: var(--transition-fast);
  cursor: default;
  position: relative;
}

.day:hover {
  background-color: var(--surface-hover);
}

/* Custom tooltip styling */
.day[title] {
  position: relative;
  cursor: pointer;
}

.day[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--surface-secondary);
  color: var(--text-primary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-primary);
  font-size: 12px;
  white-space: pre-line;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: var(--space-xs);
  pointer-events: none;
  text-align: center;
  min-width: 120px;
  max-width: 200px;
  word-wrap: break-word;
}

.day[title]:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--border-primary);
  margin-bottom: -5px;
  z-index: 1000;
  pointer-events: none;
}

/* Smart tooltip positioning for edge cases */
.day[title]:hover::after {
  /* Ensure tooltip stays within viewport */
  left: 50%;
  transform: translateX(-50%);
}

/* Left edge adjustment */
.day:nth-child(7n+1)[title]:hover::after,
.day:nth-child(7n+2)[title]:hover::after,
.day:nth-child(7n+3)[title]:hover::after {
  left: 0;
  transform: none;
}

/* Right edge adjustment */
.day:nth-child(7n+5)[title]:hover::after,
.day:nth-child(7n+6)[title]:hover::after,
.day:nth-child(7n+7)[title]:hover::after {
  left: auto;
  right: 0;
  transform: none;
}

/* Top row adjustment - show tooltip below instead of above */
.day:nth-child(-n+7)[title]:hover::after {
  bottom: auto;
  top: 100%;
  margin-bottom: 0;
  margin-top: 5px;
}

.day:nth-child(-n+7)[title]:hover::before {
  bottom: auto;
  top: 100%;
  margin-bottom: 0;
  margin-top: -5px;
  border-top-color: transparent;
  border-bottom-color: var(--border-primary);
}

.day.empty {
  background-color: var(--background-tertiary);
  cursor: default;
}

.day-number {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.holiday-dots {
  display: flex;
  gap: 2px;
  justify-content: center;
  align-items: center;
  min-height: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.country1-dot {
  background-color: var(--primary-500);
}

.country2-dot {
  background-color: var(--green-500);
}

.day.holiday {
  font-weight: var(--font-weight-bold);
}

/* Country-specific holiday styles */
.day.france-holiday {
  background-color: var(--holiday-france-bg);
  border: 1px solid var(--holiday-france-border);
}

.day.netherlands-holiday {
  background-color: var(--holiday-netherlands-bg);
  border: 1px solid var(--holiday-netherlands-border);
}

.day.uk-holiday {
  background-color: var(--holiday-uk-bg);
  border: 1px solid var(--holiday-uk-border);
}

.day.india-holiday {
  background-color: var(--holiday-india-bg);
  border: 1px solid var(--holiday-india-border);
}

/* Diagonal split for shared holidays */
.day.france-holiday.netherlands-holiday {
  background: linear-gradient(45deg, var(--holiday-france-bg) 50%, var(--holiday-netherlands-bg) 50%);
  border: 1px solid var(--holiday-france-border);
}

.day.france-holiday.uk-holiday {
  background: linear-gradient(45deg, var(--holiday-france-bg) 50%, var(--holiday-uk-bg) 50%);
  border: 1px solid var(--holiday-france-border);
}

.day.france-holiday.india-holiday {
  background: linear-gradient(45deg, var(--holiday-france-bg) 50%, var(--holiday-india-bg) 50%);
  border: 1px solid var(--holiday-france-border);
}

.day.netherlands-holiday.uk-holiday {
  background: linear-gradient(45deg, var(--holiday-netherlands-bg) 50%, var(--holiday-uk-bg) 50%);
  border: 1px solid var(--holiday-netherlands-border);
}

.day.netherlands-holiday.india-holiday {
  background: linear-gradient(45deg, var(--holiday-netherlands-bg) 50%, var(--holiday-india-bg) 50%);
  border: 1px solid var(--holiday-netherlands-border);
}

.day.uk-holiday.india-holiday {
  background: linear-gradient(45deg, var(--holiday-uk-bg) 50%, var(--holiday-india-bg) 50%);
  border: 1px solid var(--holiday-uk-border);
}

/* Dot colors for each country */
.france-dot {
  background-color: var(--blue-500);
}

.netherlands-dot {
  background-color: var(--orange-500);
}

.uk-dot {
  background-color: var(--red-500);
}

.india-dot {
  background-color: var(--green-500);
}

/* Holiday List */
.holiday-list {
  background-color: var(--surface-primary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.holiday-list h3 {
  font-weight: var(--font-weight-bold);
  color: var(--primary-700);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.countries-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.country-holidays {
  margin-bottom: 0;
}

.country-holidays h4 {
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-secondary);
}

.holiday-item {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.holiday-item .date {
  font-weight: var(--font-weight-medium);
  color: var(--primary-600);
  margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  header h1 {
    font-size: 1.5rem;
  }
  
  .country-selection {
    flex-direction: column;
    gap: 1rem;
  }
  
  .select-container {
    width: 100%;
  }
  
  .calendar-overview {
    display: none;
  }
  
  .holiday-list {
    flex-direction: column;
    gap: 1rem;
  }
  
  .holiday-list > div {
    width: 100%;
  }
}



