﻿/* Düzey Yönetim: giriş ekranı ve yönetim paneli.
   Yalnız _AdminLayout ve Login/Index tarafından yüklenir; site stilinden (Site.css) bağımsızdır. */

:root {
    --dz-navy-950: #050d22;
    --dz-navy-900: #0a1a40;
    --dz-navy-800: #102a63;
    --dz-navy-700: #1d4f91;
    --dz-navy-100: #e8eefb;
    --dz-gold: #f2bd2a;
    --dz-gold-600: #d9a20f;
    --dz-gold-100: #fdf4d8;
    --dz-ink: #0f1a33;
    --dz-ink-2: #34405a;
    --dz-muted: #66728b;
    --dz-line: #e5e9f1;
    --dz-line-2: #d6dce8;
    --dz-bg: #f3f5fa;
    --dz-surface: #ffffff;
    --dz-success: #11805b;
    --dz-success-100: #e3f5ee;
    --dz-danger: #c0362c;
    --dz-danger-100: #fdecea;
    --dz-radius: 16px;
    --dz-radius-sm: 10px;
    --dz-shadow-sm: 0 1px 2px rgba(15, 26, 51, .06), 0 1px 1px rgba(15, 26, 51, .04);
    --dz-shadow: 0 1px 2px rgba(15, 26, 51, .05), 0 8px 24px -12px rgba(15, 26, 51, .18);
    --dz-shadow-lg: 0 24px 60px -24px rgba(5, 13, 34, .45);
    --dz-ease: cubic-bezier(.2, .8, .2, 1);
    --dz-font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.dz-icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.2em;
}

/* ---------- Ortak: düğmeler, alanlar ---------- */

.dz-btn {
    --btn-bg: var(--dz-surface);
    --btn-fg: var(--dz-ink);
    --btn-bd: var(--dz-line-2);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 40px;
    padding: .55rem 1rem;
    border: 1px solid var(--btn-bd);
    border-radius: 11px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: 650 .9rem/1.2 var(--dz-font);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .18s var(--dz-ease), box-shadow .18s var(--dz-ease), background-color .18s, border-color .18s, color .18s;
}

.dz-btn:hover {
    color: var(--btn-fg);
    transform: translateY(-1px);
    box-shadow: var(--dz-shadow);
}

.dz-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.dz-btn:active {
    transform: translateY(0);
}

.dz-btn:focus-visible,
.dz-input:focus-visible,
.dz-nav a:focus-visible,
.dz-icon-btn:focus-visible {
    outline: 3px solid rgba(242, 189, 42, .55);
    outline-offset: 2px;
}

.dz-btn-primary {
    --btn-bg: var(--dz-navy-800);
    --btn-fg: #fff;
    --btn-bd: var(--dz-navy-800);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0));
}

.dz-btn-primary:hover {
    --btn-bg: var(--dz-navy-900);
    --btn-bd: var(--dz-navy-900);
}

.dz-btn-gold {
    --btn-bg: var(--dz-gold);
    --btn-fg: var(--dz-navy-950);
    --btn-bd: var(--dz-gold);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0));
}

.dz-btn-gold:hover {
    --btn-bg: #ffc93d;
    box-shadow: 0 10px 28px -10px rgba(242, 189, 42, .8);
}

.dz-btn-ghost {
    --btn-bg: transparent;
    --btn-bd: transparent;
    --btn-fg: var(--dz-ink-2);
}

.dz-btn-ghost:hover {
    --btn-bg: rgba(15, 26, 51, .05);
    box-shadow: none;
}

.dz-btn-glass {
    --btn-bg: rgba(255, 255, 255, .08);
    --btn-bd: rgba(255, 255, 255, .18);
    --btn-fg: #fff;
    backdrop-filter: blur(8px);
}

.dz-btn-glass:hover {
    --btn-bg: rgba(255, 255, 255, .16);
}

.dz-btn-danger {
    --btn-fg: var(--dz-danger);
    --btn-bd: #f2c9c5;
}

.dz-btn-danger:hover {
    --btn-bg: var(--dz-danger);
    --btn-fg: #fff;
    --btn-bd: var(--dz-danger);
}

.dz-btn-sm {
    min-height: 34px;
    padding: .4rem .75rem;
    border-radius: 9px;
    font-size: .82rem;
}

.dz-btn-block {
    width: 100%;
}

.dz-btn .dz-spinner {
    display: none;
}

.dz-btn.is-loading {
    pointer-events: none;
    opacity: .92;
}

.dz-btn.is-loading .dz-spinner {
    display: inline-block;
}

.dz-btn.is-loading .dz-btn-arrow {
    display: none;
}

.dz-spinner {
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: dz-spin .7s linear infinite;
}

@keyframes dz-spin {
    to { transform: rotate(360deg); }
}

.dz-icon-btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--dz-line);
    border-radius: 11px;
    background: var(--dz-surface);
    color: var(--dz-ink-2);
    cursor: pointer;
    transition: background-color .18s, color .18s;
}

.dz-icon-btn:hover {
    background: var(--dz-bg);
    color: var(--dz-ink);
}

.dz-field {
    display: grid;
    gap: .4rem;
}

.dz-label {
    color: var(--dz-ink-2);
    font-size: .84rem;
    font-weight: 650;
}

.dz-label small {
    color: var(--dz-muted);
    font-weight: 500;
}

