:root {
    --tk-brand: #1F4E79;
    --tk-brand-600: #193f62;
    --tk-brand-50: #eaf1f8;
    --tk-sidebar-width: 244px;
    --tk-bg: #f5f7fb;
    --tk-border: #e3e8ef;
    --tk-muted: #64748b;
}

body {
    background: var(--tk-bg);
    color: #1e293b;
    font-size: .93rem;
}

a {
    color: var(--tk-brand);
}

.btn-primary {
    --bs-btn-bg: var(--tk-brand);
    --bs-btn-border-color: var(--tk-brand);
    --bs-btn-hover-bg: var(--tk-brand-600);
    --bs-btn-hover-border-color: var(--tk-brand-600);
    --bs-btn-active-bg: var(--tk-brand-600);
    --bs-btn-active-border-color: var(--tk-brand-600);
    --bs-btn-disabled-bg: var(--tk-brand);
    --bs-btn-disabled-border-color: var(--tk-brand);
}

.btn-outline-primary {
    --bs-btn-color: var(--tk-brand);
    --bs-btn-border-color: var(--tk-brand);
    --bs-btn-hover-bg: var(--tk-brand);
    --bs-btn-hover-border-color: var(--tk-brand);
    --bs-btn-active-bg: var(--tk-brand);
}

.text-brand {
    color: var(--tk-brand) !important;
}

.bg-brand-50 {
    background: var(--tk-brand-50) !important;
}

/* ---------- Kabuk ---------- */
.tk-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--tk-sidebar-width);
    background: #fff;
    border-right: 1px solid var(--tk-border);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease;
    overflow-y: auto;
}

.tk-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 1rem 1.25rem;
    color: var(--tk-brand);
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    border-bottom: 1px solid var(--tk-border);
}

.tk-brand small {
    display: block;
    font-weight: 500;
    font-size: .72rem;
    color: var(--tk-muted);
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-brand .tk-logo-mark {
    width: 34px;
    height: 34px;
    border-radius: .55rem;
    background: var(--tk-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.tk-nav {
    list-style: none;
    padding: .75rem .6rem;
    margin: 0;
}

.tk-nav a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .55rem .8rem;
    border-radius: .5rem;
    color: #334155;
    text-decoration: none;
    margin-bottom: 2px;
    font-weight: 500;
}

.tk-nav a .bi {
    font-size: 1.05rem;
    color: #64748b;
}

.tk-nav a:hover {
    background: #f1f5f9;
}

.tk-nav a.active {
    background: var(--tk-brand-50);
    color: var(--tk-brand);
}

.tk-nav a.active .bi {
    color: var(--tk-brand);
}

.tk-nav .tk-nav-section {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #94a3b8;
    padding: .9rem .8rem .35rem;
    font-weight: 600;
}

.tk-sidebar-footer {
    margin-top: auto;
    padding: .9rem 1.1rem;
    border-top: 1px solid var(--tk-border);
    font-size: .8rem;
    color: var(--tk-muted);
}

.tk-main {
    margin-left: var(--tk-sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.tk-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid var(--tk-border);
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: .4rem 1rem;
    gap: .6rem;
}

.tk-topbar .tk-page-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tk-content {
    flex: 1;
}

.tk-backdrop {
    display: none;
}

.tk-impersonation {
    background: #b91c1c;
    color: #fff;
    font-size: .85rem;
    padding: .4rem 1rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    .tk-sidebar {
        transform: translateX(-100%);
        box-shadow: 0 10px 30px rgba(15, 23, 42, .2);
    }

    .tk-main {
        margin-left: 0;
    }

    body.tk-sidebar-open .tk-sidebar {
        transform: none;
    }

    body.tk-sidebar-open .tk-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, .4);
        z-index: 1035;
    }
}

/* ---------- Bildirim zili ---------- */
.tk-bell {
    position: relative;
}

.tk-bell .tk-bell-count {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: .65rem;
    min-width: 18px;
}

.tk-notif-menu {
    width: 360px;
    max-width: calc(100vw - 2rem);
    max-height: 460px;
    overflow-y: auto;
    padding: 0;
}

.tk-notif-item {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: #fff;
    padding: .65rem .9rem;
    border-bottom: 1px solid #f1f5f9;
}

.tk-notif-item:hover {
    background: #f8fafc;
}

.tk-notif-item.unread {
    background: var(--tk-brand-50);
}

/* ---------- Bileşenler ---------- */
.card {
    border: 1px solid var(--tk-border);
    border-radius: .7rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.card-header {
    background: #fff;
    font-weight: 600;
    border-bottom: 1px solid var(--tk-border);
}

.kpi-card .kpi-label {
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--tk-muted);
    font-weight: 600;
}

.kpi-card .kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.kpi-card .kpi-sub {
    font-size: .8rem;
    color: var(--tk-muted);
}

.kpi-card .kpi-icon {
    width: 42px;
    height: 42px;
    border-radius: .65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.table-tk {
    margin-bottom: 0;
}

.table-tk thead th {
    font-size: .73rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--tk-muted);
    background: #f8fafc;
    white-space: nowrap;
    border-bottom-width: 1px;
}

.table-tk th.sortable {
    cursor: pointer;
    user-select: none;
}

.table-tk td {
    vertical-align: middle;
}

.table-tk tr.clickable {
    cursor: pointer;
}

.filter-bar .form-control, .filter-bar .form-select {
    min-width: 130px;
}

.picker {
    position: relative;
}

.picker .dropdown-menu {
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
}

.progress-thin {
    height: 7px;
}

.chart-box {
    position: relative;
    height: 280px;
}

.empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--tk-muted);
}

