/* Reset & base */
body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f2f4f8;
  color: #333;
}
header, footer {
  background-color: #ffffff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
}
header img {
  max-height: 50px;
}
.lang-switch select {
  padding: 6px;
  font-size: 1rem;
}
main {
  max-width: 960px;
  margin: 30px auto;
  padding: 0 20px;
}

/* Card layout */
.card {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.card h2 {
  margin-top: 0;
  color: #004080;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}
form label {
  font-weight: bold;
}
form input, form select, form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
form button {
  background-color: #004080;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
form button:hover {
  background-color: #002f5f;
}

/* Messages */
.error {
  color: #d93025;
  font-weight: bold;
}
.success {
  color: #188038;
  font-weight: bold;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  header, footer {
    flex-direction: column;
    align-items: flex-start;
  }
  main {
    padding: 0 15px;
  }
  .card {
    padding: 20px;
  }
}
