body {
  font-family: "Segoe UI", Arial, sans-serif;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background: #f4f6f8;
  color: #333;
  /* position: relative;
  min-height: 100vh; */
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('../images/bg-logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: blur(12px) saturate(0.9);
    opacity: 0.1; /* isteğe göre artır/azalt */
    transform: scale(1.02);
    pointer-events: none;
    z-index: 0;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.header2 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 20px;
}

h1 {
  text-align: center;
  color: #2c3e50;
  font-size: 2em;
  margin: 0;
}

h2 {
  color: #2c3e50;
  font-size: 1.5em;
  margin: 20px 0 10px;
}

.logo {
  font-family: "Roboto", sans-serif;
  font-size: 2.2em;
  color: #1a3c6d;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.logo:hover {
  color: #0d2a4e;
}

.logout-btn {
  background: #dc3545;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
}

.logout-btn:hover {
  background: #c82333;
}

.form-container {
  margin-bottom: 20px;
  padding: 10px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.form-container button,
.form-container a button {
  padding: 12px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s;
  color: white;
}

.ogrenci-ekle-btn {
  background: #28a745;
}

.ogrenci-ekle-btn:hover {
  background: #218838;
}

.aktiviteler-btn {
  background: #17a2b8;
}

.aktiviteler-btn:hover {
  background: #138496;
}

.ogrenci-ara-btn {
  background: #6f42c1;
}

.ogrenci-ara-btn:hover {
  background: #5a32a3;
}

.puan-gecmisi-btn {
  background: #fd7e14;
}

.puan-gecmisi-btn:hover {
  background: #e06b0f;
}

.raporlar-btn {
  background: #20c997;
}

.raporlar-btn:hover {
  background: #1aa179;
}

.siralama-btn {
  background: #d63384;
}

.siralama-btn:hover {
  background: #b5266f;
}

.modal-content {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  width: 400px;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-content input,
.modal-content select {
  width: calc(100% - 20px);
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

.modal-content button,
.form-container button {
  padding: 12px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s;
}

.modal-content .submit-btn {
  background: #28a745;
  color: white;
}

.modal-content .submit-btn:hover {
  background: #218838;
}

.close-btn {
  background: #dc3545;
  color: white;
}

.close-btn:hover {
  background: #c82333;
}

.modal-content .close-btn {
  background: #dc3545;
  color: white;
}

.modal-content .close-btn:hover {
  background: #c82333;
}

.error {
  color: #dc3545;
  margin-bottom: 10px;
  font-size: 0.9em;
  text-align: center;
  width: 100%;
}

.success {
  color: #28a745;
  margin-bottom: 10px;
  font-size: 0.9em;
  text-align: center;
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

th,
td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background: #007bff;
  color: white;
  font-weight: bold;
}

tr:nth-child(even) {
  background: #f9f9f9;
}

tr:hover {
  background: #f1f1f1;
}

.action-buttons button,
.action-buttons a button {
  margin-right: 5px;
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s;
  color: white;
}

.action-buttons .puan-ekle {
  background: #28a745;
}

.action-buttons .puan-ekle:hover {
  background: #218838;
}

.action-buttons .edit {
  background: #ffc107;
}

.action-buttons .edit:hover {
  background: #e0a800;
}

.action-buttons .sil-btn {
  background: #dc3545;
}

.action-buttons .sil-btn:hover {
  background: #c82333;
}

img {
  max-width: 50px;
  max-height: 50px;
  border-radius: 5px;
}

.filter-container {
  /* margin-bottom: 20px; */
  display: flex;
  justify-content: center;
  gap: 20px;
}

.filter-container select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  
}

.ogrenci-foto {
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: auto auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
