/*
 * Zevo Temizlik — yönetim paneli (Bootstrap 5.3 üzerine).
 * Panel kendi sabit renklerini kullanır; site temasından bağımsızdır.
 */

:root {
    --a-ink: #0f2a37;
    --a-ink-2: #16384a;
    --a-aqua: #14b8c8;
    --a-aqua-dark: #0b8a99;
    --a-aqua-soft: #e3f7f9;
    --a-sun: #ffd166;
    --a-bg: #f3f8fa;
    --a-line: #e1ecf0;
    --a-muted: #64808c;
    --a-side-w: 264px;
    --bs-primary: #14b8c8;
    --bs-primary-rgb: 20, 184, 200;
    --bs-link-color: #0b8a99;
    --bs-link-color-rgb: 11, 138, 153;
    --bs-link-hover-color: #0f2a37;
    --bs-body-bg: #f3f8fa;
    --bs-body-color: #1d3441;
    --bs-border-color: #e1ecf0;
    --bs-font-sans-serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.zt-admin {
    background: var(--a-bg);
    font-size: .94rem;
}

a {
    text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ düğmeler */

.btn {
    border-radius: 10px;
    font-weight: 550;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.btn-primary {
    --bs-btn-bg: var(--a-aqua);
    --bs-btn-border-color: var(--a-aqua);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--a-aqua-dark);
    --bs-btn-hover-border-color: var(--a-aqua-dark);
    --bs-btn-active-bg: var(--a-aqua-dark);
    --bs-btn-active-border-color: var(--a-aqua-dark);
    --bs-btn-disabled-bg: #8fdbe3;
    --bs-btn-disabled-border-color: #8fdbe3;
}

.btn-outline-primary {
    --bs-btn-color: var(--a-aqua-dark);
    --bs-btn-border-color: #9edfe6;
    --bs-btn-hover-bg: var(--a-aqua);
    --bs-btn-hover-border-color: var(--a-aqua);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--a-aqua-dark);
}

.btn-light {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: var(--a-line);
    --bs-btn-hover-bg: #f0f7f9;
    --bs-btn-hover-border-color: #cfe2e8;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: #7fd6df;
    box-shadow: 0 0 0 .2rem rgba(20, 184, 200, .18);
}

.form-check-input:checked {
    background-color: var(--a-aqua);
    border-color: var(--a-aqua);
}

.form-control,
.form-select {
    border-radius: 10px;
    background-color: #fff;
}

.form-label {
    font-weight: 600;
    font-size: .86rem;
    color: var(--a-ink);
}

.text-bg-primary {
    background-color: var(--a-aqua) !important;
}

/* ------------------------------------------------------------------ iskelet */

.zt-shell {
    display: flex;
    min-height: 100vh;
}

.zt-sidebar {
    width: var(--a-side-w);
    flex: 0 0 var(--a-side-w);
    /* Bootstrap offcanvas-lg geniş ekranda arka planı şeffaf yapar (!important) */
    background: var(--a-ink) !important;
    color: #b9d0d8;
    display: flex;
    flex-direction: column;
    transition: width .2s ease, flex-basis .2s ease;
}

@media (min-width: 992px) {
    .zt-sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #2a4b5b transparent;
    }
}

@media (max-width: 991.98px) {
    .zt-sidebar.offcanvas-lg {
        --bs-offcanvas-width: 284px;
        --bs-offcanvas-bg: var(--a-ink);
    }
}

.zt-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px 12px;
}

.zt-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    min-width: 0;
}

.zt-brand-mark {
    flex: 0 0 auto;
}

.zt-brand-text {
    min-width: 0;
}

.zt-brand-text strong {
    display: block;
    font-size: .98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zt-brand-text small {
    color: #7fa3b1;
    font-size: .74rem;
}

.zt-menu {
    padding: 4px 10px 16px;
    flex: 1;
}

.zt-menu-group {
    margin-top: 12px;
}

.zt-menu-title {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #6f93a1;
    padding: 6px 10px;
}

.zt-menu a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 10px;
    margin: 1px 0;
    border-radius: 10px;
    color: #c9dde4;
    text-decoration: none;
    font-size: .9rem;
    position: relative;
}

.zt-menu a .bi {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
    color: #84b2c0;
}

