/* DNA Flatcast - Clean Layout Skeleton (from scratch)
   - Fixed header (top)
   - Sidebar left (no inner scroll; page scrolls)
   - Main content center/right
   - Footer at the very bottom of the document flow (NOT fixed)
*/

:root{
  --bg: #0b0f14;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.65);
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.10);
  --shadow: 0 14px 45px rgba(0,0,0,.35);
  --radius: 18px;
  --header-h: 74px;
  --sidebar-w: 290px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  margin:0;
  color:var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 450px at 10% 0%, rgba(0,210,255,.18), transparent 60%),
    radial-gradient(700px 420px at 90% 10%, rgba(166,255,0,.14), transparent 55%),
    var(--bg);
  overflow-x:hidden;
}

/* Header (fixed) */
.fc-header{
  position: fixed;
  top:0; left:0; right:0;
  height: var(--header-h);
  display:flex;
  align-items:center;
  padding: 0 18px;
  background: rgba(10,14,20,.72);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  z-index: 1000;
}
.fc-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
  font-weight: 900;
}
.fc-brand-badge{
  width:40px; height:40px;
  border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(0,210,255,.16), rgba(166,255,0,.10));
  border:1px solid var(--border);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
.fc-actions{
  margin-left:auto;
  display:flex;
  gap:10px;
}
.fc-iconbtn{
  width:40px; height:40px;
  border-radius:14px;
  display:grid; place-items:center;
  background: var(--panel);
  border:1px solid var(--border);
  color:var(--text);
  text-decoration:none;
}
.fc-iconbtn:hover{ background: var(--panel2); }

/* Page layout */
.fc-page{
  padding-top: var(--header-h);
  min-height: 100vh;
  display:flex;
  flex-direction:column;
}
.fc-row{
  display:flex;
  gap:18px;
  padding:18px;
  align-items:flex-start;
  flex: 1 1 auto;
}

/* Sidebar */
.fc-sidebar{
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
}
.fc-card{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.fc-card.pad{ padding:12px; }

.fc-sec{
  margin: 10px 0 6px;
  font-size:.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing:.12em;
}

.fc-nav a{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration:none;
  color:var(--text);
  border: 1px solid transparent;
}
.fc-nav a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
}
.fc-nav a.active{
  background: linear-gradient(90deg, rgba(0,210,255,.18), rgba(166,255,0,.10));
  border-color: rgba(0,210,255,.25);
  box-shadow: 0 0 0 3px rgba(0,210,255,.08) inset;
}
.fc-nav .i{ width:22px; text-align:center; opacity:.9; }

.fc-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 9px 10px;
  border-radius: 14px;
  color: rgba(255,255,255,.88);
  text-decoration:none;
}
.fc-item:hover{ background: rgba(255,255,255,.06); }

.fc-box{
  margin-top:12px;
  background: rgba(255,255,255,.05);
  border:1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
}
.fc-box-h{
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fc-box-t{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
}
.fc-box-sub{ color: var(--muted); font-size:.82rem; }
.fc-box-b{ padding: 10px 12px 12px; }

.fc-field{ position:relative; margin-bottom:10px; }
.fc-field i{
  position:absolute;
  left:10px;
  top:50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.55);
}
.fc-field input{
  width:100%;
  padding: 10px 12px 10px 34px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  outline:none;
}
.fc-field input::placeholder{ color: rgba(255,255,255,.55); }

.fc-check{ display:flex; align-items:center; gap:10px; font-size:.92rem; color: rgba(255,255,255,.8); margin: 6px 0 10px; }
.fc-btn{
  width:100%;
  border-radius:14px;
  padding: 10px 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight: 900;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:10px;
}
.fc-btn:hover{ background: rgba(255,255,255,.10); }
.fc-link{
  display:flex; align-items:center; justify-content:center; gap:8px;
  padding-top:6px;
  color: rgba(255,255,255,.78);
  text-decoration:none;
  font-size:.92rem;
}
.fc-link:hover{ color: rgba(255,255,255,.92); }

.fc-stat{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  margin-top:8px;
}
.fc-stat-k{ color: rgba(255,255,255,.78); font-size:.92rem; }
.fc-stat-v{ font-weight: 900; }

/* Main */
.fc-main{
  flex: 1 1 auto;
  min-width: 0;
}
.fc-main-wrap{
   max-width: none;
  width: 100%;
}
.fc-main-card{
  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.fc-main-h{
  padding: 14px 16px;
  font-weight: 900;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.fc-main-b{ padding: 16px; }

/* Footer (normal flow) */
.fc-footer{
  padding: 14px 18px;
  text-align:center;
  color: var(--muted);
  border-top:1px solid var(--border);
  background: rgba(10,14,20,.72);
  backdrop-filter: blur(10px);
}

.fc-btn-row{
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.fc-btn-row .fc-btn{
  flex: 1;
}

.fc-row-inline{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 10px;
}

.fc-link--inline{
  padding: 0;
  font-size: .9rem;
  white-space: nowrap;
}

/* Sidebar font size override */
.fc-sidebar,
.fc-sidebar *{
  font-size: 12px;
}

.fc-sidebar .fc-field input{
  font-size: 14px;
}

.fc-sidebar .fc-field input:focus{
  border-color: rgba(0,210,255,.45);
  box-shadow: 0 0 0 3px rgba(0,210,255,.12);
}

.nav-logo{
  height:45px;   /* navbar yüksekliğine göre */
  width:auto;
  display:block;
}
.navside-logo{
  height:120px;
  width:auto;
  display:block;
  margin:10px auto 18px; /* auto => ortalar */
}


/* Responsive */
@media (max-width: 992px){
  :root{ --sidebar-w: 0px; }
  .fc-row{ padding: 14px; }
  .fc-sidebar{ display:none; }
}