.dz-input {
    width: 100%;
    min-height: 46px;
    padding: .7rem .9rem;
    border: 1px solid var(--dz-line-2);
    border-radius: 12px;
    background: var(--dz-surface);
    color: var(--dz-ink);
    font: 500 .95rem/1.4 var(--dz-font);
    transition: border-color .18s, box-shadow .18s, background-color .18s;
}

textarea.dz-input {
    min-height: 160px;
    resize: vertical;
}

.dz-input::placeholder {
    color: #9aa3b5;
}

.dz-input:hover {
    border-color: #bfc8d8;
}

.dz-input:focus {
    outline: none;
    border-color: var(--dz-navy-700);
    box-shadow: 0 0 0 4px rgba(29, 79, 145, .14);
}

.dz-input.input-validation-error {
    border-color: var(--dz-danger);
    box-shadow: 0 0 0 4px rgba(192, 54, 44, .1);
}

.dz-field-error,
.field-validation-error {
    color: var(--dz-danger);
    font-size: .8rem;
    font-weight: 600;
}

.field-validation-valid {
    display: none;
}

.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---------- Giriş ekranı ---------- */

.dz-login {
    min-height: 100vh;
    margin: 0;
    background: var(--dz-navy-950);
    color: var(--dz-ink);
    font-family: var(--dz-font);
    -webkit-font-smoothing: antialiased;
}

.dz-login-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(420px, .9fr);
    min-height: 100vh;
}

.dz-login-stage {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 56px);
    color: #fff;
    background:
        radial-gradient(1200px 700px at 70% 45%, rgba(29, 79, 145, .55), transparent 60%),
        radial-gradient(600px 420px at 85% 85%, rgba(242, 189, 42, .16), transparent 70%),
        radial-gradient(900px 600px at 0% 0%, rgba(16, 42, 99, .9), transparent 70%),
        linear-gradient(160deg, #0b1c46 0%, #071230 55%, #040b1d 100%);
    isolation: isolate;
}

.dz-login-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 20%, transparent 75%);
}

.dz-stage-canvas {
    position: absolute;
    inset: 0 0 34% 0;
    mask-image: linear-gradient(#000 78%, transparent);
    -webkit-mask-image: linear-gradient(#000 78%, transparent);
    z-index: 0;
    opacity: 0;
    transition: opacity 1.2s var(--dz-ease);
}

.dz-stage-canvas.is-ready,
.dz-stage-canvas.is-fallback {
    opacity: 1;
}

.dz-stage-canvas canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* WebGL yoksa: CSS ile dönen 3B kutu. */
.dz-stage-canvas.is-fallback::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 58%;
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
    border-radius: 22px;
    background:
        linear-gradient(90deg, transparent 42%, var(--dz-gold) 42% 58%, transparent 58%),
        linear-gradient(transparent 42%, var(--dz-gold) 42% 58%, transparent 58%),
        linear-gradient(145deg, #1d4f91, #0b1c46);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .2);
    transform: perspective(700px) rotateX(18deg) rotateY(-28deg);
    animation: dz-float 6s ease-in-out infinite;
}

@keyframes dz-float {
    50% { transform: perspective(700px) rotateX(10deg) rotateY(-12deg) translateY(-14px); }
}

.dz-stage-top,
.dz-stage-copy,
.dz-stage-foot {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.dz-stage-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dz-stage-logo {
    width: 132px;
    height: auto;
}

.dz-stage-tag {
    padding: .3rem .7rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .8);
    font-size: .75rem;
    font-weight: 650;
    letter-spacing: .04em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.dz-stage-copy {
    max-width: 520px;
    margin-top: auto;
}

.dz-stage-copy h1,
.dz-stage-copy p {
    animation: dz-rise .9s var(--dz-ease) .15s backwards;
}

.dz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1rem;
    color: var(--dz-gold);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dz-stage-copy h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.1rem, 3.6vw, 3.4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.dz-stage-copy h1 em {
    font-style: normal;
    background: linear-gradient(92deg, #ffd56a, var(--dz-gold) 45%, #fff1c2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dz-stage-copy p {
    margin: 0 0 1.6rem;
    color: rgba(255, 255, 255, .72);
    font-size: 1.02rem;
    line-height: 1.6;
}

.dz-stage-points {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dz-stage-points li {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .8rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(10, 26, 64, .55);
    color: rgba(255, 255, 255, .88);
    font-size: .84rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.dz-stage-points .dz-icon {
    color: var(--dz-gold);
}

.dz-stage-foot {
    margin-top: 32px;
    color: rgba(255, 255, 255, .45);
    font-size: .8rem;
}

.dz-login-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: clamp(28px, 5vw, 64px);
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(242, 189, 42, .1), transparent 70%),
        radial-gradient(500px 400px at 0% 100%, rgba(29, 79, 145, .08), transparent 70%),
        #f7f8fc;
}

.dz-login-card {
    width: 100%;
    max-width: 400px;
    animation: dz-rise .8s var(--dz-ease) .05s backwards;
}

@keyframes dz-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.dz-login-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    background: linear-gradient(145deg, var(--dz-navy-700), var(--dz-navy-900));
    color: var(--dz-gold);
    font-size: 1.35rem;
    box-shadow: 0 14px 30px -12px rgba(16, 42, 99, .7), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.dz-login-card h2 {
    margin: 0 0 .4rem;
    color: var(--dz-ink);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.dz-login-sub {
    margin: 0 0 1.8rem;
    color: var(--dz-muted);
    font-size: .98rem;
}

.dz-login-form {
    display: grid;
    gap: 1.05rem;
}

.dz-input-wrap {
    position: relative;
}

.dz-input-wrap > .dz-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    color: #8c96aa;
    transform: translateY(-50%);
    pointer-events: none;
    transition: color .18s;
}

.dz-input-wrap .dz-input {
    min-height: 52px;
    padding-left: 44px;
}

.dz-input-wrap:focus-within > .dz-icon {
    color: var(--dz-navy-700);
}

.dz-input-wrap.has-toggle .dz-input {
    padding-right: 50px;
}

.dz-pass-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #7d879b;
    transform: translateY(-50%);
    cursor: pointer;
}

.dz-pass-toggle:hover {
    background: var(--dz-bg);
    color: var(--dz-ink);
}

.dz-pass-toggle .i-hide,
.dz-pass-toggle.is-on .i-show {
    display: none;
}

.dz-pass-toggle.is-on .i-hide {
    display: inline;
}

.dz-caps {
    display: none;
    align-items: center;
    gap: .35rem;
    color: #a86a00;
    font-size: .8rem;
    font-weight: 650;
}

.dz-caps.is-on {
    display: flex;
}

.dz-alert {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .8rem .95rem;
    border: 1px solid #f3c4bf;
    border-radius: 12px;
    background: var(--dz-danger-100);
    color: #8e2219;
    font-size: .9rem;
    font-weight: 600;
    animation: dz-shake .45s var(--dz-ease);
}

.dz-alert .dz-icon {
    margin-top: .1rem;
}

@keyframes dz-shake {
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.dz-login-submit {
    min-height: 54px;
    margin-top: .35rem;
    border-radius: 13px;
    font-size: 1rem;
    box-shadow: 0 16px 34px -16px rgba(16, 42, 99, .9);
}

.dz-login-submit .dz-btn-arrow {
    transition: transform .2s var(--dz-ease);
}

.dz-login-submit:hover .dz-btn-arrow {
    transform: translateX(4px);
}

.dz-login-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.6rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--dz-line);
    font-size: .86rem;
}

.dz-login-meta a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--dz-ink-2);
    font-weight: 650;
    text-decoration: none;
}

