/* OrianaSIEM Canlı Demo — site katmanı (şerit, tur, bildirim) ve ürün CSS'ine küçük uyarlamalar.
   Ürün görünümü vendor/styles.css + vendor/components.css'ten gelir; burada ürün stilleri değiştirilmez. */
:root { --banner-h: 40px; --accent: #7477ff; }
.hidden { display: none !important; }
html, body { height: 100%; }
body.common { margin: 0; overflow-x: hidden; }

/* ---- demo şeridi ---- */
.demo-banner { position: fixed; top: 0; left: 0; right: 0; height: var(--banner-h); z-index: 3000; display: flex; align-items: center; gap: 12px; padding: 0 14px;
  background: linear-gradient(90deg, #011537, #0b1f4d 55%, #011537); color: #fff; font-family: Roboto, system-ui, sans-serif; font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 2px 12px rgba(0,0,0,.35); }
.demo-banner .demo-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #ff751f; color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .06em; white-space: nowrap; }
.demo-banner .demo-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: demo-pulse 1.4s infinite; }
@keyframes demo-pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .35; transform: scale(.7);} }
.demo-banner .demo-text { opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-banner .demo-actions { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.demo-banner .btn { height: 28px; padding: 0 10px; font-size: 12px; font-weight: 600; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.08); text-decoration: none; line-height: 1; }
.demo-banner .btn:hover { background: rgba(255,255,255,.16); color: #fff; }
.demo-banner .btn-tour { background: #ff751f; border-color: #ff751f; }
.demo-banner .btn-tour:hover { background: #ff8a3f; }
.demo-banner .btn-lang { min-width: 36px; justify-content: center; }
@media (max-width: 900px) { .demo-banner .demo-text { display: none; } .demo-banner .btn span, .demo-banner .btn-back { display: none; } }

/* ---- ürün düzenini şeridin altına kaydır ---- */
app-root { display: block; }
app-admin-layout { display: block; padding-top: var(--banner-h); min-height: 100vh; }
.show-sidebar aside.sidebar, aside.sidebar { top: var(--banner-h) !important; height: calc(100vh - var(--banner-h)) !important; }
app-login-layout { display: block; position: fixed; inset: 0; top: var(--banner-h); }
app-login { position: relative; display: block; height: 100%; z-index: 1; }
.demo-login-hint { margin: 14px auto 0; text-align: center; color: rgba(255,255,255,.72); font-size: 12.5px; max-width: 380px; text-align: center; }
.demo-login-hint i { color: #ff751f; margin-right: 4px; }
app-admin-sidebar { display: block; }
#main.main_closed { width: 100% !important; float: none; }
body.sidebar-closed #sidebar { transform: translateX(-100%); }
body.sidebar-closed .sb-restore { display: flex; }
.sb-restore { display: none; position: fixed; left: 12px; top: calc(var(--banner-h) + 10px); z-index: 1060; width: 36px; height: 36px; border-radius: 10px; align-items: center; justify-content: center; background: var(--secondary--color); color: #fff; border: 0; cursor: pointer; }

/* ---- bildirimler (ngx-toastr görünümü) ---- */
#toast-container { position: fixed; z-index: 4000; top: calc(var(--banner-h) + 12px); right: 12px; width: 320px; pointer-events: none; }
#toast-container .ngx-toastr { pointer-events: auto; position: relative; margin-bottom: 8px; padding: 12px 14px 12px 46px; border-radius: 10px; color: #fff; background: #30b06a; box-shadow: 0 8px 24px rgba(0,0,0,.35); font-family: Roboto, system-ui, sans-serif; font-size: 13px; transition: opacity .4s; }
#toast-container .ngx-toastr::before { font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 16px; top: 12px; font-size: 16px; content: "\f058"; }
#toast-container .toast-info { background: #2f86eb; } #toast-container .toast-info::before { content: "\f05a"; }
#toast-container .toast-warning { background: #f0ad4e; } #toast-container .toast-warning::before { content: "\f071"; }
#toast-container .toast-error { background: #bd362f; } #toast-container .toast-error::before { content: "\f057"; }
#toast-container .toast-title { font-weight: 700; margin-bottom: 2px; }

/* ---- özet modül kartı (demoda kapsam dışı modüller) ---- */
.demo-info-card { margin: 10px 0; padding: 28px; border-radius: var(--cart--border--radius); box-shadow: var(--cart--box--shadow); background: color-mix(in srgb, var(--body--background) 92%, white 8%); color: var(--primary--body--color); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.demo-info-card .demo-info-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--secondary--color); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.demo-info-card h5 { margin: 6px 0 0; font-weight: 700; }
.demo-info-card p { margin: 0; opacity: .78; max-width: 720px; }

/* ---- rehberli tur ---- */
.tour-mask { position: fixed; inset: 0; z-index: 5000; display: none; }
.tour-mask.on { display: block; }
.tour-spot { position: absolute; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(2, 10, 14, .72), 0 0 0 3px #ff751f; transition: all .35s ease; pointer-events: none; }
.tour-card { position: absolute; width: 360px; max-width: calc(100vw - 24px); background: #121a2b; color: #fff; border: 1px solid rgba(111,151,255,.3); border-radius: 12px; padding: 16px 18px; box-shadow: 0 16px 48px rgba(0,0,0,.5); font-family: Roboto, system-ui, sans-serif; }
.tour-card .step { font-size: 11px; letter-spacing: .08em; color: #ff751f; font-weight: 700; }
.tour-card h4 { font-size: 16px; margin: 6px 0 6px; font-weight: 700; }
.tour-card p { font-size: 13.5px; line-height: 1.5; opacity: .88; margin: 0 0 12px; }
.tour-card .row { display: flex; gap: 6px; justify-content: flex-end; margin: 0; }
.tour-card .btn { height: 30px; padding: 0 12px; border-radius: 6px; font-size: 12.5px; font-weight: 600; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; }
.tour-card .btn.primary { background: #ff751f; border-color: #ff751f; }
.tour-card .btn.ghost { margin-right: auto; background: transparent; }

/* ---- küçük düzeltmeler ---- */
#outlet { min-height: calc(100vh - 140px); }
.ag-theme-alpine .ag-root-wrapper { border: none; }
.admin-breadcrumb a.breadcrumb-item { text-decoration: none; color: inherit; }
.head-settings.head_icons { color: inherit; text-decoration: none; }

/* ---- mobil (ürünün offcanvas menüsü yerine kenar menüsü üstte açılır) ---- */
@media (max-width: 991.98px) {
  #main.main_open, #main.main_closed { width: 100% !important; float: none !important; }
  body.is-mobile aside.sidebar { width: 288px !important; box-shadow: 18px 0 42px rgba(0,0,0,.45); }
  body.is-mobile.sidebar-closed aside.sidebar { transform: translateX(-100%); }
  body.is-mobile.show-sidebar aside.sidebar { transform: translateX(0); }
  body.is-mobile .sb-restore { display: flex; }
  body.is-mobile .admin-headbar__left.left-div { margin-left: 44px !important; }
  body.is-mobile .admin-headbar { flex-wrap: wrap; gap: 6px; }
  body.is-mobile .admin-sidebar-search { max-width: 150px; }
  body.is-mobile .company-chip { display: none; }
  .demo-banner .btn-back, .demo-banner .btn-req span { display: none; }
}
@media (max-width: 991.98px) {
  .demo-banner { gap: 8px; padding: 0 10px; }
  .demo-banner .demo-actions .btn { padding: 0 8px; }
  .demo-banner .btn-tour span { display: inline; }
  .demo-banner .btn-req span, .demo-banner .btn-back span { display: none; }
  body.is-mobile .admin-headbar__right { flex-wrap: wrap; row-gap: 6px; }
  body.is-mobile .dashboard-page-header > .d-flex { flex-wrap: wrap; row-gap: 6px; }
  body.is-mobile .div-graphic { overflow: hidden; }
  body.is-mobile .each-chart { width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
}
@media (max-width: 991.98px) {
  body.is-mobile .used-device-page .row.panel > .content { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; }
  body.is-mobile .used-device-page .row.panel { margin: 0; }
  body.is-mobile #outlet .container-fluid { padding-left: 12px !important; padding-right: 12px !important; }
  body.is-mobile .useddevice_settings { display: flex !important; flex-wrap: wrap; gap: 6px; }
  body.is-mobile .useddevice_settings .accordion_filters { display: none; }
}

/* ---- TCO / Neden Oriana? katmanı ---- */
.demo-banner .btn-tco { background: rgba(255,117,31,.18); border-color: rgba(255,117,31,.6); }
.demo-banner .btn-tco:hover { background: rgba(255,117,31,.32); }
.tco-chip { position: absolute; top: 8px; right: 8px; z-index: 30; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; border: 1px solid rgba(255,117,31,.75); background: rgba(255,117,31,.16); color: #ffb380; font: 700 10.5px/1 Roboto, system-ui, sans-serif; letter-spacing: .06em; cursor: pointer; backdrop-filter: blur(4px); transition: all .15s; }
.tco-chip:hover { background: #ff751f; color: #fff; }
.tco-chip i { font-size: 10px; }
.tco-chip--fixed { position: fixed; top: auto; right: 18px; bottom: 18px; z-index: 2500; height: 32px; padding: 0 14px; font-size: 11.5px; letter-spacing: .02em; background: #121a2b; border-color: #ff751f; color: #ffb380; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.tco-chip--fixed:hover { background: #ff751f; color: #fff; }
body.tco-open .tco-chip--fixed { display: none; }
.tco-pop { position: fixed; z-index: 5200; width: 320px; background: #121a2b; color: #fff; border: 1px solid rgba(255,117,31,.45); border-radius: 12px; padding: 14px 16px; box-shadow: 0 16px 48px rgba(0,0,0,.5); font-family: Roboto, system-ui, sans-serif; }
.tco-pop-head { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #ff751f; text-transform: uppercase; margin-bottom: 6px; }
.tco-pop p { font-size: 13.5px; line-height: 1.5; margin: 0 0 10px; opacity: .92; }
.tco-pop-row { display: flex; gap: 6px; justify-content: flex-end; }
.tco-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.tco-btn:hover { background: rgba(255,255,255,.14); color: #fff; }
.tco-btn.primary { background: #ff751f; border-color: #ff751f; }
.tco-btn.primary:hover { background: #ff8a3f; }
.tco-btn.sm { height: 28px; padding: 0 10px; font-size: 12px; }
.tco-overlay { position: fixed; inset: 0; background: rgba(2,10,14,.55); z-index: 5100; display: none; }
.tco-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 460px; max-width: 100vw; z-index: 5150; background: linear-gradient(180deg, #0b1a3a, #06151a 40%); color: #fff; border-left: 1px solid rgba(255,117,31,.35); box-shadow: -20px 0 60px rgba(0,0,0,.5); padding: 18px 20px 24px; overflow-y: auto; transform: translateX(105%); transition: transform .3s cubic-bezier(.4,0,.2,1); font-family: Roboto, system-ui, sans-serif; }
body.tco-open .tco-overlay { display: block; }
body.tco-open .tco-drawer { transform: translateX(0); }
.tco-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tco-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #ff751f; text-transform: uppercase; }
.tco-head h3 { font-size: 20px; font-weight: 800; margin: 4px 0 0; }
.tco-close { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.07); color: #fff; cursor: pointer; }
.tco-sub { font-size: 13.5px; line-height: 1.55; opacity: .85; margin: 10px 0 14px; }
.tco-cards { display: grid; gap: 8px; }
.tco-card { display: flex; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid rgba(111,151,255,.22); background: rgba(255,255,255,.04); transition: border-color .2s, background .2s; }
.tco-card.is-focus { border-color: #ff751f; background: rgba(255,117,31,.1); }
.tco-ico { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: #3d4073; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.tco-card b { display: block; font-size: 13.5px; margin-bottom: 3px; }
.tco-card p { margin: 0; font-size: 12.5px; line-height: 1.5; opacity: .82; }
.tco-quote { margin: 14px 0; padding: 10px 14px; border-left: 3px solid #ff751f; font-size: 13px; font-style: italic; opacity: .9; background: rgba(255,255,255,.03); border-radius: 0 8px 8px 0; }
.tco-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tco-toggle { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; opacity: .85; cursor: pointer; }
.tco-toggle input { accent-color: #ff751f; }
@media (max-width: 991.98px) { .demo-banner .btn-tco span { display: none; } }
.div-graphic > .tco-chip { top: 12px; right: 100px; bottom: auto; }
