﻿/* Dok: 5 */
:root {
  --of-lacivert: #14273e;
  --of-lacivert-koyu: #0d1b2c;
  --of-turuncu: #f5841f;
  --of-gri: #f4f6f9;
}

body {
  background: var(--of-gri);
  font-size: 14px;
}

.of-wrap { display: flex; min-height: 100vh; }

.of-sidebar {
  width: 240px;
  min-width: 240px;
  
  background: var(--of-lacivert) !important;
  color: #cdd7e3;
  display: flex;
  flex-direction: column;
}
@media (min-width: 992px) {
  .of-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; }
}
.of-brand {
  padding: 1rem 1.25rem;
  background: var(--of-lacivert-koyu);
}
.of-brand a {
  color: #fff; text-decoration: none; font-size: 1.25rem; letter-spacing: .5px;
}
.of-brand i { color: var(--of-turuncu); margin-right: .4rem; }
.of-brand b { color: var(--of-turuncu); font-weight: 700; }
.of-logo { max-height: 42px; max-width: 190px; object-fit: contain; }
.of-login-logo { max-height: 72px; max-width: 260px; object-fit: contain; margin-bottom: .75rem; }
.of-menu { padding: .5rem 0 2rem; }
.of-baslik {
  padding: 1rem 1.25rem .35rem;
  font-size: .68rem; font-weight: 700; letter-spacing: 1px; color: #6d7f94;
}
.of-link {
  display: block; padding: .45rem 1.25rem; color: #cdd7e3;
  text-decoration: none; border-left: 3px solid transparent; white-space: nowrap;
}
.of-link i { margin-right: .55rem; width: 1.1rem; display: inline-block; text-align: center; }
.of-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.of-link.active {
  background: rgba(245,132,31,.12); color: #fff; border-left-color: var(--of-turuncu);
}
.of-alt { padding-left: 1.9rem; font-size: .87rem; }

@media (max-width: 991.98px) {
  .of-sidebar { background: var(--of-lacivert) !important; }
}

.of-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.of-topbar {
  display: flex; align-items: center; gap: .75rem;
  background: #fff; border-bottom: 1px solid #e3e8ee;
  padding: .6rem 1.25rem;
  position: sticky; top: 0; z-index: 100;
}
.of-arama { position: relative; flex: 1; max-width: 560px; }
.of-arama i {
  position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: #9aa7b5;
}
.of-arama input { padding-left: 2.2rem; background: var(--of-gri); border-color: transparent; }
.of-arama input:focus { background: #fff; border-color: var(--of-turuncu); box-shadow: 0 0 0 .2rem rgba(245,132,31,.15); }

.of-icerik { padding: 1.25rem; flex: 1; }
.of-alt-bilgi {
  padding: .75rem 1.25rem; color: #8b98a7; font-size: .8rem;
  border-top: 1px solid #e3e8ee; background: #fff;
}

.card { border: none; box-shadow: 0 1px 3px rgba(16,24,40,.08); border-radius: .6rem; }
.card-header { background: #fff; border-bottom: 1px solid #eef1f5; font-weight: 600; }

.of-sayfa-baslik {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem;
}
.of-sayfa-baslik h1 { font-size: 1.3rem; font-weight: 700; margin: 0; color: #22303f; }

.table { font-size: .875rem; }
.table thead th {
  background: #f8fafc; color: #526277; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .4px; white-space: nowrap;
}
.table-hover tbody tr { cursor: default; }
.table td { vertical-align: middle; }

.of-stat {
  background: #fff; border-radius: .6rem; padding: 1rem 1.1rem;
  box-shadow: 0 1px 3px rgba(16,24,40,.08);
  display: flex; align-items: center; gap: .9rem; height: 100%;
}
.of-stat .ikon {
  width: 44px; height: 44px; border-radius: .55rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.of-stat .deger { font-size: 1.35rem; font-weight: 700; line-height: 1.15; color: #22303f; }
.of-stat .etiket { font-size: .76rem; color: #7d8b9c; }
a.of-stat { text-decoration: none; transition: transform .1s; }
a.of-stat:hover { transform: translateY(-2px); }

.of-kar {
  border-radius: .6rem; padding: 1rem 1.25rem; color: #fff;
  background: linear-gradient(135deg, var(--of-lacivert) 0%, #1f3d5e 100%);
}
.of-kar .buyuk { font-size: 1.5rem; font-weight: 700; }

.btn-primary { background: var(--of-lacivert); border-color: var(--of-lacivert); }
.btn-primary:hover, .btn-primary:focus { background: var(--of-lacivert-koyu); border-color: var(--of-lacivert-koyu); }
.btn-turuncu { background: var(--of-turuncu); border-color: var(--of-turuncu); color: #fff; }
.btn-turuncu:hover { background: #d96f10; border-color: #d96f10; color: #fff; }

.of-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--of-lacivert-koyu) 0%, #1f3d5e 100%);
  padding: 1rem;
}
.of-login .kutu { width: 100%; max-width: 400px; }
.of-login .marka { text-align: center; color: #fff; margin-bottom: 1.5rem; }
.of-login .marka .logo { font-size: 2.6rem; color: var(--of-turuncu); }
.of-login .marka h1 { font-size: 1.6rem; }
.of-login .marka h1 b { color: var(--of-turuncu); }

.of-detay dt { color: #7d8b9c; font-weight: 500; font-size: .78rem; text-transform: uppercase; letter-spacing: .3px; }
.of-detay dd { margin-bottom: .7rem; font-weight: 500; color: #22303f; }

.w-dar { max-width: 120px; }
.text-kucuk { font-size: .78rem; }
@media print {
  .of-sidebar, .of-topbar, .of-alt-bilgi, .btn, .alert { display: none !important; }
  .of-icerik { padding: 0; }
}