.zt-menu a:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.zt-menu a.active {
    background: linear-gradient(90deg, rgba(20, 184, 200, .28), rgba(20, 184, 200, .08));
    color: #fff;
    font-weight: 600;
}

.zt-menu a.active::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--a-aqua);
}

.zt-menu a.active .bi {
    color: var(--a-aqua);
}

.zt-count {
    margin-left: auto;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--a-sun);
    color: var(--a-ink);
    font-size: .72rem;
    display: grid;
    place-items: center;
}

.zt-sidebar-foot {
    padding: 14px 18px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
}

.zt-sidebar-foot a {
    color: #c9dde4;
    text-decoration: none;
}

.zt-version {
    color: #6f93a1;
}

/* daraltılmış menü (masaüstü) */
@media (min-width: 992px) {
    body.zt-collapsed .zt-sidebar {
        width: 74px;
        flex-basis: 74px;
    }

    body.zt-collapsed .zt-brand-text,
    body.zt-collapsed .zt-menu-label,
    body.zt-collapsed .zt-menu-title,
    body.zt-collapsed .zt-version {
        display: none;
    }

    body.zt-collapsed .zt-menu a {
        justify-content: center;
    }

    body.zt-collapsed .zt-count {
        position: absolute;
        top: 2px;
        right: 4px;
        min-width: 16px;
        height: 16px;
        font-size: .6rem;
    }

    body.zt-collapsed .zt-menu-group {
        margin-top: 6px;
        border-top: 1px solid rgba(255, 255, 255, .05);
    }
}

.zt-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.zt-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(243, 248, 250, .88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--a-line);
}

.zt-topbar-title {
    font-weight: 650;
    color: var(--a-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zt-topbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zt-icon-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--a-line);
    color: var(--a-ink);
}

.zt-icon-btn:hover {
    border-color: #9edfe6;
    color: var(--a-aqua-dark);
}

.zt-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef476f;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.zt-user-btn {
    background: #fff;
    border: 1px solid var(--a-line);
    border-radius: 999px;
    padding: 4px 12px 4px 4px;
}

.zt-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--a-aqua), #3a7bd5);
    color: #fff;
    font-weight: 700;
    display: grid;
    place-items: center;
    font-size: .85rem;
}

.zt-content {
    padding: 24px;
    max-width: 1440px;
    width: 100%;
}

@media (max-width: 575.98px) {
    .zt-content {
        padding: 16px 12px;
    }

    .zt-topbar {
        padding: 8px 12px;
    }
}

/* ------------------------------------------------------------------ kartlar, başlıklar */

.zt-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.zt-page-head h1 {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--a-ink);
    margin: 0;
}

.zt-page-head p {
    margin: 4px 0 0;
    color: var(--a-muted);
}

.zt-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zt-card {
    border: 1px solid var(--a-line);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 42, 55, .04), 0 10px 30px -24px rgba(15, 42, 55, .3);
    background: #fff;
}

.zt-card > .card-header {
    background: transparent;
    border-bottom: 1px solid var(--a-line);
    font-weight: 650;
    color: var(--a-ink);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zt-card > .card-header .bi {
    color: var(--a-aqua-dark);
}

.zt-card > .card-footer {
    background: #fbfdfe;
    border-top: 1px solid var(--a-line);
    border-radius: 0 0 16px 16px;
}

.zt-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px;
    position: sticky;
    bottom: 0;
    z-index: 5;
}

.zt-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--a-line);
}

.zt-toolbar .form-select,
.zt-toolbar .form-control {
    width: auto;
}

.zt-search {
    position: relative;
    display: flex;
    align-items: center;
}

.zt-search .bi {
    position: absolute;
    left: 10px;
    color: var(--a-muted);
    font-size: .85rem;
}

.zt-search input {
    padding-left: 30px;
    min-width: 220px;
}

/* ------------------------------------------------------------------ tablolar */

.zt-table {
    --bs-table-bg: transparent;
    margin: 0;
}

.zt-table thead th {
    font-size: .74rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--a-muted);
    font-weight: 700;
    background: #f8fbfc;
    border-bottom: 1px solid var(--a-line);
    white-space: nowrap;
    padding: 10px 14px;
}

.zt-table td {
    padding: 11px 14px;
    border-color: var(--a-line);
}

.zt-table tbody tr:hover {
    background: #f7fcfd;
}

.zt-table tbody tr:last-child td {
    border-bottom: 0;
}