.dz-login-meta a:hover {
    color: var(--dz-navy-800);
}

.dz-login-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--dz-muted);
}

.dz-login-meta span .dz-icon {
    color: var(--dz-success);
}

@media (max-width: 991.98px) {
    .dz-login-grid {
        grid-template-columns: 1fr;
    }

    .dz-login-stage {
        min-height: 46vh;
        padding: 22px 20px 64px;
    }

    .dz-stage-copy h1 {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .dz-stage-canvas {
        inset: 0;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .dz-stage-copy,
    .dz-stage-foot {
        display: none;
    }

    .dz-login-panel {
        justify-content: flex-start;
        margin-top: -36px;
        padding: 32px 20px 40px;
        border-radius: 26px 26px 0 0;
        box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, .5);
    }
}

@media (max-width: 991.98px) and (max-height: 700px) {
    .dz-login-stage {
        min-height: 38vh;
    }
}

/* ---------- Panel iskeleti ---------- */

.dz-admin {
    min-height: 100vh;
    margin: 0;
    background: var(--dz-bg);
    color: var(--dz-ink);
    font-family: var(--dz-font);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

.dz-admin a {
    text-decoration: none;
}

.dz-shell {
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    min-height: 100vh;
}

.dz-sidebar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 22px 16px 16px;
    overflow-y: auto;
    color: rgba(255, 255, 255, .75);
    background:
        radial-gradient(420px 300px at 0% 0%, rgba(29, 79, 145, .45), transparent 70%),
        radial-gradient(300px 260px at 100% 100%, rgba(242, 189, 42, .1), transparent 70%),
        linear-gradient(180deg, #0b1c46, #061131);
    border-right: 1px solid rgba(255, 255, 255, .06);
}

.dz-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 8px 22px;
}

.dz-brand img {
    width: 118px;
    height: auto;
}

.dz-brand-tag {
    padding: .2rem .5rem;
    border-radius: 6px;
    background: rgba(242, 189, 42, .14);
    color: var(--dz-gold);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dz-nav-label {
    margin: 18px 12px 8px;
    color: rgba(255, 255, 255, .38);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dz-nav {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dz-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 11px;
    color: rgba(255, 255, 255, .72);
    font-size: .92rem;
    font-weight: 600;
    transition: background-color .18s, color .18s;
}

.dz-nav a .dz-icon {
    width: 19px;
    height: 19px;
    opacity: .85;
}

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

.dz-nav a.is-active {
    background: linear-gradient(90deg, rgba(242, 189, 42, .18), rgba(242, 189, 42, .04));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(242, 189, 42, .2);
}

.dz-nav a.is-active::before {
    content: "";
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: -16px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--dz-gold);
    box-shadow: 0 0 14px rgba(242, 189, 42, .8);
}

.dz-nav a.is-active .dz-icon {
    color: var(--dz-gold);
    opacity: 1;
}

.dz-nav-badge {
    margin-left: auto;
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--dz-gold);
    color: var(--dz-navy-950);
    font-size: .72rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 0 0 3px rgba(242, 189, 42, .18);
}

.dz-nav-ext {
    margin-left: auto;
    width: 14px !important;
    height: 14px !important;
    opacity: .5 !important;
}

.dz-sidebar-foot {
    margin-top: auto;
    padding-top: 18px;
}

.dz-user {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
}

.dz-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 11px;
    background: linear-gradient(145deg, var(--dz-gold), #e49b06);
    color: var(--dz-navy-950);
    font-weight: 800;
    text-transform: uppercase;
}

.dz-user-text {
    display: grid;
    min-width: 0;
    line-height: 1.25;
}

.dz-user-text strong {
    overflow: hidden;
    color: #fff;
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dz-user-text small {
    color: rgba(255, 255, 255, .5);
    font-size: .76rem;
}

.dz-user .dz-logout {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    border-radius: 10px;
    color: rgba(255, 255, 255, .6);
    transition: background-color .18s, color .18s;
}

.dz-user .dz-logout:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.dz-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dz-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 68px;
    padding: 12px clamp(18px, 3vw, 36px);
    border-bottom: 1px solid rgba(229, 233, 241, .8);
    background: rgba(243, 245, 250, .82);
    backdrop-filter: saturate(160%) blur(14px);
}

.dz-menu-btn {
    display: none;
}

.dz-crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--dz-muted);
    font-size: .88rem;
    font-weight: 600;
}

