:root {
  --primary-color: #008080;
  --navbar-bg-light: #f8f9fa;
  --navbar-bg-dark: #222;
  --text-color: #222;
  --text-color-light: #888;
  --text-color-dark: #fff;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f0f8ff;
  min-height: 100vh;
  padding: 20px;
}

.content-wrapper {
  min-height: calc(100vh - 250px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}

.container {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  margin-bottom: 20px;
}

h1 {
  color: #008080;
  text-align: center;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #008080;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #008080;
}

button {
  background-color: #008080;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #006666;
}

#status-message {
  margin-top: 20px;
  margin-bottom: 30px;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Footer */
footer {
  background-color: var(--navbar-bg-light);
  padding: 3rem 5% 1rem;
  transition: var(--transition);
  width: 100%;
  margin-top: 40px;
  position: relative;
  left: 0;
  bottom: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-section p {
  margin: 0.5rem 0;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-color-light);
}

/* Topbar */
.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.theme-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.theme-switcher .fa-sun {
  color: #ffb300;
  font-size: 1.3rem;
}
.theme-switcher .fa-moon {
  color: #8e24aa;
  font-size: 1.3rem;
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}
input:checked + .slider {
  background-color: #8e24aa;
}
input:checked + .slider:before {
  transform: translateX(20px);
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #222;
  padding: 0.3rem 0.9rem;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border 0.2s, color 0.2s;
}
.lang-btn img {
  width: 20px;
  height: 15px;
  border-radius: 2px;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Tema (dark/light) */
body.dark-theme {
  background-color: #181a1b;
  color: #f0f0f0;
}
body.dark-theme .container {
  background: #23272b;
  color: #f0f0f0;
}
body.dark-theme h1, body.dark-theme label {
  color: #00bcd4;
}
body.dark-theme input, body.dark-theme select, body.dark-theme textarea {
  background: #23272b;
  color: #f0f0f0;
  border-color: #444;
}
body.dark-theme input:focus, body.dark-theme select:focus, body.dark-theme textarea:focus {
  border-color: #00bcd4;
}
body.dark-theme button, body.dark-theme .lang-btn.active {
  background: #00bcd4;
  color: #fff;
}
body.dark-theme .lang-btn {
  background: #23272b;
  color: #f0f0f0;
  border-color: #444;
}
body.dark-theme .footer-section h3 {
  color: #00bcd4;
}
body.dark-theme footer {
  background: #23272b;
}
body.dark-theme .footer-bottom {
  color: #aaa;
  border-color: #444;
  border-top-color: #333;
}

.footer-link {
  color: #008080;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #006666;
  text-decoration: underline;
}

body.dark-theme .footer-link {
  color: #4fc3f7;
}

body.dark-theme .footer-link:hover {
  color: #81d4fa;
} 