.zt-w-drag {
    width: 34px;
}

.zt-drag {
    cursor: grab;
    color: #9bb4bd;
}

.zt-table tr.dragging {
    opacity: .5;
    background: var(--a-aqua-soft);
}

.zt-thumb {
    width: 54px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--a-aqua-soft);
    display: inline-grid;
    place-items: center;
    color: #8ab;
}

.zt-badge {
    font-weight: 600;
    border-radius: 999px;
    padding: .38em .7em;
}

.zt-cell-title {
    font-weight: 600;
    color: var(--a-ink);
    text-decoration: none;
}

.zt-cell-sub {
    display: block;
    font-size: .8rem;
    color: var(--a-muted);
}

/* Mobilde tablolar kart görünümüne döner */
@media (max-width: 767.98px) {
    .zt-table thead {
        display: none;
    }

    .zt-table,
    .zt-table tbody,
    .zt-table tr,
    .zt-table td {
        display: block;
        width: 100%;
    }

    .zt-table tr {
        border-bottom: 1px solid var(--a-line);
        padding: 10px 6px;
    }

    .zt-table td {
        border: 0;
        padding: 4px 10px;
        display: flex;
        justify-content: space-between;
        gap: 12px;
        text-align: right;
    }

    .zt-table td[data-label]::before {
        content: attr(data-label);
        font-size: .74rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .05em;
        color: var(--a-muted);
        text-align: left;
    }

    .zt-table td.zt-w-drag {
        display: none;
    }

    .zt-table td.text-end {
        justify-content: flex-end;
    }
}

/* ------------------------------------------------------------------ KPI ve özet */

.zt-kpi {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--a-line);
    border-radius: 16px;
    padding: 16px 18px;
    height: 100%;
}

.zt-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    flex: 0 0 auto;
    background: var(--a-aqua-soft);
    color: var(--a-aqua-dark);
}

.zt-kpi-success .zt-kpi-icon {
    background: #e2f6ea;
    color: #198754;
}

.zt-kpi-warning .zt-kpi-icon {
    background: #fff4d6;
    color: #b07d00;
}

.zt-kpi-danger .zt-kpi-icon {
    background: #fde7ec;
    color: #d6335b;
}

.zt-kpi-dark .zt-kpi-icon {
    background: #e6ecef;
    color: var(--a-ink);
}

.zt-kpi-label {
    font-size: .8rem;
    color: var(--a-muted);
    font-weight: 600;
}

.zt-kpi-value {
    font-size: 1.55rem;
    font-weight: 750;
    color: var(--a-ink);
    letter-spacing: -.02em;
    line-height: 1.2;
}

.zt-kpi-note {
    font-size: .78rem;
    color: var(--a-muted);
}

.zt-delta {
    font-size: .76rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 1px 7px 1px 3px;
    display: inline-flex;
    align-items: center;
}

.zt-delta.up {
    background: #e2f6ea;
    color: #198754;
}

.zt-delta.down {
    background: #fde7ec;
    color: #d6335b;
}

.zt-hello {
    background:
        radial-gradient(380px 160px at 100% 0%, rgba(20, 184, 200, .35), transparent 70%),
        radial-gradient(260px 120px at 0% 100%, rgba(255, 209, 102, .25), transparent 70%),
        var(--a-ink);
    color: #d6e8ee;
    border-radius: 18px;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
}

.zt-hello h2 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.zt-hello .btn-light {
    --bs-btn-bg: rgba(255, 255, 255, .1);
    --bs-btn-border-color: rgba(255, 255, 255, .2);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: rgba(255, 255, 255, .2);
    --bs-btn-hover-color: #fff;
}

.zt-spark {
    position: absolute;
    width: 60px;
    height: 60px;
    right: 26px;
    top: 18px;
    background: rgba(255, 255, 255, .12);
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.zt-job {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--a-line);
    text-decoration: none;
    color: inherit;
}

.zt-job:last-child {
    border-bottom: 0;
}

.zt-job-time {
    flex: 0 0 74px;
    font-weight: 700;
    color: var(--a-aqua-dark);
    font-size: .85rem;
}

.zt-job strong {
    color: var(--a-ink);
}

.zt-list-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid var(--a-line);
    font-size: .88rem;
}

.zt-list-row:last-child {
    border-bottom: 0;
}