.dz-crumbs strong {
    overflow: hidden;
    color: var(--dz-ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dz-crumbs .dz-sep {
    color: #b6bfce;
}

.dz-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.dz-date {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--dz-muted);
    font-size: .85rem;
    font-weight: 600;
}

.dz-main {
    flex: 1;
    width: 100%;
    padding: clamp(20px, 3vw, 36px);
}

.dz-backdrop {
    display: none;
}

@media (max-width: 991.98px) {
    .dz-shell {
        grid-template-columns: 1fr;
    }

    .dz-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 280px;
        transform: translateX(-102%);
        transition: transform .3s var(--dz-ease);
        box-shadow: var(--dz-shadow-lg);
    }

    .dz-nav a.is-active::before {
        left: -16px;
    }

    body.dz-nav-open .dz-sidebar {
        transform: none;
    }

    .dz-backdrop {
        position: fixed;
        inset: 0;
        z-index: 35;
        display: block;
        background: rgba(5, 13, 34, .5);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s;
    }

    body.dz-nav-open .dz-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .dz-menu-btn {
        display: inline-grid;
    }

    .dz-date {
        display: none;
    }
}

/* ---------- Bildirimler ---------- */

.dz-toasts {
    position: fixed;
    top: 84px;
    right: 24px;
    z-index: 60;
    display: grid;
    gap: 10px;
    width: min(400px, calc(100vw - 32px));
}

.dz-toast {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 14px 14px 16px;
    border: 1px solid var(--dz-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    color: var(--dz-ink);
    font-size: .9rem;
    font-weight: 600;
    box-shadow: var(--dz-shadow-lg);
    backdrop-filter: blur(10px);
    animation: dz-toast-in .45s var(--dz-ease) backwards;
}

.dz-toast > .dz-icon {
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.dz-toast.is-success > .dz-icon {
    color: var(--dz-success);
}

.dz-toast.is-error > .dz-icon {
    color: var(--dz-danger);
}

.dz-toast span {
    flex: 1;
}

.dz-toast button {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--dz-muted);
    cursor: pointer;
}

.dz-toast button:hover {
    background: var(--dz-bg);
}

.dz-toast.is-leaving {
    animation: dz-toast-out .3s var(--dz-ease) both;
}

@keyframes dz-toast-in {
    from { opacity: 0; transform: translateY(-10px) scale(.97); }
}

@keyframes dz-toast-out {
    to { opacity: 0; transform: translateX(20px); }
}

/* ---------- Sayfa başlığı, kartlar ---------- */

.dz-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.dz-page-head h1 {
    margin: 0;
    color: var(--dz-ink);
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.03em;
}

.dz-page-head p {
    margin: .3rem 0 0;
    color: var(--dz-muted);
}

.dz-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dz-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .5rem;
    color: var(--dz-muted);
    font-size: .85rem;
    font-weight: 650;
}

.dz-back:hover {
    color: var(--dz-navy-800);
}

.dz-card {
    border: 1px solid var(--dz-line);
    border-radius: var(--dz-radius);
    background: var(--dz-surface);
    box-shadow: var(--dz-shadow-sm);
}

.dz-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 0;
}

.dz-card-head h2 {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    color: var(--dz-ink);
    font-size: 1.02rem;
    font-weight: 750;
    letter-spacing: -.01em;
}

.dz-card-head h2 .dz-icon {
    color: var(--dz-navy-700);
}

.dz-card-head a {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--dz-navy-700);
    font-size: .85rem;
    font-weight: 700;
}

.dz-card-body {
    padding: 18px 20px 20px;
}

.dz-reveal {
    animation: dz-rise .6s var(--dz-ease) backwards;
}

.dz-reveal:nth-child(2) { animation-delay: .05s; }
.dz-reveal:nth-child(3) { animation-delay: .1s; }
.dz-reveal:nth-child(4) { animation-delay: .15s; }
.dz-reveal:nth-child(5) { animation-delay: .2s; }
.dz-reveal:nth-child(6) { animation-delay: .25s; }

/* ---------- Pano ---------- */

.dz-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    min-height: 260px;
    margin-bottom: 22px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(520px 300px at 78% 50%, rgba(29, 79, 145, .75), transparent 70%),
        radial-gradient(360px 220px at 95% 100%, rgba(242, 189, 42, .2), transparent 70%),
        linear-gradient(135deg, #0d2257 0%, #081638 60%, #050d22 100%);
    box-shadow: var(--dz-shadow-lg);
    isolation: isolate;
}

.dz-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
}

.dz-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3.5vw, 40px);
}

.dz-hero-copy .dz-eyebrow {
    margin-bottom: .7rem;
}

