/* Genel stil ayarları */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

header {
  background-color: #1e90ff;
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

header nav button {
  background-color: #fff;
  color: #1e90ff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

header nav button:hover {
  opacity: 0.8;
}

.container {
  max-width: 600px;
  margin: 2rem auto;
  background-color: #fff;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

main {
  padding: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

section {
  margin-bottom: 2rem;
}

h2 {
  margin-top: 0;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

input[type="text"],
input[type="password"],
input[type="number"] {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

button {
  background-color: #1e90ff;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.error {
  color: red;
  margin-top: 1rem;
}

.list-container {
  margin-top: 1rem;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
}

.list-item:last-child {
  border-bottom: none;
}

.list-item div {
  flex: 1;
}

select {
  padding: 0.3rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .list-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .list-item div {
    margin-bottom: 0.5rem;
  }
}