@import url("./shared.css");

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--background-dark);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light theme */
body.light-theme {
  background-color: var(--background-light);
  color: var(--text-light);
}

/* Header */
header {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
}

.light-theme header {
  background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Main Content */
main {
  flex: 1;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  margin-top: auto;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 1rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  background: var(--card-dark);
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.light-theme .theme-toggle {
  background: var(--card-light);
}

.theme-toggle:hover {
  background: var(--primary-color);
  color: var(--background-dark);
}

#language-select {
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
  background: var(--card-dark);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.light-theme #language-select {
  background: var(--card-light);
  color: var(--text-light);
}

.footer-text {
  font-size: 0.9rem;
  opacity: 0.7;
}
