@import url("./is360_refresh.css");
/* İşletme365 ortak tasarım dili (v2) — yalnızca görünüm; sayfa mantığına ve yetkilere dokunmaz.
   Renkler tek yerden değişir: aşağıdaki --is-* değerleri. */
body.is365-themed{
  --is-bg:#f3f6fb;--is-surface:#fff;--is-ink:#14263f;--is-muted:#5b6b82;--is-line:#e1e8f2;--is-soft:#f6f9fd;
  --is-navy:#0e2340;--is-navy-2:#173a66;--is-primary:#0f62c9;--is-primary-d:#0a4a9c;--is-primary-soft:#e8f1fd;
  --is-ok:#15803d;--is-ok-soft:#e7f6ec;--is-warn:#b45309;--is-warn-soft:#fff5e0;--is-bad:#b42318;--is-bad-soft:#fdeceb;
  --is-radius:16px;--is-shadow:0 1px 2px rgba(16,36,64,.05),0 6px 18px rgba(16,36,64,.06);
  --app-bg:var(--is-bg);--app-ink:var(--is-ink);--app-muted:var(--is-muted);--app-line:var(--is-line);--app-teal:var(--is-primary);--app-navy:var(--is-navy);
  background:var(--is-bg)!important;color:var(--is-ink);
  font-family:"Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}

/* Üst bant */
body.is365-themed>header{background:linear-gradient(135deg,var(--is-navy) 0%,var(--is-navy-2) 100%)!important;color:#fff;border:0;padding:22px max(18px,calc((100vw - 1200px)/2)) 24px;box-shadow:0 2px 14px rgba(14,35,64,.25)}
body.is365-themed>header h1{margin:6px 0 2px;font-size:clamp(21px,3.4vw,28px);font-weight:700;letter-spacing:-.4px;line-height:1.25;color:#fff}
body.is365-themed>header :is(p,div,small,span){color:#c9daf0}
body.is365-themed>header a{color:#dbe9fb;text-decoration:none;font-weight:600}
body.is365-themed>header a:hover{color:#fff;text-decoration:underline}
body.is365-themed .module-breadcrumb{background:var(--is-primary-soft);border-bottom:1px solid var(--is-line);color:var(--is-primary-d)}
body.is365-themed .module-breadcrumb a{color:var(--is-primary-d);font-weight:600}

/* Kutular */
body.is365-themed :is(main,.main){background:transparent}
body.is365-themed :is(.card,.panel,.box,.tile,.module-card,.group,.inventory-place,.item,.movement,.surface){background:var(--is-surface);border:1px solid var(--is-line);border-radius:var(--is-radius);box-shadow:var(--is-shadow)}
body.is365-themed :is(.toolbar,.filters-bar){background:var(--is-surface);border:1px solid var(--is-line);border-radius:12px}
body.is365-themed :is(h1,h2,h3,h4){color:var(--is-ink);letter-spacing:-.25px;line-height:1.3}
body.is365-themed>header :is(h1,h2,h3){color:#fff}
body.is365-themed :is(h2){font-size:19px}
body.is365-themed :is(.muted,.sub,.small,small){color:var(--is-muted);line-height:1.6}
body.is365-themed a{color:var(--is-primary)}
body.is365-themed a:hover{color:var(--is-primary-d)}

/* Form alanları */
body.is365-themed label{font-weight:600;color:var(--is-ink)}
body.is365-themed :is(input,select,textarea){background:#fff;color:var(--is-ink);border:1.5px solid #c5d3e6;border-radius:11px;font-family:inherit;transition:border-color .15s,box-shadow .15s}
body.is365-themed :is(input,select,textarea):hover{border-color:#9db4d3}
body.is365-themed :is(input,select,textarea):focus{outline:0;border-color:var(--is-primary);box-shadow:0 0 0 4px rgba(15,98,201,.16)}
body.is365-themed ::placeholder{color:#8a98ad}
body.is365-themed input[type=checkbox],body.is365-themed input[type=radio]{accent-color:var(--is-primary)}

/* Düğmeler */
body.is365-themed :is(button,a.button,.btn){background:var(--is-primary);color:#fff;border:0;border-radius:11px;font-family:inherit;font-weight:650;box-shadow:0 1px 2px rgba(15,98,201,.3);transition:background .15s,transform .05s}
body.is365-themed :is(button,a.button,.btn):hover:not(:disabled){background:var(--is-primary-d);filter:none}
body.is365-themed :is(button,a.button,.btn):active:not(:disabled){transform:translateY(1px)}
body.is365-themed button:disabled{opacity:.55;cursor:not-allowed}
body.is365-themed :is(button.secondary,button.soft,button.ikincil,.btn.soft,.button.secondary,.quiet){background:var(--is-primary-soft);color:var(--is-primary-d);border:1px solid #cfe1f8;box-shadow:none}
body.is365-themed :is(button.secondary,button.soft,button.ikincil,.btn.soft,.button.secondary,.quiet):hover:not(:disabled){background:#d9e9fb}
body.is365-themed :is(button.danger,.btn.danger){background:var(--is-bad-soft);color:var(--is-bad);border:1px solid #f4c9c5;box-shadow:none}
body.is365-themed .tabs button:not(.active){background:var(--is-primary-soft);color:var(--is-primary-d);box-shadow:none}
body.is365-themed :is(.tabs .active,button[aria-pressed=true],button[aria-selected=true]){background:var(--is-primary);color:#fff}
body.is365-themed .filters button[aria-pressed=false]{background:var(--is-primary-soft);color:var(--is-primary-d)}
body.is365-themed .invoice-pdf-link{background:var(--is-primary)}

/* Tablolar */
body.is365-themed table{border-collapse:separate;border-spacing:0}
body.is365-themed table th{background:#eef3fa;color:#42587a;font-size:12px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;border-bottom:1px solid var(--is-line)}
body.is365-themed table td{border-bottom:1px solid #edf1f7}
body.is365-themed table tbody tr:hover td{background:#f7faff}

/* Uyarı ve etiketler */
body.is365-themed :is(.notice,.warning){background:var(--is-warn-soft);color:#7a4a0c;border:1px solid #f1dcae;border-left:4px solid #e2a02b;border-radius:11px;line-height:1.65}
body.is365-themed .note{border-radius:12px}
body.is365-themed :is(.error,.danger-text){color:var(--is-bad)}
body.is365-themed .success{color:var(--is-ok)}
body.is365-themed :is(.tag,.pill,.badge,.status-pill){border-radius:999px}

/* Yan menü */
body.is365-themed :is(.layout>aside,.sidebar,#is365side,#v66nav){background:linear-gradient(180deg,var(--is-navy),#12305a)!important;box-shadow:none}
body.is365-themed .layout>aside :is(h1,h2,h3){color:#fff}
body.is365-themed .layout>aside nav :is(a,button){color:#c7d9f0;background:transparent;box-shadow:none;border-radius:10px}
body.is365-themed .layout>aside nav :is(a.active,button.active,a:hover,button:hover){background:rgba(255,255,255,.14);color:#fff}

/* Modül merkezi bağlantıları */
body.is365-themed .links a{background:var(--is-soft);border:1px solid var(--is-line);border-radius:12px;color:var(--is-ink);font-weight:650}
body.is365-themed .links a:hover,body.is365-themed .links a:focus-visible{background:var(--is-primary-soft);border-color:#9fc2ee}
body.is365-themed .links a::after{color:var(--is-primary)}
body.is365-themed .group h3{color:var(--is-navy)}
body.is365-themed .module-card>a{background:var(--is-primary);color:#fff}

/* Üstte sabit "Ana sayfa" şeridi (mobile.js ekler) */
#is365-module-navigation{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(8px);border-bottom:1px solid var(--is-line,#e1e8f2)}
#is365-module-navigation .is365-home-link{background:#0f62c9!important;border-color:#0f62c9!important;border-radius:11px}
#is365-module-navigation .is365-home-link:hover{background:#0a4a9c!important;border-color:#0a4a9c!important}

body.is365-themed .i360-install-banner,body.is365-themed .is365-install-banner{font-family:inherit}
@media print{body.is365-themed{background:#fff!important}body.is365-themed>header{background:#fff!important;color:#000;box-shadow:none;border-bottom:2px solid #000}body.is365-themed>header *{color:#000!important}body.is365-themed :is(.card,.panel,.box,.group){box-shadow:none}}
@media(max-width:600px){
  body.is365-themed>header{padding:18px 16px 20px}
  body.is365-themed :is(.card,.panel,.box,.tile,.module-card,.group,.surface){border-radius:14px}
  body.is365-themed :is(input,select,textarea){font-size:16px}
  body.is365-themed :is(button,a.button,.btn){min-height:46px}
}

/* Ana ekran (İş Merkezi): renk değişkenleri ortak temayla eşlenir */
body.dashboard-live.ui-polished{--dash-bg:#f3f6fb;--dash-ink:#14263f;--dash-muted:#5b6b82;--dash-line:#e1e8f2;--dash-navy:#0e2340;--dash-teal:#0f62c9}
body.dashboard-live.ui-polished a[href="mudurluk_kontrol.html"],body.dashboard-live.ui-polished .card a.button{background:#0f62c9;color:#fff}
body.dashboard-live.ui-polished #manager-card a{background:#0f62c9;border:1px solid #0a4a9c;color:#fff;border-radius:10px}
body.dashboard-live.ui-polished #manager-card{background:linear-gradient(115deg,#eaf2fd,#f5f9ff);border:1px solid #cfe1f8}
body.dashboard-live.ui-polished a[href="tesis_haritasi.html"]{color:#0a4a9c}
body.dashboard-live.ui-polished .card a[href="tesis_haritasi.html"]:not(:only-child):first-of-type{color:#fff;background:#0f62c9;border-color:#0a4a9c}
