:root
{
  color-scheme: light;
  --zemin: #f4f7fb;
  --panel: #ffffff;
  --metin: #172033;
  --ikincil: #6f6861;
  --cizgi: #ded8d1;
  --mavi: #5f5750;
  --yesil: #746554;
  --kirmizi: #b91c1c;
  --golge: 0 28px 70px rgba(31, 41, 51, 0.24);
}

*
{
  box-sizing: border-box;
  font-family: "Roboto", Arial, sans-serif;
}

body
{
  margin: 0;
  min-height: 100vh;
  padding-bottom: 120px;
  background: #79716B;
  color: var(--metin);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
}

.sayfa
{
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
}

.ust-bolum
{
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.geri-link
{
  width: fit-content;
  color: var(--mavi);
  font-weight: 700;
  text-decoration: none;
}

.geri-link:hover
{
  text-decoration: underline;
}

.etiket
{
  margin: 0 0 8px;
  color: var(--yesil);
  font-size: inherit;
  font-weight: 800;
  text-transform: uppercase;
}

h1
{
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.04;
}

.panel
{
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--golge);
}

.arac-cubugu
{
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 28px 32px;
  border-bottom: 1px solid var(--cizgi);
  background: #f5f2ee;
}

.arama-alani
{
  display: grid;
  gap: 8px;
  color: var(--ikincil);
  font-size: inherit;
  font-weight: 700;
}

.arama-alani input
{
  width: 100%;
  height: 50px;
  border: 1px solid #d6cec6;
  border-radius: 10px;
  padding: 0 15px;
  color: var(--metin);
  font-size: inherit;
  outline: none;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.arama-alani input:focus
{
  border-color: #8a7f75;
  box-shadow: 0 0 0 4px rgba(121, 113, 107, 0.18);
}

.sorgula-buton
{
  height: 50px;
  min-width: 132px;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  background: linear-gradient(135deg, #6f655d 0%, #4f4842 100%);
  box-shadow: 0 12px 24px rgba(79, 72, 66, 0.24);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.sorgula-buton:hover
{
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(79, 72, 66, 0.30);
}

.sorgula-buton:disabled
{
  cursor: wait;
  opacity: 0.72;
}

.durum
{
  padding: 28px 22px;
  color: var(--ikincil);
  font-weight: 700;
}

.durum.hata
{
  color: var(--kirmizi);
}

.sonuc-alani
{
  display: grid;
  gap: 18px;
  padding: 28px 32px 32px;
}

.sonuc-ozet
{
  color: var(--metin);
  font-weight: 800;
}

.tablo-sarmal
{
  overflow-x: auto;
  border: 1px solid #ded8d1;
  border-radius: 12px;
  background: #fff;
}

table
{
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
}

th,
td
{
  padding: 12px 14px;
  border-bottom: 1px solid #e5dfd7;
  text-align: left;
  vertical-align: top;
}

th
{
  color: var(--ikincil);
  font-size: inherit;
  font-weight: 800;
  background: #f7f4f0;
}

td
{
  overflow-wrap: anywhere;
  font-size: inherit;
  background: rgba(255, 255, 255, 0.96);
}

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

tbody tr:hover td
{
  background: #f3eee7;
}

tr:last-child td
{
  border-bottom: 0;
}

.indir-link
{
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 10px;
  padding: 0 12px;
  color: #fff;
  font-size: inherit;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  background: var(--yesil);
  box-shadow: 0 8px 18px rgba(95, 81, 68, 0.20);
}

.indir-link:hover
{
  background: #5f5144;
}

.fixed-footer
{
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  padding: 10px 5px;
  color: white;
  font-size: 17px;
  text-align: center;
  background-color: #4f4842;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.25);
}

@media (max-width: 760px)
{
  .sayfa
  {
    width: min(100% - 20px, 1380px);
    padding: 20px 0;
  }

  .arac-cubugu
  {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .sorgula-buton
  {
    width: 100%;
  }

  .sonuc-alani
  {
    padding: 20px;
  }

  .fixed-footer
  {
    font-size: 14px;
  }
}
