/* ===== NEÜ Renk Paketi (Tema Renkleri) ===== */
:root {
  --neu-lacivert: #1D3949; /* Ana lacivert renk */
  --neu-turkuaz: #00A6AE;  /* Vurgu için turkuaz renk */
  --neu-turkuaz-hover: #00878e;
  --neu-arkaplan: #f4f8fa; 
  --kutu-golge: 0 8px 16px rgba(29, 57, 73, 0.1); /* Genel kutu gölgesi */
}

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--neu-arkaplan);
  color: var(--neu-lacivert);
}

/* Kapsayıcı ve Başlık Ayarları */
.container {
  width: 95%;
  margin: auto;
  text-align: center;
  padding-bottom: 40px;
}

.baslik-alani {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.uni-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--neu-lacivert);
  text-transform: uppercase;
  border-bottom: 4px solid var(--neu-turkuaz);
  display: inline-block;
  padding-bottom: 8px;
}

/* Kontrol Paneli Düzeni (Flexbox kullanılarak yan yana dizildi) */
.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 25px 0;
  flex-wrap: wrap;
  padding: 15px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--kutu-golge);
  border-top: 4px solid var(--neu-lacivert);
}

/* Açılır Menü ve Buton Stilleri */
select {
  padding: 10px 40px 10px 15px;
  border-radius: 8px;
  border: 2px solid #d1d9e0;
  font-size: 15px;
  font-weight: 500;
  color: var(--neu-lacivert);
  cursor: pointer;
  outline: none;
  background-color: white;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%231D3949' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  transition: all 0.3s ease;
}

select:hover, select:focus {
  border-color: var(--neu-turkuaz);
  box-shadow: 0 0 8px rgba(0, 166, 174, 0.2);
}

button {
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  background: var(--neu-turkuaz);
  color: white;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 166, 174, 0.2);
}

button:hover {
  background: var(--neu-turkuaz-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 166, 174, 0.3);
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Graf ve Yan Panel Düzeni */
.content {
  display: flex;
  justify-content: center;
  gap: 25px;
  align-items: flex-start;
}

#ag {
  width: 700px;
  height: 550px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--kutu-golge);
  border: 1px solid #e1e8ed;
}

.side-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.table-box, .log-box {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 260px;
  box-shadow: var(--kutu-golge);
  border-top: 4px solid var(--neu-turkuaz);
}

h3 {
  margin-top: 0;
  color: var(--neu-lacivert);
  border-bottom: 2px solid #e1e8ed;
  padding-bottom: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th {
  background: var(--neu-lacivert);
  color: white;
  font-weight: 600;
}

th, td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #e1e8ed;
}

tr:nth-child(even) {
  background: #f8fafb;
}

tr:hover {
  background: rgba(0, 166, 174, 0.05);
}

/* Log Kutusu Kaydırma (Scroll) Ayarları */
.log-box {
  max-height: 280px;
  overflow-y: auto;
  text-align: left;
}

#log-listesi {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #4a5d6a;
}

#log-listesi li {
  padding: 8px 0;
  border-bottom: 1px dashed #e1e8ed;
}

.success-log {
  color: var(--neu-turkuaz) !important;
  font-weight: bold;
}

/* Özel Scrollbar Stili */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--neu-turkuaz); 
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neu-lacivert); 
}