.zt-bar {
    height: 6px;
    border-radius: 999px;
    background: var(--a-aqua-soft);
    overflow: hidden;
    margin-top: 4px;
}

.zt-bar span {
    display: block;
    height: 100%;
    background: var(--a-aqua);
    border-radius: inherit;
}

/* ------------------------------------------------------------------ analitik */

.zt-heat {
    display: grid;
    grid-template-columns: 38px repeat(24, 1fr);
    gap: 2px;
    font-size: .66rem;
}

.zt-heat span {
    aspect-ratio: 1;
    border-radius: 3px;
    background: rgba(20, 184, 200, var(--v, 0));
    border: 1px solid #edf4f6;
}

.zt-heat .lbl {
    aspect-ratio: auto;
    background: none;
    border: 0;
    color: var(--a-muted);
    display: flex;
    align-items: center;
}

.zt-heat .hr {
    aspect-ratio: auto;
    background: none;
    border: 0;
    color: var(--a-muted);
    text-align: center;
}

.zt-funnel-step {
    margin-bottom: 10px;
}

.zt-funnel-bar {
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--a-aqua), #57d0dc);
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    display: flex;
    align-items: center;
    padding: 0 10px;
    min-width: 46px;
}

.zt-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.zt-live::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #19b36b;
    box-shadow: 0 0 0 0 rgba(25, 179, 107, .6);
    animation: zt-pulse 1.8s infinite;
}

@keyframes zt-pulse {
    70% {
        box-shadow: 0 0 0 8px rgba(25, 179, 107, 0);
    }
}

/* ------------------------------------------------------------------ takvim */

.zt-cal {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.zt-cal-head {
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--a-muted);
    text-align: center;
    padding: 4px 0;
}

