
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f9fa;
  color: #333;
}

header, footer {
  background-color: #0d6efd;
  color: white;
  padding: 1rem;
  text-align: center;
}

form {
  background: white;
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  background-color: #0d6efd;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0b5ed7;
}

table {
  width: 90%;
  margin: 2rem auto;
  border-collapse: collapse;
}

table, th, td {
  border: 1px solid #dee2e6;
}

th, td {
  padding: 12px;
  text-align: left;
  background-color: white;
}

th {
  background-color: #e9ecef;
}


/* Karanlık Mod */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark-mode header, body.dark-mode footer {
  background-color: #1f1f1f;
}

.dark-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  background: #333;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}

/* Kartlar */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
}

.card {
  background: white;
  padding: 2rem;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
