:root {
  --bg-light: #ffffff;
  --text-light: #111111;
  --accent-light: #0057a3;

  --bg-dark: #121212;
  --text-dark: #f5f5f5;
  --accent-dark: #4fa3ff;
}

/* Default light theme */
:root {
  --bg: var(--bg-light);
  --text: var(--text-light);
  --accent: var(--accent-light);
}

[data-theme='dark'] {
  --bg: var(--bg-dark);
  --text: var(--text-dark);
  --accent: var(--accent-dark);
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
  padding: 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--accent);
}

#site-logo {
  height: auto;
  max-width: 150px;
  width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  #site-logo {
    max-width: 120px;
  }
}

#contact-info {
  flex-grow: 1;
  flex-shrink: 1;
  max-width: calc(100% - 150px);
  font-size: 0.9rem;
  user-select: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

#contact-info > div {
  white-space: nowrap;
  cursor: pointer;
  color: var(--accent);
  font-weight: bold;
}

h1 {
  margin: 0;
  color: var(--accent);
}

#themeToggle {
  position: relative;
  z-index: 10;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--accent);
}

nav.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.tab-button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  background: none;
  color: var(--accent);
  cursor: pointer;
  border-radius: 0.5rem;
  font-weight: bold;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tab-button:hover {
  background: var(--accent);
  color: var(--bg);
}

a > .tab-button {
  text-decoration: none;
  display: inline-block;
  width: 100%;
  text-align: center;
}

main {
  max-width: 600px;
  margin: auto;
  padding: 1rem;
  flex-grow: 1;
}

.tab-content {
  display: block;
  margin-top: 1rem;
}

.hidden {
  display: none;
}

footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--accent);
}

#mobile-logo-left,
#mobile-logo-right {
  display: none;
  position: absolute;
  top: 0.5rem;
  width: 50px;
  height: auto;
  z-index: 1;
  opacity: 0.8;
}

#mobile-logo-left {
  left: 0;
}

#mobile-logo-right {
  right: 0;
}

@media (max-width: 768px) {
  #site-logo {
    display: none;
  }

  #mobile-logo-left,
  #mobile-logo-right {
    display: block;
  }

  header {
    position: relative;
    padding-top: 3rem;
  }
}

.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.cookie-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.cookie-content {
  background: var(--bg);
  color: var(--text);
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.cookie-overlay.hidden .cookie-content {
  transform: translateY(-20px);
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons button {
  flex: 1;
  min-width: 120px;
}

#cookie-customize-panel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--accent);
}

#cookie-customize-panel label {
  display: block;
  margin: 0.5rem 0;
  padding: 0.5rem;
  background: rgba(var(--accent), 0.1);
  border-radius: 0.25rem;
}

#cookie-customize-panel input[type="checkbox"] {
  margin-right: 0.5rem;
}
/* Add to style.css */
.urgent-notice {
  background-color: #ffebee;
  border-left: 4px solid #f44336;
  padding: 12px;
  margin-top: 10px;
  color: #d32f2f;
  font-size: 0.85rem;
  border-radius: 0 4px 4px 0;
  text-align: left;
}

/* Existing urgent notice styles */
.urgent-notice {
  background-color: #ffebee;
  border-left: 4px solid #f44336;
  padding: 12px;
  margin-top: 10px;
  color: #d32f2f;
  font-size: 0.85rem;
  border-radius: 0 4px 4px 0;
  text-align: left;
  width: 100%;
}

.urgent-notice strong {
  color: #b71c1c;
}

.notice-text {
  display: inline;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
  #contact-info {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
  }

  .urgent-notice {
    font-size: 0.8rem;
    padding: 10px 8px;
    margin: 8px 0;
    text-align: center;
    border-left: none;
    border-top: 3px solid #f44336;
    border-radius: 4px;
  }

  /* Urgent Notice Styles */
.urgent-notice {
  background-color: #ffebee;
  border-left: 4px solid #f44336;
  padding: 12px;
  margin-top: 10px;
  color: #d32f2f;
  font-size: 0.85rem;
  border-radius: 0 4px 4px 0;
  width: 100%;
}

.notice-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.urgent-notice strong {
  color: #b71c1c;
}

.notice-text {
  line-height: 1.4;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
  .urgent-notice {
    padding: 10px;
    font-size: 0.8rem;
    border-left: none;
    border-top: 3px solid #f44336;
    border-radius: 4px;
    margin: 10px 0;
  }

  .notice-content {
    flex-direction: column;
  }

  .urgent-notice strong {
    margin-bottom: 5px;
    display: block;
  }

  .notice-text {
    display: block;
    white-space: normal;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .urgent-notice {
    font-size: 0.75rem;
    padding: 8px;
  }
  
  .notice-text {
    line-height: 1.5;
  }
}