.zt-cal-day {
    min-height: 118px;
    background: #fff;
    border: 1px solid var(--a-line);
    border-radius: 12px;
    padding: 6px 7px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.zt-cal-day.is-other {
    background: #f7fafb;
    opacity: .6;
}

.zt-cal-day.is-today {
    border-color: var(--a-aqua);
    box-shadow: 0 0 0 2px rgba(20, 184, 200, .2);
}

.zt-cal-day.is-blocked {
    background: repeating-linear-gradient(135deg, #fff, #fff 6px, #fdf0f2 6px, #fdf0f2 12px);
}

.zt-cal-num {
    font-weight: 700;
    font-size: .85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zt-cal-load {
    height: 4px;
    border-radius: 4px;
    background: #edf4f6;
    overflow: hidden;
}

.zt-cal-load span {
    display: block;
    height: 100%;
}

.zt-cal-item {
    font-size: .72rem;
    line-height: 1.25;
    border-radius: 6px;
    padding: 2px 5px;
    background: var(--a-aqua-soft);
    border-left: 3px solid var(--c, var(--a-aqua));
    color: var(--a-ink);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zt-cal-item:hover {
    background: #cdeff3;
}

.zt-week {
    display: grid;
    grid-template-columns: 110px repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.zt-week-slot {
    background: #fff;
    border: 1px solid var(--a-line);
    border-radius: 10px;
    padding: 6px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

@media (max-width: 767.98px) {
    .zt-cal {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 3px;
    }

    .zt-cal-day {
        min-height: 64px;
        padding: 4px;
    }

    .zt-cal-item {
        display: none;
    }

    .zt-cal-day .zt-cal-more {
        display: block !important;
    }

    .zt-week {
        display: block;
    }

    .zt-week > div {
        margin-bottom: 6px;
    }
}

/* ------------------------------------------------------------------ formlar */

.zt-switch .form-check-input {
    width: 2.6em;
    height: 1.35em;
    cursor: pointer;
}

.zt-switch .form-check-label {
    padding-left: .35rem;
    padding-top: .1rem;
    cursor: pointer;
}

.zt-checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
}

.zt-image-input {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px dashed #cfe0e6;
    border-radius: 12px;
    padding: 10px;
    background: #fbfdfe;
}

.zt-image-preview {
    width: 96px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 auto;
    background: var(--a-aqua-soft);
    display: grid;
    place-items: center;
}

.zt-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zt-image-empty {
    font-size: 1.6rem;
    color: #8bc4cc;
}

.zt-color .form-control-color {
    max-width: 52px;
    padding: 4px;
}

.zt-editor {
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.zt-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px;
    background: #f6fafb;
    border-bottom: 1px solid var(--a-line);
}

.zt-editor-toolbar .btn {
    padding: 3px 8px;
}

.zt-editor-area {
    min-height: 220px;
    padding: 14px 16px;
    outline: none;
    line-height: 1.6;
}

.zt-editor-area h2 {
    font-size: 1.35rem;
}

.zt-editor-area h3 {
    font-size: 1.12rem;
}

.zt-editor-source {
    display: none;
    border: 0;
    border-radius: 0;
}

.zt-editor.show-source .zt-editor-area {
    display: none;
}

.zt-editor.show-source .zt-editor-source {
    display: block;
}

.zt-translations {
    border-top: 1px dashed var(--a-line);
    padding-top: 16px;
}

.zt-translations-head {
    font-weight: 650;
    color: var(--a-ink);
    margin-bottom: 8px;
}

.zt-tabs .nav-link {
    border-radius: 999px;
    color: var(--a-muted);
    font-weight: 600;
    padding: 6px 14px;
}

.zt-tabs .nav-link.active {
    background: var(--a-ink);
    color: #fff;
}

.zt-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--a-muted);
}

.zt-empty > .bi {
    font-size: 2.4rem;
    color: #9fd6dd;
    display: block;
    margin-bottom: 8px;
}

.zt-confirm-icon {
    font-size: 2.4rem;
    color: #ef476f;
    margin-bottom: 6px;
}

.zt-theme-card {
    border: 2px solid var(--a-line);
    border-radius: 14px;
    padding: 8px;
    cursor: pointer;
    display: block;
    height: 100%;
    transition: border-color .15s, box-shadow .15s;
    background: #fff;
}

.zt-theme-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px;
    background: var(--a-aqua-soft);
}

.zt-theme-radio:checked + .zt-theme-card {
    border-color: var(--a-aqua);
    box-shadow: 0 0 0 4px rgba(20, 184, 200, .15);
}

.zt-theme-radio {
    position: absolute;
    opacity: 0;
}

.zt-sortable-list .list-group-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zt-list-editor .zt-list-row-edit {
    display: grid;
    grid-template-columns: 150px 1fr 2fr 40px;
    gap: 8px;
    margin-bottom: 8px;
}

@media (max-width: 767.98px) {
    .zt-list-editor .zt-list-row-edit {
        grid-template-columns: 1fr 1fr;
    }
}

.zt-kv dt {
    font-size: .78rem;
    color: var(--a-muted);
    font-weight: 600;
}

.zt-kv dd {
    margin-bottom: 10px;
    color: var(--a-ink);
}

.zt-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zt-timeline li {
    position: relative;
    padding: 0 0 14px 22px;
    font-size: .86rem;
}

.zt-timeline li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--a-aqua);
}

.zt-timeline li::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 16px;
    bottom: 0;
    border-left: 1px dashed #cfe0e6;
}

.zt-timeline li:last-child::after {
    display: none;
}

.zt-staff-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px 3px 4px;
    border-radius: 999px;
    background: #f1f7f9;
    font-size: .82rem;
}

.zt-staff-chip i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--c, var(--a-aqua));
}

/* ------------------------------------------------------------------ giriş ekranı */

body.zt-auth {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px 14px;
    background:
        radial-gradient(520px 320px at 12% 10%, rgba(20, 184, 200, .22), transparent 70%),
        radial-gradient(420px 260px at 90% 90%, rgba(255, 209, 102, .22), transparent 70%),
        var(--a-ink);
}

.zt-auth-card {
    width: 100%;
    max-width: 410px;
    background: #fff;
    border-radius: 22px;
    padding: 34px 30px;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55);
}

.zt-auth-card h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--a-ink);
}

.zt-auth-bubble {
    position: fixed;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .25), rgba(255, 255, 255, .02) 70%);
    pointer-events: none;
}

/* ------------------------------------------------------------------ yazdırma */

@media print {
    .zt-sidebar,
    .zt-topbar,
    .no-print {
        display: none !important;
    }

    .zt-content {
        padding: 0;
    }

    body.zt-admin {
        background: #fff;
    }
}

/* Kart dışındaki yapışkan kaydet çubuğu içeriğin üstüne binmesin */
.zt-form-actions.px-0 {
    background: rgba(243, 248, 250, .94);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--a-line);
    margin-top: 16px;
}