.dz-hero-copy h1 {
    margin: 0 0 .6rem;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.dz-hero-copy h1 em {
    font-style: normal;
    color: var(--dz-gold);
}

.dz-hero-copy p {
    max-width: 520px;
    margin: 0 0 1.4rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.6;
}

.dz-hero-copy p strong {
    color: #fff;
}

.dz-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dz-hero-actions form {
    margin: 0;
}

.dz-hero-scene {
    position: relative;
    min-height: 240px;
    opacity: 0;
    transition: opacity 1s var(--dz-ease);
}

.dz-hero-scene.is-ready,
.dz-hero-scene.is-fallback {
    opacity: 1;
}

.dz-hero-scene canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.dz-hero-scene.is-fallback::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    border-radius: 18px;
    background:
        linear-gradient(90deg, transparent 42%, var(--dz-gold) 42% 58%, transparent 58%),
        linear-gradient(transparent 42%, var(--dz-gold) 42% 58%, transparent 58%),
        linear-gradient(145deg, #1d4f91, #0b1c46);
    transform: perspective(600px) rotateX(16deg) rotateY(-26deg);
    animation: dz-float 6s ease-in-out infinite;
}

.dz-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.dz-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    overflow: hidden;
    color: var(--dz-ink);
    transition: transform .25s var(--dz-ease), box-shadow .25s var(--dz-ease), border-color .25s;
    transform-style: preserve-3d;
}

a.dz-stat:hover {
    color: var(--dz-ink);
    border-color: var(--dz-line-2);
    box-shadow: var(--dz-shadow);
}

.dz-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dz-stat-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--dz-navy-100);
    color: var(--dz-navy-700);
}

.dz-stat-icon .dz-icon {
    width: 21px;
    height: 21px;
}

.dz-stat-go {
    color: #b3bccc;
    transition: transform .2s var(--dz-ease), color .2s;
}

a.dz-stat:hover .dz-stat-go {
    color: var(--dz-navy-700);
    transform: translateX(3px);
}

.dz-stat strong {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.dz-stat span {
    color: var(--dz-muted);
    font-size: .86rem;
    font-weight: 600;
}

.dz-stat.is-accent {
    border-color: rgba(242, 189, 42, .55);
    background: linear-gradient(160deg, #fffaf0, #fff 60%);
}

.dz-stat.is-accent .dz-stat-icon {
    background: var(--dz-gold);
    color: var(--dz-navy-950);
    box-shadow: 0 8px 18px -8px rgba(242, 189, 42, .9);
}

.dz-stat.is-accent::after {
    content: "";
    position: absolute;
    top: 13px;
    left: 54px;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--dz-gold);
    box-shadow: 0 0 0 0 rgba(242, 189, 42, .6);
    animation: dz-ping 2s infinite;
}

@keyframes dz-ping {
    70% { box-shadow: 0 0 0 10px rgba(242, 189, 42, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 189, 42, 0); }
}

.dz-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.dz-stack {
    display: grid;
    gap: 22px;
}

.dz-feed {
    margin: 0;
    padding: 6px 8px 10px;
    list-style: none;
}

.dz-feed a {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 12px;
    border-radius: 12px;
    color: var(--dz-ink);
    transition: background-color .18s;
}

.dz-feed a:hover {
    background: var(--dz-bg);
}

.dz-initials {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 12px;
    background: var(--dz-navy-100);
    color: var(--dz-navy-800);
    font-size: .85rem;
    font-weight: 800;
    text-transform: uppercase;
}

.dz-initials.is-unread::after {
    content: "";
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--dz-gold);
}

.dz-feed-body {
    display: grid;
    flex: 1;
    gap: 2px;
    min-width: 0;
}

.dz-feed-line {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.dz-feed-line strong {
    overflow: hidden;
    font-size: .93rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dz-feed-line time {
    margin-left: auto;
    flex: none;
    color: var(--dz-muted);
    font-size: .78rem;
    font-weight: 600;
}

.dz-feed-text {
    overflow: hidden;
    color: var(--dz-muted);
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dz-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .18rem .55rem;
    border-radius: 999px;
    background: var(--dz-navy-100);
    color: var(--dz-navy-800);
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.dz-chip.is-gold {
    background: var(--dz-gold-100);
    color: #7a5600;
}

.dz-empty {
    display: grid;
    justify-items: center;
    gap: .4rem;
    padding: 36px 20px;
    color: var(--dz-muted);
    text-align: center;
}

.dz-empty-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: .4rem;
    border-radius: 16px;
    background: var(--dz-bg);
    color: var(--dz-navy-700);
    font-size: 1.4rem;
}

.dz-empty strong {
    color: var(--dz-ink);
    font-size: 1rem;
}

.dz-empty p {
    max-width: 340px;
    margin: 0;
    font-size: .9rem;
}

.dz-status {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 750;
}

.dz-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.dz-status.is-ok {
    background: var(--dz-success-100);
    color: var(--dz-success);
}

.dz-status.is-error {
    background: var(--dz-danger-100);
    color: var(--dz-danger);
}

.dz-status.is-idle {
    background: var(--dz-bg);
    color: var(--dz-muted);
}

.dz-kv {
    display: grid;
    gap: 0;
    margin: 0;
}

.dz-kv div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--dz-line);
    font-size: .88rem;
}

.dz-kv div:last-child {
    border-bottom: 0;
}

.dz-kv dt {
    color: var(--dz-muted);
    font-weight: 600;
}

.dz-kv dd {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--dz-ink);
    font-weight: 650;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dz-kv dd small {
    color: var(--dz-muted);
    font-weight: 600;
}