.empty-state .bi {
    font-size: 2.4rem;
    color: #cbd5e1;
    display: block;
    margin-bottom: .5rem;
}

.preline {
    white-space: pre-line;
}

.mono {
    font-family: Consolas, "Courier New", monospace;
}

/* ---------- Aksiyon listesi ---------- */
.action-item {
    border-left: 4px solid #cbd5e1;
    padding: .6rem .85rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

.action-item:hover {
    background: #f8fafc;
}

.action-item.sev-high {
    border-left-color: #dc2626;
}

.action-item.sev-medium {
    border-left-color: #f59e0b;
}

.action-item.sev-low {
    border-left-color: #94a3b8;
}

/* ---------- Teklif düzenleyici ---------- */
.items-editor td {
    padding: .35rem .3rem;
}

.items-editor .form-control, .items-editor .form-select {
    font-size: .85rem;
    padding: .3rem .45rem;
}

.items-editor .col-name {
    min-width: 220px;
}

.items-editor .col-num {
    min-width: 92px;
}

.items-editor .col-unit {
    min-width: 76px;
}

.items-editor .col-disc {
    min-width: 150px;
}

.items-editor .col-tax {
    min-width: 88px;
}

.items-editor .line-total {
    white-space: nowrap;
    font-weight: 600;
    text-align: right;
    min-width: 110px;
}

.totals-box .totals-row {
    display: flex;
    justify-content: space-between;
    padding: .3rem 0;
    border-bottom: 1px dashed var(--tk-border);
}

.totals-box .grand {
    background: var(--tk-brand);
    color: #fff;
    border-radius: .5rem;
    padding: .7rem .9rem;
    margin-top: .6rem;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
}

.sticky-summary {
    position: sticky;
    top: 74px;
}

/* ---------- Zaman çizelgesi ---------- */
.timeline {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.timeline li {
    position: relative;
    padding: 0 0 1rem 1.6rem;
    border-left: 2px solid var(--tk-border);
    margin-left: .5rem;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--tk-brand);
}

/* ---------- Kanban ---------- */
.kanban {
    display: flex;
    gap: .9rem;
    overflow-x: auto;
    padding-bottom: .5rem;
}

.kanban-col {
    flex: 0 0 270px;
    background: #eef2f7;
    border-radius: .7rem;
    display: flex;
    flex-direction: column;
    max-height: 72vh;
}

.kanban-col .kanban-head {
    padding: .7rem .8rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.kanban-col .kanban-body {
    padding: 0 .6rem .6rem;
    overflow-y: auto;
    min-height: 80px;
    flex: 1;
}

.kanban-col.drag-over {
    outline: 2px dashed var(--tk-brand);
}

.kanban-card {
    background: #fff;
    border-radius: .55rem;
    padding: .6rem .7rem;
    margin-bottom: .5rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
    cursor: grab;
}

.kanban-card.dragging {
    opacity: .5;
}

/* ---------- Giriş ---------- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eaf1f8 0%, #f5f7fb 45%, #dbe7f3 100%);
    padding: 1.5rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 18px 45px rgba(31, 78, 121, .15);
}

.auth-card.wide {
    max-width: 560px;
}

.auth-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--tk-brand);
}

.auth-slogan {
    color: var(--tk-muted);
    font-size: .9rem;
}

/* ---------- Giriş (premium, iki panelli) ---------- */
.auth-premium {
    --lx-ink: #0b1f35;
    --lx-ink-2: #12304f;
    --lx-accent: #38bdf8;
    --lx-gold: #f5c16c;
    font-family: "Inter Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-feature-settings: "cv11", "ss01";
    background: #fff;
    color: #0f172a;
}

.lx {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

/* Sol panel */
.lx-showcase {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    padding: 2.75rem clamp(2rem, 4vw, 4.5rem);
    color: #e2e8f0;
    background:
        radial-gradient(120% 90% at 0% 0%, #1d4f80 0%, transparent 55%),
        radial-gradient(90% 70% at 100% 100%, #0e3a5f 0%, transparent 60%),
        linear-gradient(160deg, var(--lx-ink-2) 0%, var(--lx-ink) 70%);
}

.lx-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    top: 18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, .28), transparent 65%);
    filter: blur(10px);
    pointer-events: none;
}

.lx-grid {
    position: absolute;
    inset: 0;
    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: 44px 44px;
    mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}

.lx-showcase > *:not(.lx-glow):not(.lx-grid) {
    position: relative;
}

.lx-brand, .lx-mobile-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 750;
    font-size: 1.3rem;
    letter-spacing: -.01em;
}

.lx-brand {
    color: #fff;
}

.lx-logo {
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .7rem;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, #2f7ac0, #1F4E79);
    box-shadow: 0 6px 18px rgba(47, 122, 192, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.lx-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: .3rem .75rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lx-gold);
    background: rgba(245, 193, 108, .1);
    border: 1px solid rgba(245, 193, 108, .25);
}

.lx-hero h1 {
    font-size: clamp(2rem, 3.1vw, 2.9rem);
    line-height: 1.12;
    font-weight: 780;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 1rem;
}

.lx-hero h1 span {
    background: linear-gradient(90deg, #7dd3fc, #38bdf8 40%, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lx-lead {
    max-width: 30rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: #a9b8cc;
    margin: 0;
}

/* Ürün önizlemesi */
.lx-preview {
    position: relative;
    max-width: 440px;
    padding-top: 2.75rem;
}

.auth-premium .alert {
    border-radius: .8rem;
}

.lx-offer {
    border-radius: 1.1rem;
    padding: 1.25rem 1.35rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
}

.lx-offer-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.lx-offer-no {
    font-size: .75rem;
    color: #8aa0ba;
    letter-spacing: .04em;
}

.lx-offer-title {
    font-weight: 650;
    color: #fff;
    margin-top: .15rem;
}

.lx-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    white-space: nowrap;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 650;
    color: #7dd3fc;
    background: rgba(56, 189, 248, .12);
    border: 1px solid rgba(56, 189, 248, .3);
}

.lx-pill i {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 0 0 rgba(56, 189, 248, .7);
    animation: lx-pulse 2s infinite;
}

.lx-offer-rows {
    margin: 1rem 0;
    display: grid;
    gap: .45rem;
    font-size: .85rem;
}

.lx-offer-rows div {
    display: flex;
    justify-content: space-between;
    color: #9fb1c7;
}

.lx-offer-rows strong {
    color: #e2e8f0;
    font-weight: 600;
}

.lx-offer-rows .lx-total {
    margin-top: .35rem;
    padding-top: .65rem;
    border-top: 1px dashed rgba(255, 255, 255, .15);
}

.lx-offer-rows .lx-total strong {
    font-size: 1.15rem;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.lx-steps {
    display: flex;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .72rem;
}

.lx-steps li {
    flex: 1;
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .5rem;
    border-radius: .55rem;
    white-space: nowrap;
    color: #8aa0ba;
    background: rgba(255, 255, 255, .04);
}

.lx-steps li.done {
    color: #86efac;
    background: rgba(34, 197, 94, .08);
}

.lx-steps li.now {
    color: var(--lx-gold);
    background: rgba(245, 193, 108, .1);
}

.lx-toast {
    position: absolute;
    top: 0;
    right: -.75rem;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .65rem .9rem;
    border-radius: .85rem;
    font-size: .78rem;
    color: #0f172a;
    background: #fff;
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5);
    animation: lx-float 5s ease-in-out infinite;
}

.lx-toast > i {
    display: inline-grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: .6rem;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.lx-toast strong, .lx-toast span {
    display: block;
    line-height: 1.3;
}

.lx-toast span {
    color: #64748b;
}

.lx-points {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    display: grid;
    gap: .7rem;
    font-size: .92rem;
    color: #c3d0df;
}

.lx-points i {
    color: var(--lx-accent);
    margin-right: .65rem;
}

/* Sağ panel */
.lx-form-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 1.5rem 1.25rem;
    background:
        radial-gradient(60% 40% at 100% 0%, rgba(56, 189, 248, .07), transparent 70%),
        #fff;
}

.lx-form-wrap {
    width: 100%;
    max-width: 400px;
    margin: auto 0;
}

.lx-mobile-brand {
    display: none;
    margin-bottom: 2rem;
    color: var(--lx-ink);
}

.lx-title {
    font-size: 1.85rem;
    font-weight: 750;
    letter-spacing: -.025em;
    color: var(--lx-ink);
    margin-bottom: .35rem;
}

.lx-subtitle {
    color: #64748b;
    margin-bottom: 2rem;
}

.auth-premium .form-label {
    font-size: .85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: .4rem;
}

.lx-field {
    position: relative;
}

.lx-field > i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: color .15s;
    z-index: 5;
}

