/* Tema: logonun arka planına uyumlu koyu mavi */
:root{
  --bg:#0b3f5d;
  --card:#0f4a6a;
  --card2:#0c3550;
  --text:#eaf4ff;
  --muted:#b8d2e8;
  --border:rgba(255,255,255,.18);
  --accent:#ffffff;
  --danger:#ffb4b4;
  --ok:#9af7b4;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --radius: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: radial-gradient(1200px 800px at 20% 0%, #0f5d86 0%, var(--bg) 55%, #082a3f 100%);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.08);
  backdrop-filter: blur(8px);
}

.brand{display:flex; align-items:center; gap:14px;}
.logo{
  width:56px; height:56px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  padding:8px;
  box-shadow: var(--shadow);
}
.brand-title{font-size:18px; font-weight:800; letter-spacing:.2px;}
.brand-subtitle{font-size:12px; color:var(--muted); margin-top:2px;}

.status{
  display:flex; align-items:center; gap:10px;
  font-size:12px; color:var(--muted);
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}
.dot{width:10px; height:10px; border-radius:50%; background: rgba(255,255,255,.35); display:inline-block;}

.container{
  max-width: 1080px;
  margin: 22px auto;
  padding: 0 16px 40px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.tabs{
  display:flex;
  gap:8px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.08);
}
.tab{
  appearance:none;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 12px;
  border-radius: 999px;
  font-weight:700;
  cursor:pointer;
}
.tab.active{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.32);
}

.tabpane{display:none; padding: 14px 14px 6px;}
.tabpane.active{display:block;}

.form .grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}
.field{
  grid-column: span 6;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.field label{font-size:12px; color:var(--muted); font-weight:700;}
.field input, .field select{
  width:100%;
  padding:10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.10);
  color: var(--text);
  outline:none;
}
.field input::placeholder{color: rgba(234,244,255,.55)}
.field input:focus, .field select:focus{border-color: rgba(255,255,255,.45);}
.hint{font-size:11px; color:rgba(234,244,255,.68);}

.actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding: 12px 0 6px;
}
.actions.left{justify-content:flex-start}

.btn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 12px;
  border-radius: 12px;
  cursor:pointer;
  font-weight:800;
}
.btn.primary{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.38);
}
.btn:hover{filter:brightness(1.08)}

.section-title{
  font-weight:900;
  padding: 6px 2px 10px;
  opacity:.96;
}
.dependents{display:flex; flex-direction:column; gap:10px; margin-top:10px;}
.dep-row{
  padding: 10px;
  border:1px solid var(--border);
  border-radius: 14px;
  background: rgba(0,0,0,.08);
}
.dep-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:10px;
}
.dep-grid .field{grid-column: span 3;}
.dep-grid .field.wide{grid-column: span 4;}
.dep-actions{display:flex; justify-content:flex-end; margin-top:8px;}

.results-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 14px 0;
}
.results-title{font-weight:900;}
.results{
  margin: 10px 14px 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.10);
  color: #eaf4ff;
  overflow:auto;
  min-height: 220px;
  white-space: pre-wrap;
  word-break: break-word;
}
.small-note{
  padding: 0 14px 14px;
  font-size: 11px;
  color: rgba(234,244,255,.72);
}

.legal{
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0,0,0,.10);
}
.legal-title{font-weight:900; margin-bottom:6px}
.legal p{margin:0; color:rgba(234,244,255,.8); font-size:12px; line-height:1.45}

@media (max-width: 860px){
  .field{grid-column: span 12;}
  .dep-grid .field{grid-column: span 12;}
  .topbar{flex-direction:column; align-items:flex-start; gap:12px;}
}