.dz-error-box {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--dz-danger-100);
    color: #8e2219;
    font-size: .82rem;
    font-weight: 600;
    word-break: break-word;
}

.dz-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dz-quick a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--dz-line);
    border-radius: 13px;
    color: var(--dz-ink);
    font-size: .88rem;
    font-weight: 700;
    transition: border-color .2s, background-color .2s, transform .2s var(--dz-ease);
}

.dz-quick a .dz-icon {
    width: 20px;
    height: 20px;
    color: var(--dz-navy-700);
}

.dz-quick a:hover {
    border-color: rgba(242, 189, 42, .7);
    background: #fffcf3;
    transform: translateY(-2px);
}

@media (max-width: 1199.98px) {
    .dz-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dz-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .dz-hero {
        grid-template-columns: 1fr;
    }

    .dz-hero-scene {
        order: -1;
        min-height: 0;
        height: 170px;
        margin-bottom: -28px;
    }

    .dz-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dz-stat strong {
        font-size: 1.55rem;
    }
}

/* ---------- Mesajlar ---------- */

.dz-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.dz-segment {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--dz-line);
    border-radius: 12px;
    background: var(--dz-surface);
}

.dz-segment button {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .85rem;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--dz-muted);
    font: 650 .85rem var(--dz-font);
    cursor: pointer;
    transition: background-color .18s, color .18s;
}

.dz-segment button em {
    padding: 0 .4rem;
    border-radius: 6px;
    background: var(--dz-bg);
    font-size: .74rem;
    font-style: normal;
}

.dz-segment button.is-active {
    background: var(--dz-navy-800);
    color: #fff;
}

.dz-segment button.is-active em {
    background: rgba(255, 255, 255, .16);
}

.dz-search {
    position: relative;
    flex: 1;
    max-width: 340px;
}

.dz-search .dz-icon {
    position: absolute;
    top: 50%;
    left: 13px;
    color: #8c96aa;
    transform: translateY(-50%);
}

.dz-search .dz-input {
    min-height: 42px;
    padding-left: 40px;
}

.dz-messages {
    display: grid;
    gap: 14px;
}

.dz-message {
    padding: 20px;
    scroll-margin-top: 90px;
    transition: box-shadow .2s, border-color .2s;
}

.dz-message.is-unread {
    border-color: rgba(242, 189, 42, .6);
    box-shadow: inset 4px 0 0 var(--dz-gold), var(--dz-shadow-sm);
}

.dz-message:target {
    box-shadow: 0 0 0 3px rgba(29, 79, 145, .25), var(--dz-shadow);
}

.dz-message-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
}

.dz-message-who {
    display: grid;
    flex: 1;
    gap: 4px;
    min-width: 200px;
}

.dz-message-who h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 750;
}

.dz-message-who h2 small {
    color: var(--dz-muted);
    font-size: .88rem;
    font-weight: 600;
}

.dz-message-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--dz-muted);
    font-size: .8rem;
    font-weight: 600;
}

.dz-message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dz-message-actions form {
    margin: 0;
}

.dz-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 0 54px;
}

.dz-contact-row a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .38rem .7rem;
    border: 1px solid var(--dz-line);
    border-radius: 9px;
    color: var(--dz-ink-2);
    font-size: .84rem;
    font-weight: 650;
    transition: border-color .18s, color .18s, background-color .18s;
}

.dz-contact-row a:hover {
    border-color: var(--dz-navy-700);
    color: var(--dz-navy-800);
}

.dz-contact-row a.is-wa:hover {
    border-color: #1fa855;
    background: #effaf3;
    color: #137a3b;
}

.dz-message-product {
    margin: 12px 0 0 54px;
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--dz-gold-100);
    color: #5e4300;
    font-size: .88rem;
}

.dz-message-body {
    margin: 12px 0 0 54px;
    color: var(--dz-ink-2);
    line-height: 1.65;
    white-space: pre-line;
    word-break: break-word;
}

.dz-no-match {
    display: none;
}

.dz-no-match.is-on {
    display: block;
}

@media (max-width: 575.98px) {
    .dz-contact-row,
    .dz-message-product,
    .dz-message-body {
        margin-left: 0;
    }

    .dz-search {
        max-width: none;
    }
}

/* ---------- Slider ve VIP çanta listeleri ---------- */

.dz-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
    gap: 18px;
}

.dz-gallery.is-products {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
}

.dz-tile {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .25s var(--dz-ease), box-shadow .25s var(--dz-ease);
}

.dz-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--dz-shadow);
}

.dz-tile-media {
    position: relative;
    aspect-ratio: 7 / 2;
    overflow: hidden;
    background: linear-gradient(135deg, #e9edf6, #f6f8fc);
}

.dz-gallery.is-products .dz-tile-media {
    aspect-ratio: 1 / 1;
    background: #fff;
    border-bottom: 1px solid var(--dz-line);
}

.dz-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--dz-ease);
}

.dz-gallery.is-products .dz-tile-media img {
    padding: 14px;
    object-fit: contain;
}

.dz-tile:hover .dz-tile-media img {
    transform: scale(1.04);
}

.dz-tile-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: .25rem .6rem;
    border-radius: 8px;
    background: rgba(5, 13, 34, .72);
    color: #fff;
    font-size: .75rem;
    font-weight: 750;
    backdrop-filter: blur(6px);
}

.dz-tile-badge.is-right {
    right: 12px;
    left: auto;
}

