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

header {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #0f9d58, #4285f4);
  color: #fff;
}

header h1 {
  margin-bottom: 0.5rem;
}

header p {
  margin: 0;
  font-size: 1.1rem;
}

/* Tablo */
table {
  width: 95%;
  margin: 2rem auto;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}

thead {
  background: #4285f4;
  color: #fff;
}

thead th {
  padding: 12px;
  font-size: 0.9rem;
}

tbody td {
  text-align: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

tbody tr:nth-child(even) {
  background: #f9f9f9;
}

tbody td a {
  display: inline-block;
  padding: 6px 12px;
  background: #0f9d58;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.2s;
}

tbody td a:hover {
  background: #4285f4;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #eee;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead {
    display: none;
  }

  tbody td {
    border: none;
    position: relative;
    padding: 10px 10px 10px 50%;
    text-align: left;
  }

  tbody td::before {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 45%;
    white-space: nowrap;
    font-weight: bold;
    color: #555;
    content: attr(data-label);
  }
}