/* Patoz Defterim v3.10.7 — tek mor tema, çevrimdışı durum ve giriş akışı düzeltmeleri */
:root{
  --ui-purple:#673de6;
  --ui-purple-dark:#4f22c7;
  --ui-purple-mid:#8466ed;
  --ui-purple-soft:#f1edff;
  --ui-purple-faint:#fbfaff;
  --ui-purple-line:#ded5f6;
  --ui-text:#383344;
  --ui-muted:#756f82;
  --ui-danger:#df3855;
}

/* Uygulamanın bütün yüzeylerini tek mor-beyaz tasarım altında toplar. */
html,body,.host-app,.host-main,.host-content{background:#f7f5fc!important;color:var(--ui-text)!important}
.host-sidebar,.host-topbar,.secure-login-panel{background:#fff!important}
.host-content :is(.card,.panel,.panel-card,.section-card,.summary-card,.stat-card,.list-card,.form-card,.settings-card,.report-card,.customer-card,.job-card,.appointment-card,.dashboard-card,.modal-card,.dialog-card,.simple-card,.info-card,.action-card,.empty-card,.status-card,.onboarding-card,.notification-center-card,.support-list-card,.support-create-card,.business-card,.central-card),
.public-panel-app :is(.card,.panel-card,.summary-card,.lookup-card,.estimate-panel,.schedule-change-box),
.setup-app :is(.setup-form-panel,.setup-success-panel,.install-progress li){
  border-color:var(--ui-purple-line)!important;
  background:#fff!important;
  color:var(--ui-text)!important;
  box-shadow:0 9px 25px rgba(47,28,106,.07)!important;
}

/* Eski krem, kahverengi, yeşil ve turuncu yüzeyler mor tonlara çevrilir. */
.host-content :is(.status-card,.help,.report-filter-note,.appointment-note,.notification-help,.estimate-panel,.lookup-main-time,.business-note,.appointment-location-note,.support-priority,.support-read-state,.simple-remaining,.job-start-summary,.job-location-status,.location-income-head,.payment-type-main),
.public-panel-app :is(.estimate-panel,.lookup-main-time,.business-note,.appointment-location-note),
.setup-app :is(.setup-tip,.install-progress li.active){
  border-color:#d9cff5!important;
  background:var(--ui-purple-faint)!important;
  color:#5f4d91!important;
}

/* Tüm eski başarı/uyarı renk sınıfları morlaştırılır. Kırmızı hata ve silme renkleri korunur. */
:is(.host-content,.public-panel-app,.setup-app) :is(
  .green,.orange,.blue,.success,.warning,
  .chip.green,.chip.orange,.chip.blue,
  .status-pill.green,.status-pill.orange,.status-pill.blue,
  .status-approved,.status-pending,
  .host-kpi-icon.green,.host-kpi-icon.orange,.host-kpi-icon.blue,
  .panel-icon.green,.panel-icon.orange,.panel-icon.blue,
  .pause-start,.pause-end,
  .support-read-state.is-read,.support-read-state.is-waiting,
  .support-priority:not(.urgent):not(.high),
  .notification-success,.install-alert.ok,.setup-status,.public-secure
){
  border-color:#d8cef5!important;
  background:var(--ui-purple-soft)!important;
  color:var(--ui-purple)!important;
}
:is(.host-content,.public-panel-app,.setup-app) :is(.green,.orange,.blue,.success,.warning) svg,
:is(.host-content,.public-panel-app,.setup-app) :is(.green,.orange,.blue,.success,.warning) .ta-icon{fill:currentColor!important;color:currentColor!important}

/* Eski yeşil butonlar da uygulamanın ana mor butonuna dönüşür. */
.host-content :is(.btn.success,.btn.green,.whatsapp-pay-btn),
.public-panel-app :is(.btn.success,.btn.green),
.setup-app :is(.setup-button.primary){
  border-color:var(--ui-purple)!important;
  background:var(--ui-purple)!important;
  color:#fff!important;
}
.host-content :is(.btn.success,.btn.green,.whatsapp-pay-btn):hover{background:var(--ui-purple-dark)!important;border-color:var(--ui-purple-dark)!important;color:#fff!important}

/* İkon kutularının tamamı aynı mor kimliği kullanır. */
.host-content :is(.ico,.section-icon,.action-card .ico,.avatar,.host-kpi-icon,.panel-icon,.summary-card-head>div,.step-no,.queue-order,.business-logo,.notification-inbox-icon),
.public-panel-app :is(.panel-icon,.business-logo,.queue-order),
.setup-app :is(.setup-section-icon,.step-dot){
  border-color:#ded5f7!important;
  background:var(--ui-purple-soft)!important;
  color:var(--ui-purple)!important;
}
.host-content :is(.ico,.section-icon,.action-card .ico,.avatar,.host-kpi-icon,.panel-icon,.summary-card-head>div,.step-no,.queue-order,.business-logo,.notification-inbox-icon) svg{fill:currentColor!important}

/* Çevrimiçi göstergesi de karışık yeşil yerine mor kullanır. */
.host-online,.sync-badge:not(.offline){border-color:#d9cff5!important;background:var(--ui-purple-faint)!important;color:var(--ui-purple)!important}
.host-online i,.sync-badge:not(.offline)::before{background:var(--ui-purple)!important;box-shadow:0 0 0 4px rgba(103,61,230,.13)!important}
body.patoz-offline .host-online,body.patoz-offline .sync-badge{border-color:#d9cff5!important;background:#f4f1fc!important;color:#6b6086!important}
body.patoz-offline .host-online i{background:#8d78c9!important;box-shadow:0 0 0 4px rgba(103,61,230,.10)!important}

/* Kart metinleri ve etiketler */
.host-content :is(h1,h2,h3,h4,h5,strong,.row-main b,.amount){color:#2f2940}
.host-content :is(p,small,.help,.muted,.row-main small){color:var(--ui-muted)}
.host-content :is(.chip,.badge,.status-pill,.tag,.pill):not(.red):not(.danger):not(.error){border:1px solid #ddd3f7!important;background:var(--ui-purple-soft)!important;color:var(--ui-purple)!important}
.host-content :is(input[type="checkbox"],input[type="radio"]){accent-color:var(--ui-purple)!important}

/* Giriş ekranındaki büyük marka yazısı her koşulda beyazdır. */
.secure-login-visual h1,
body:not(.host-authenticated) .secure-login-visual h1,
.secure-login-page .secure-login-visual h1{color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 5px 22px rgba(42,17,113,.24)!important}

/* Operatör girişinde işletme kodu doğrulama ikonu */
.operator-code-check{position:relative!important;display:block!important;width:100%!important}
.operator-code-check input{width:100%!important;padding-right:58px!important}
.operator-code-check-btn{position:absolute!important;z-index:2!important;right:6px!important;top:50%!important;transform:translateY(-50%)!important;width:40px!important;min-width:40px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;background:var(--ui-purple-soft)!important;color:var(--ui-purple)!important;display:grid!important;place-items:center!important;cursor:pointer!important;transition:background .18s ease,color .18s ease,opacity .18s ease!important}
.operator-code-check-btn:hover{background:#e7e0ff!important;color:var(--ui-purple-dark)!important}
.operator-code-check-btn:focus-visible{outline:2px solid var(--ui-purple)!important;outline-offset:2px!important}
.operator-code-check-btn .ta-icon{width:21px!important;height:21px!important;fill:currentColor!important}
.operator-code-check-btn.is-verified{border-color:#23a566!important;background:#23a566!important;color:#fff!important;animation:operatorCodeVerified .65s ease both!important}
.login-lookup-status.is-verified{border-color:#cfc2f3!important;background:var(--ui-purple-faint)!important;color:var(--ui-purple)!important}
@keyframes operatorCodeVerified{0%{transform:translateY(-50%) scale(1)}35%{transform:translateY(-50%) scale(1.12);box-shadow:0 0 0 8px rgba(35,165,102,.15)}100%{transform:translateY(-50%) scale(.92);opacity:.2}}

/* Önceki tema dosyalarındaki krem splash kuralını kesin olarak etkisizleştirir. */
#splash.splash-screen{background:#673de6!important;background-image:linear-gradient(155deg,#744df0 0%,#673de6 48%,#4f22c7 100%)!important;color:#fff!important}
#splash .splash-title,#splash .loading,#splash .splash-site,#splash .splash-credit{color:#fff!important}
#splash .progress{background:rgba(255,255,255,.22)!important}
#splash .progress span{background:#fff!important}

/* Mola penceresi her zaman görünen ekranın merkezindedir. */
.job-pause-modal{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;display:grid!important;place-items:center!important;padding:14px!important;overflow:hidden!important;z-index:2147483600!important}
.job-pause-modal[hidden]{display:none!important}
.job-pause-dialog{position:relative!important;inset:auto!important;transform:none!important;margin:0!important;width:min(100%,560px)!important;max-height:calc(100dvh - 28px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;background:#fff!important;border:1px solid var(--ui-purple-line)!important}

@media(max-width:760px){
  .operator-code-check input{padding-right:60px!important}
  .operator-code-check-btn{right:7px!important;width:40px!important;min-width:40px!important;height:38px!important;min-height:38px!important}
  .job-pause-dialog{width:100%!important;max-height:calc(100dvh - 24px)!important}
}


/* v3.10.7 — eski tema sınıfları için son mor palet kilidi */
:root{
  --brown:#5f4d91!important;--hazelnut:#67568f!important;--cream:#fbfaff!important;--cream-2:#f7f5fc!important;
  --olive:#756f82!important;--success:#673de6!important;--warning:#8466ed!important;--soft-page:#f7f5fc!important;
  --soft-page-2:#f1edff!important;--soft-card:#fff!important;--soft-card-alt:#fbfaff!important;
}
:is(.host-app,.app-shell,.host-content,.public-panel-app,.setup-app) :is(
  [class~="green"],[class~="orange"],[class~="brown"],[class~="yellow"],[class~="olive"],
  [class*="-green"],[class*="-orange"],[class*="-brown"],[class*="-yellow"],[class*="-olive"],
  .status-approved,.status-pending,.status-waiting,.status-completed,.status-active,
  .install-alert.ok,.setup-status,.public-secure,.notification-success,.support-read-state.is-read
):not(.danger):not(.error):not(.red):not(.urgent):not(.high){
  border-color:#d8cef5!important;background:#f1edff!important;color:#673de6!important;
}
:is(.host-app,.app-shell,.host-content,.public-panel-app,.setup-app) :is(
  [class~="green"],[class~="orange"],[class~="brown"],[class~="yellow"],[class~="olive"],
  [class*="-green"],[class*="-orange"],[class*="-brown"],[class*="-yellow"],[class*="-olive"]
):not(.danger):not(.error):not(.red) :is(svg,.ta-icon){fill:currentColor!important;color:currentColor!important;stroke:currentColor!important}
:is(.host-content,.view) :is(.card,.simple-card,.kpi,.kpi-card,.status-card,.form-card,.chart-card,.action-card,.list-row,.simple-details,.operator-badge,.sync-badge,.check-row,.search-select-menu,.table-wrap,.customer-card,.job-card,.appointment-card,.info-box,.summary-row,.table-row){
  background:#fff!important;border-color:#ded5f6!important;box-shadow:0 8px 24px rgba(47,28,106,.07)!important;
}
:is(.host-content,.view) :is(.card-soft,.soft-card,.help,.empty,.list-filter-card,.report-filter-details,.customer-job-row,.payment-type-row,.admin-request-card){
  background:#fbfaff!important;border-color:#ded5f6!important;color:#464154!important;
}
:is(.host-content,.view) :is(.avatar,.tl-avatar,.ico,.section-icon,.host-kpi-icon,.panel-icon,.queue-order,.business-logo,.step-no){
  background:#f1edff!important;border-color:#ded5f6!important;color:#673de6!important;box-shadow:none!important;
}
:is(.host-content,.view) :is(.btn.primary,.btn.success,.btn.green,.whatsapp-pay-btn):not(.danger){background:#673de6!important;border-color:#673de6!important;color:#fff!important}
:is(.host-content,.view) :is(.btn.primary,.btn.success,.btn.green,.whatsapp-pay-btn):not(.danger):hover{background:#4f22c7!important;border-color:#4f22c7!important;color:#fff!important}
.secure-login-visual h1,.secure-login-visual h1 *{color:#fff!important;-webkit-text-fill-color:#fff!important}
