body {
  font-family: Arial, sans-serif;
  max-width: 1000px;
  margin: 50px auto;
  padding: 30px 40px;
  background-color: #f2f7fb;
  font-size: 20px;
  color: #222;
}

.logos {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 30px;
}

.logos img {
  height: 120px;
  width: auto;
}

nav {
  text-align: center;
  margin-bottom: 40px;
}

nav button {
  background-color: #0055aa;
  color: white;
  padding: 12px 24px;
  font-size: 20px;
  border: none;
  border-radius: 8px;
  margin: 0 10px;
  cursor: pointer;
}

nav button.active {
  background-color: #003366;
}

h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: #003366;
}

label {
  font-weight: 700;
  font-size: 22px;
}

input[type="text"], textarea, input[type="file"] {
  width: 100%;
  padding: 14px 18px;
  margin: 16px 0 30px 0;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus, textarea:focus {
  border-color: #0055aa;
  outline: none;
}

button[type="submit"] {
  background-color: #0055aa;
  color: white;
  padding: 16px 36px;
  font-size: 22px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

button[type="submit"]:hover {
  background-color: #003366;
}

#tagasiside {
  margin-top: 35px;
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  color: #007700;
}

.vaheleht {
  display: none;
}

.vaheleht.aktiivne {
  display: block;
}

#laoseis {
  width: 100%;
  max-width: 100%;
  overflow: auto;
  margin: 0 auto;
  padding: 10px;
}

table {
  width: 100%;
  min-width: fit-content;
  border-collapse: collapse;
  font-size: 14px;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
}

table th, table td {
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  text-align: left;
  max-width: 300px;
  word-wrap: break-word;
}

table th {
  background-color: #0055aa;
  color: white;
  font-weight: 600;
  position: sticky;
  top: 0;
}

table tr:nth-child(even) {
  background-color: #f8fafc;
}

table tr:hover {
  background-color: #f0f7ff;
}

table td input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  background-color: white;
}

table td input:focus {
  outline: 2px solid #0055aa;
  border-color: transparent;
}

#salvestaNupp {
  margin: 20px auto;
  padding: 12px 24px;
  font-size: 16px;
  background-color: #0055aa;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  transition: background-color 0.2s;
}

#salvestaNupp:hover {
  background-color: #003366;
}