.dz-tile-body {
    display: grid;
    flex: 1;
    gap: 4px;
    padding: 15px 16px 6px;
}

.dz-tile-body strong {
    color: var(--dz-ink);
    font-size: .97rem;
    font-weight: 750;
    line-height: 1.35;
}

.dz-tile-body span {
    color: var(--dz-muted);
    font-size: .86rem;
}

.dz-price {
    color: var(--dz-navy-800) !important;
    font-size: 1.05rem !important;
    font-weight: 800;
}

.dz-tile-foot {
    display: flex;
    gap: 8px;
    padding: 12px 16px 16px;
}

.dz-tile-foot form {
    margin: 0;
}

.dz-tile-foot .dz-btn:first-child {
    flex: 1;
}

/* ---------- Formlar ---------- */

.dz-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
    gap: 22px;
    align-items: start;
}

.dz-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dz-fields .is-wide {
    grid-column: 1 / -1;
}

.dz-drop {
    position: relative;
    display: grid;
    justify-items: center;
    gap: .35rem;
    padding: 30px 18px;
    border: 2px dashed var(--dz-line-2);
    border-radius: 14px;
    background: var(--dz-bg);
    color: var(--dz-muted);
    font-size: .85rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}

.dz-drop:hover,
.dz-drop.is-over {
    border-color: var(--dz-navy-700);
    background: #eef3fd;
}

.dz-drop input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.dz-drop strong {
    color: var(--dz-ink);
    font-size: .92rem;
}

.dz-drop-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: .3rem;
    border-radius: 14px;
    background: #fff;
    color: var(--dz-navy-700);
    font-size: 1.3rem;
    box-shadow: var(--dz-shadow-sm);
}

.dz-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.dz-previews:empty {
    display: none;
}

.dz-previews figure {
    position: relative;
    margin: 0;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--dz-line);
    border-radius: 11px;
    background: #fff;
    animation: dz-rise .35s var(--dz-ease) backwards;
}

.dz-previews img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dz-previews figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 3px 6px;
    overflow: hidden;
    background: rgba(5, 13, 34, .65);
    color: #fff;
    font-size: .66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dz-current {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--dz-line);
    border-radius: 12px;
}

.dz-current img {
    display: block;
    width: 100%;
    height: auto;
}

.dz-current figcaption {
    padding: 8px 12px;
    color: var(--dz-muted);
    font-size: .8rem;
    font-weight: 600;
}

.dz-savebar {
    position: sticky;
    bottom: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
    padding: 12px;
    border: 1px solid var(--dz-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--dz-shadow-lg);
    backdrop-filter: blur(12px);
}

.dz-savebar > span {
    margin-right: auto;
    padding-left: 6px;
    color: var(--dz-muted);
    font-size: .85rem;
    font-weight: 600;
}

.dz-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.dz-image-grid figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--dz-line);
    border-radius: 13px;
    background: #fff;
}

.dz-image-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 10px;
    object-fit: contain;
}

.dz-image-grid form {
    margin: 0;
    padding: 0 10px 10px;
}

.dz-image-grid .dz-btn {
    width: 100%;
}

@media (max-width: 991.98px) {
    .dz-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .dz-fields {
        grid-template-columns: 1fr;
    }

    .dz-savebar > span {
        display: none;
    }

    .dz-savebar .dz-btn {
        flex: 1;
    }
}

/* Animasyonu kapalı bilgisayarlar: hareket durmaz, büyük kayma ve eğim küçülür, yerini saydamlık alır.
   Aynı adlı @keyframes bu blokta yeniden tanımlanır; yalnız hareket azaltma açıkken geçerlidir. */
@media (prefers-reduced-motion: reduce) {
    @keyframes dz-rise {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes dz-float {
        50% { transform: perspective(700px) rotateX(3deg) rotateY(-4deg) translateY(-4px); }
    }

    @keyframes dz-shake {
        20%, 60% { transform: translateX(-2px); }
        40%, 80% { transform: translateX(2px); }
    }

    @keyframes dz-toast-in {
        from { opacity: 0; }
    }

    @keyframes dz-toast-out {
        to { opacity: 0; }
    }
}

.dz-alert.validation-summary-valid {
    display: none;
}

.dz-alert ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

form > .dz-alert {
    margin-bottom: 18px;
}

/* ---------- Ayarlar ---------- */

.dz-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.dz-help {
    margin: 0 0 14px;
    color: var(--dz-muted);
    font-size: .85rem;
    line-height: 1.55;
}

.dz-field .dz-help,
.dz-card-body > .dz-help:last-child {
    margin: 6px 0 0;
}

textarea.dz-input.dz-input-short {
    min-height: 84px;
}

.dz-hours-grid {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px 16px;
    align-items: end;
}

.dz-hours-grid > strong {
    display: grid;
    align-self: center;
    padding-top: 20px;
    color: var(--dz-ink);
    font-size: .9rem;
}

.dz-hours-grid > strong small {
    color: var(--dz-muted);
    font-size: .76rem;
    font-weight: 600;
}

.dz-switch {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--dz-line);
    border-radius: 13px;
    background: var(--dz-bg);
    cursor: pointer;
}

.dz-switch.is-compact {
    padding: 10px 12px;
}

.dz-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dz-switch-track {
    position: relative;
    flex: none;
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: #c9d0dd;
    transition: background-color .2s;
}

.dz-switch-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 26, 51, .3);
    transition: transform .25s var(--dz-ease);
}

.dz-switch input:checked + .dz-switch-track {
    background: var(--dz-success);
}