.lx-field .form-control {
    height: 3.1rem;
    padding-left: 2.75rem;
    border-radius: .8rem;
    border: 1px solid #dbe2ea;
    background: #f8fafc;
    font-size: .98rem;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.lx-field .form-control:hover {
    border-color: #c5d0dc;
}

.lx-field .form-control:focus {
    background: #fff;
    border-color: #2f7ac0;
    box-shadow: 0 0 0 4px rgba(47, 122, 192, .14);
}

.lx-field:focus-within > i {
    color: #2f7ac0;
}

.lx-field .form-control::placeholder {
    color: #a3afbd;
}

.lx-field input[type=password], .lx-field input[data-revealed] {
    padding-right: 3rem;
}

.lx-eye {
    position: absolute;
    right: .45rem;
    top: 1.55rem;
    transform: translateY(-50%);
    width: 2.3rem;
    height: 2.3rem;
    border: 0;
    border-radius: .6rem;
    color: #64748b;
    background: transparent;
    z-index: 5;
}

.lx-eye:hover, .lx-eye:focus-visible {
    color: var(--lx-ink);
    background: #eef2f7;
    outline: none;
}

.lx-field .invalid-feedback {
    padding-left: .25rem;
}

.lx-caps {
    margin-top: .45rem;
    color: #b45309;
}

.lx-link {
    color: #2f6fae;
    text-decoration: none;
    font-weight: 500;
}

.lx-link:hover {
    text-decoration: underline;
}

.auth-premium .form-switch .form-check-input {
    width: 2.2em;
    cursor: pointer;
}

.auth-premium .form-check-label {
    color: #475569;
    font-size: .92rem;
    cursor: pointer;
}

.lx-submit {
    height: 3.1rem;
    border: 0;
    border-radius: .8rem;
    font-weight: 650;
    letter-spacing: .01em;
    background: linear-gradient(135deg, #2a6aa6 0%, #1F4E79 55%, #173c5e 100%);
    box-shadow: 0 10px 24px -10px rgba(31, 78, 121, .75), inset 0 1px 0 rgba(255, 255, 255, .15);
    transition: transform .15s, box-shadow .15s, filter .15s;
}

.lx-submit:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -12px rgba(31, 78, 121, .85), inset 0 1px 0 rgba(255, 255, 255, .15);
}

.lx-submit:active {
    transform: translateY(0);
}

.lx-submit .bi-arrow-right {
    margin-left: .35rem;
    transition: transform .15s;
}

.lx-submit:hover .bi-arrow-right {
    transform: translateX(3px);
}

.lx-divider {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin: 1.75rem 0 1rem;
    font-size: .82rem;
    color: #94a3b8;
}

.lx-divider::before, .lx-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5eaf0;
}

