/* Arbeitstage Rechner Page Styles */
:root {
  --bg-color: #f8f9fa;
  --text-color: #212529;
  --card-bg: #ffffff;
  --border-color: #e9ecef;
  --header-bg: #fff;
  --link-color: #007bff;
  --link-hover-color: #0056b3;
  --hero-grad-start: #0074d9;
  --hero-grad-end: #00c3ff;
  --hero-text: #fff;
  --filter-bg: #f4faff;
  --footer-bg: #343a40;
  --footer-text: #adb5bd;
}
body.dark-mode {
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --card-bg: #1e1e1e;
  --border-color: #3a3a3a;
  --header-bg: #1e1e1e;
  --link-color: #58a6ff;
  --link-hover-color: #80bfff;
  --hero-grad-start: #004e92;
  --hero-grad-end: #000428;
  --hero-text: #fff;
  --filter-bg: #1a2233;
  --footer-bg: #1e1e1e;
  --footer-text: #888;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}
.calculator-section {
  max-width: 900px;
  margin: 0 auto;
}
.calculator-section .card {
  border: none;
  border-radius: 1rem;
  background: var(--card-bg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.calculator-section .form-control,
.calculator-section .form-select {
  border-radius: 0.7rem;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
}
.calculator-section .form-control:focus,
.calculator-section .form-select:focus {
  border-color: var(--link-color);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
}
.calculator-section .form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}
.calculator-section .btn-primary {
  padding: 0.8rem 2.5rem;
  font-weight: 600;
  border-radius: 2rem;
  background: linear-gradient(90deg, var(--hero-grad-start) 0%, var(--hero-grad-end) 100%);
  border: none;
  box-shadow: 0 4px 16px rgba(0,123,255,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.calculator-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,123,255,0.25);
}
.calculator-section .result-box {
  background: var(--bg-color);
  border-radius: 1rem;
  padding: 1.5rem !important;
  text-align: center;
  border: 1.5px solid var(--border-color);
  transition: transform 0.2s;
}
.calculator-section .result-box:hover {
  transform: translateY(-3px);
}
.calculator-section .result-box h5 {
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.calculator-section #holidaysDetail {
  max-height: 300px;
  overflow-y: auto;
  border-radius: 0.7rem;
}
.calculator-section #holidaysDetail .list-group-item {
  background: var(--bg-color);
  border-color: var(--border-color);
  color: var(--text-color);
}
.calculator-section .form-check-input:checked {
  background-color: var(--link-color);
  border-color: var(--link-color);
}

/* --- Hero Section Styles --- */
.hero-section {
  background: linear-gradient(90deg, var(--hero-grad-start) 0%, var(--hero-grad-end) 100%);
  color: var(--hero-text);
  padding: 4rem 0 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.hero-section .hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.hero-section h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  color: var(--hero-text);
}
.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2.2rem;
  opacity: 0.95;
  color: var(--hero-text);
}
.minimal-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}
.minimal-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: var(--hero-text);
}
.minimal-hero p {
  font-size: 1.15rem;
  color: var(--hero-text);
  opacity: 0.95;
  margin-bottom: 0.2rem;
}

/* --- Footer Styles --- */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 0;
  margin-top: auto !important;
  font-size: 0.9rem;
}
.footer-links a {
  color: var(--link-color) !important;
}
.footer-icon {
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* --- Responsive Adjustments --- */
@media (max-width: 700px) {
  .hero-section {
    padding: 3rem 0 2rem 0;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .hero-section .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-section .hero-content p {
    font-size: 1rem;
  }
}

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--link-color);
  padding: 0.2rem 0.5rem;
} 