.dz-switch input:checked + .dz-switch-track::after {
    transform: translateX(20px);
}

.dz-switch input:focus-visible + .dz-switch-track {
    outline: 3px solid rgba(242, 189, 42, .55);
    outline-offset: 2px;
}

.dz-switch strong {
    display: block;
    color: var(--dz-ink);
    font-size: .92rem;
}

.dz-switch small {
    color: var(--dz-muted);
    font-size: .8rem;
}

.dz-nav-dot {
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
}

.dz-callout {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding: 14px 18px;
    border: 1px solid rgba(242, 189, 42, .55);
    border-radius: 16px;
    background: linear-gradient(100deg, #fff8e6, #fff 70%);
    color: var(--dz-ink);
    transition: box-shadow .2s, transform .2s var(--dz-ease);
}

.dz-callout:hover {
    color: var(--dz-ink);
    box-shadow: var(--dz-shadow);
    transform: translateY(-1px);
}

.dz-callout-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 12px;
    background: var(--dz-gold);
    color: var(--dz-navy-950);
}

.dz-callout strong {
    display: block;
    font-size: .95rem;
}

.dz-callout small {
    color: var(--dz-muted);
    font-size: .85rem;
}

.dz-callout-go {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-left: auto;
    color: var(--dz-navy-700);
    font-size: .88rem;
    font-weight: 750;
    white-space: nowrap;
}

/* Vitrin kutuları */

.dz-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr));
    gap: 10px;
}

.dz-tile-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--dz-line);
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.dz-tile-row:hover {
    border-color: var(--dz-line-2);
    box-shadow: var(--dz-shadow-sm);
}

.dz-tile-row.is-new {
    border-style: dashed;
    border-color: var(--dz-gold);
    animation: dz-rise .35s var(--dz-ease) backwards;
}

.dz-tile-thumb {
    position: relative;
    display: block;
    width: 76px;
    height: 76px;
    overflow: hidden;
    border-radius: 11px;
    background: var(--dz-bg);
    cursor: pointer;
}

.dz-tile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dz-tile-thumb.is-empty img {
    display: none;
}

.dz-tile-thumb > span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(5, 13, 34, .45);
    color: #fff;
    opacity: 0;
    transition: opacity .2s;
}

.dz-tile-thumb.is-empty > span {
    background: transparent;
    color: var(--dz-navy-700);
    opacity: 1;
}

.dz-tile-thumb:hover > span {
    opacity: 1;
}

.dz-tile-thumb input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.dz-tile-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.dz-tile-tools {
    display: flex;
    gap: 6px;
}

.dz-icon-btn.is-danger:hover {
    border-color: #f2c9c5;
    background: var(--dz-danger-100);
    color: var(--dz-danger);
}

.dz-code-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.dz-code-list li {
    display: flex;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--dz-success-100);
    font-size: .84rem;
}

.dz-code-list li strong {
    color: var(--dz-success);
}

.dz-code-list li span {
    overflow: hidden;
    color: var(--dz-ink-2);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dz-code-list li.is-missing {
    background: var(--dz-danger-100);
}

.dz-code-list li.is-missing strong,
.dz-code-list li.is-missing span {
    color: var(--dz-danger);
}

/* Katalog */

.dz-catalog-now {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.dz-catalog-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 80px;
    flex: none;
    border-radius: 10px 22px 10px 10px;
    background: linear-gradient(160deg, #e2483d, #a61f16);
    color: #fff;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .06em;
    box-shadow: 0 14px 26px -14px rgba(166, 31, 22, .8);
}

.dz-catalog-now strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
}

.dz-catalog-now div > span {
    color: var(--dz-muted);
    font-size: .88rem;
}

.dz-copy-row,
.dz-inline {
    display: flex;
    gap: 8px;
}

.dz-copy-row {
    margin-bottom: 20px;
}

.dz-copy-row .dz-input {
    min-height: 40px;
    color: var(--dz-ink-2);
    font-size: .85rem;
}

.dz-inline-form {
    padding-top: 18px;
    border-top: 1px dashed var(--dz-line);
}

.dz-inline .dz-input {
    flex: 1;
}

.dz-progress {
    margin-top: 14px;
}

.dz-progress-bar {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--dz-bg);
}

.dz-progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dz-navy-700), var(--dz-gold));
    transition: width .3s var(--dz-ease);
}

.dz-progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: var(--dz-muted);
    font-size: .82rem;
    font-weight: 600;
}

.dz-progress-text strong {
    color: var(--dz-ink);
}

.dz-tips {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
    color: var(--dz-ink-2);
    font-size: .88rem;
    line-height: 1.55;
}

.dz-strength {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--dz-bg);
}

.dz-strength span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--dz-danger);
    transition: width .25s, background-color .25s;
}

/* Geniş ekranda pano iki yerine üç sütun */
@media (min-width: 1600px) {
    .dz-grid-2 {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    }

    .dz-grid-2 > .dz-stack {
        display: contents;
    }
}

@media (max-width: 1199.98px) {
    .dz-settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .dz-tile-row {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .dz-tile-thumb {
        width: 64px;
        height: 64px;
    }

    .dz-tile-fields {
        grid-template-columns: 1fr;
    }

    .dz-tile-tools {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .dz-hours-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dz-hours-grid > strong {
        grid-column: 1 / -1;
        padding-top: 4px;
    }

    .dz-callout {
        flex-wrap: wrap;
    }

    .dz-callout-go {
        margin-left: 54px;
    }

    .dz-copy-row {
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .dz-crumbs > span {
        display: none;
    }
}