.lx-secondary {
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .8rem;
    font-weight: 600;
    color: var(--lx-ink);
    background: #fff;
    border: 1px solid #dbe2ea;
}

.lx-secondary:hover {
    border-color: #2f7ac0;
    color: #1F4E79;
    background: #f5f9fd;
}

.lx-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1.25rem;
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
    font-size: .78rem;
    color: #94a3b8;
}

.lx-trust i {
    margin-right: .35rem;
    color: #22a06b;
}

.lx-footer {
    margin-top: 2rem;
    font-size: .76rem;
    color: #a3afbd;
}

@keyframes lx-pulse {
    0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, .6); }
    70% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

@keyframes lx-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
    .lx-toast, .lx-pill i { animation: none; }
    .lx-submit, .lx-submit .bi-arrow-right { transition: none; }
}

@media (max-width: 1199.98px) {
    .lx-preview { display: none; }
}

@media (max-width: 991.98px) {
    .lx { grid-template-columns: 1fr; }
    .lx-showcase { display: none; }
    .lx-mobile-brand { display: flex; }
    .lx-form-side { padding-top: 2rem; justify-content: flex-start; }
    .lx-form-wrap { margin: 1rem 0 auto; }
}

/* ---------- Teklif gönderim kanalları ---------- */
.send-channels {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .5rem;
}

.send-channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    padding: .75rem .5rem;
    border: 1px solid var(--tk-border);
    border-radius: .7rem;
    background: #fff;
    color: #334155;
    text-align: center;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.send-channel .bi {
    font-size: 1.35rem;
    color: var(--tk-muted);
}

.send-channel-title {
    font-weight: 600;
    font-size: .9rem;
}

.send-channel-hint {
    font-size: .72rem;
    color: var(--tk-muted);
    line-height: 1.2;
}

.send-channel:hover {
    border-color: #9fb7d1;
}

.send-channel.active {
    border-color: var(--tk-brand);
    background: var(--tk-brand-50);
    box-shadow: 0 0 0 3px rgba(31, 78, 121, .12);
}

.send-channel.active .bi {
    color: var(--tk-brand);
}

.send-channel[data-channel="WhatsApp"].active {
    border-color: #16a34a;
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, .12);
}

.send-channel[data-channel="WhatsApp"].active .bi {
    color: #16a34a;
}

@media (max-width: 575.98px) {
    .send-channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.qr-box img, .qr-box canvas {
    width: 150px;
    height: 150px;
}

.key-reveal {
    word-break: break-all;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: .45rem;
    padding: .6rem .75rem;
    font-family: Consolas, "Courier New", monospace;
}
