/* ==========================================================================
   Metro İş Takip – Web Admin
   Palet: koyu lacivert / antrasit, beyaz, açık gri, mavi vurgu
   ========================================================================== */
:root {
    --navy: #1b2a41;
    --navy-2: #24364f;
    --anthracite: #2d3748;
    --bg: #f3f5f8;
    --surface: #ffffff;
    --border: #e4e7eb;
    --muted: #6b7785;
    --primary: #2f80ed;
    --primary-soft: #e8f1fd;
    --success: #27ae60;
    --warning: #f2994a;
    --danger: #eb5757;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06);
    --sidebar-w: 256px;
    --sidebar-w-narrow: 78px;
    --bs-primary: #2f80ed;
    --bs-primary-rgb: 47, 128, 237;
    --bs-body-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html, body { background: var(--bg); color: var(--anthracite); }
body { font-size: .925rem; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
.xsmall { font-size: .72rem; }
.btn { border-radius: var(--radius-sm); min-height: 40px; font-weight: 500; }
.btn-sm { min-height: 32px; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-dark { background: var(--navy); border-color: var(--navy); }
.btn-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 1.35rem; color: var(--navy); }
.form-control, .form-select { border-radius: var(--radius-sm); min-height: 42px; border-color: var(--border); }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(47,128,237,.15); }
.form-label { font-weight: 600; font-size: .82rem; color: var(--anthracite); margin-bottom: .3rem; }

/* ---------- Layout ---------- */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
    position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); background: var(--navy);
    color: #cfd8e3; display: flex; flex-direction: column; z-index: 1040; transition: transform .25s ease, width .2s ease;
}
.sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 20px 20px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), #1f5fbf); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.brand-text strong { display: block; color: #fff; font-size: .98rem; }
.brand-text small { color: #8fa3bf; font-size: .74rem; }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; padding: 12px 12px 16px; flex: 1; overflow-y: auto; }
.nav-item {
    display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; color: #c3cedb;
    font-weight: 500; border: 0; background: transparent; text-align: left; min-height: 44px;
}
.nav-item i { font-size: 1.15rem; width: 22px; text-align: center; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(47,128,237,.35); }
.nav-logout { color: #f5a5a5; }
.nav-logout:hover { background: rgba(235,87,87,.15); color: #fff; }

.main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; display: flex; flex-direction: column; }
.topbar {
    position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: 12px;
    background: rgba(243,245,248,.9); backdrop-filter: blur(8px); padding: 14px 28px; border-bottom: 1px solid var(--border);
}
.page-title { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-user { display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.content { padding: 24px 28px 40px; }
.sidebar-backdrop { display: none; }

/* Tablet: dar sidebar */
@media (min-width: 992px) and (max-width: 1279.98px) {
    .sidebar { width: var(--sidebar-w-narrow); }
    .sidebar .brand-text, .sidebar .nav-item span { display: none; }
    .sidebar-brand { justify-content: center; padding: 18px 8px; }
    .nav-item { justify-content: center; padding: 10px; }
    .main { margin-left: var(--sidebar-w-narrow); }
}
/* Mobil: hamburger (off-canvas) */
@media (max-width: 991.98px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); box-shadow: 0 0 40px rgba(0,0,0,.3); }
    .sidebar-backdrop.show { display: block; position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 1030; }
    .main { margin-left: 0; }
    .topbar { padding: 10px 14px; }
    .content { padding: 16px 14px 32px; }
}

/* ---------- Kartlar ---------- */
.card-soft { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-soft > .card-header-soft { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-soft > .card-header-soft h2, .card-soft > .card-header-soft h3 { font-size: 1rem; font-weight: 700; margin: 0; color: var(--navy); }
.card-soft > .card-body-soft { padding: 18px 20px; }

.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; align-items: center; gap: 14px; height: 100%; transition: transform .15s; color: inherit; }
a.stat-card:hover { transform: translateY(-2px); }
.stat-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0; }
.stat-value { font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat-label { color: var(--muted); font-size: .8rem; font-weight: 500; }
.bg-soft-primary { background: #e8f1fd; color: var(--primary); }
.bg-soft-warning { background: #fdf0e4; color: #d9791f; }
.bg-soft-success { background: #e6f6ed; color: var(--success); }
.bg-soft-danger { background: #fdeaea; color: var(--danger); }
.bg-soft-navy { background: #e6eaf0; color: var(--navy); }
.bg-soft-purple { background: #efe9fb; color: #7b4fd6; }

/* ---------- Durum rozetleri ---------- */
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-open { background: #e8f1fd; color: var(--primary); }
.status-in_progress { background: #fdf0e4; color: #d9791f; }
.status-completed { background: #e6f6ed; color: var(--success); }
.status-cancelled { background: #fdeaea; color: var(--danger); }
.type-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 8px; font-size: .74rem; font-weight: 600; background: #eef1f5; color: var(--anthracite); }
.type-badge.zimmet { background: #efe9fb; color: #7b4fd6; }
.type-badge.santral { background: linear-gradient(135deg, #e3f5f6, #d3eef0); color: #0b6670; box-shadow: inset 0 0 0 1px rgba(14, 124, 134, .18); }
.type-badge.sm { padding: 1px 7px; font-size: .68rem; border-radius: 6px; margin-bottom: 3px; }

/* ---------- Filtre çubuğu ---------- */
.filter-bar .form-control, .filter-bar .form-select { min-height: 40px; }
.filter-bar .select2-container--bootstrap-5 .select2-selection { min-height: 40px; border-radius: var(--radius-sm); }
.period-group .btn { min-height: 38px; }
.period-group .btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- DataTables ---------- */
table.dataTable { border-collapse: collapse !important; }
table.dataTable thead th { background: #f7f9fb; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; font-weight: 700; border-bottom: 1px solid var(--border) !important; white-space: nowrap; }
table.dataTable tbody td { vertical-align: middle; border-color: #eef0f3; }
table.dataTable tbody tr:hover td { background: #f9fbfd; }
div.dt-container .dt-search input { border-radius: var(--radius-sm); min-height: 40px; min-width: 240px; }
div.dt-container .dt-length select { border-radius: var(--radius-sm); }
.dt-actions { display: flex; gap: 4px; justify-content: flex-end; }
.dt-actions .btn { min-height: 32px; width: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; }
.table-responsive-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* Yapılan İşler listesi: tüm sütunların tek satıra sığması için sıkı hücreler; uzun metin kırpılır, tamamı title'da */
.jobs-table { font-size: .875rem; }
.jobs-table.table > :not(caption) > * > * { padding: .5rem .35rem; }
.jobs-table thead th { letter-spacing: 0; font-size: .7rem; white-space: normal !important; line-height: 1.2; }
.jobs-table .badge { font-size: .72rem; }
.jobs-table .cell-clip { display: block; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jobs-table a.cell-clip { max-width: 150px; }
.jobs-table .type-icon { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: #eef1f5; font-size: .9rem; }
.jobs-table .type-icon.zimmet { background: #efe9fb; }
.jobs-table .type-icon.santral { background: #dff2f4; }
.jobs-table .min-w-0 { min-width: 0; }
.jobs-table .status-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.jobs-table .order-chip { font-size: .74rem; }
.jobs-table .office-badge { padding: 3px 8px; font-size: .7rem; }
.jobs-table .thumb-stack img + img { margin-left: -32px; }
.jobs-table .dt-actions .btn { width: 32px; }
.dt-actions .btn.btn-detail, .jobs-table .dt-actions .btn.btn-detail {
    width: auto; min-height: 36px; padding: 0 14px 0 12px; gap: 6px; border-radius: 10px; font-weight: 700; font-size: .82rem;
    background: linear-gradient(135deg, var(--primary), #1f6fd6); color: #fff; border: 0; box-shadow: 0 4px 12px rgba(47,128,237,.28);
    transition: transform .15s ease, box-shadow .15s ease;
}
.dt-actions .btn.btn-detail:hover, .dt-actions .btn.btn-detail:focus-visible { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(47,128,237,.38); }
.dt-actions .btn.btn-detail i { font-size: 1rem; }
.jobs-table .dt-actions { align-items: center; gap: 6px; }
@media (max-width: 575.98px) { div.dt-container .dt-search input { min-width: 0; width: 100%; } }

/* ---------- Select2 ---------- */
.select2-container--bootstrap-5 .select2-selection { border-radius: var(--radius-sm); min-height: 42px; border-color: var(--border); }
.select2-container--bootstrap-5 .select2-dropdown { border-radius: var(--radius-sm); border-color: var(--border); box-shadow: var(--shadow); }
.select2-container--bootstrap-5 .select2-results__option--highlighted { background: var(--primary) !important; }

/* ---------- Tür seçim kartları (ZİMMET / İŞ) ---------- */
.type-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.type-card {
    border: 2px solid var(--border); border-radius: 18px; background: #fff; padding: 26px 16px; text-align: center; cursor: pointer;
    transition: all .15s ease; user-select: none; min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.type-card:hover { border-color: #b9d3f7; transform: translateY(-1px); }
.type-card .emoji { font-size: 2.2rem; line-height: 1; }
.type-card .title { font-weight: 800; font-size: 1.15rem; color: var(--navy); letter-spacing: .05em; }
.type-card .sub { color: var(--muted); font-size: .82rem; }
.type-card.selected { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 4px rgba(47,128,237,.15); }
.type-card.selected .title { color: var(--primary); }
.type-cards:has(.type-card:nth-child(3)) { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767.98px) { .type-cards:has(.type-card:nth-child(3)) { grid-template-columns: 1fr 1fr; } .type-cards .type-card:nth-child(3) { grid-column: 1 / -1; } }
.type-card.santral.selected { border-color: #0e7c86; background: #e9f6f7; box-shadow: 0 0 0 4px rgba(14,124,134,.15); }
.type-card.santral.selected .title { color: #0b6670; }
.btn-santral { background: linear-gradient(135deg, #0e7c86, #12a3a3); border: 0; color: #fff; }
.btn-santral:hover, .btn-santral:focus { background: linear-gradient(135deg, #0b6670, #0e8f90); color: #fff; }
.btn-outline-santral { border: 1px solid #0e7c86; color: #0b6670; background: #fff; }
.btn-outline-santral:hover, .btn-outline-santral:focus { background: #0e7c86; border-color: #0e7c86; color: #fff; }
.request-textarea { font-size: .92rem; line-height: 1.55; background: #f8fcfc; border-color: rgba(14,124,134,.25); }
.request-textarea:focus { background: #fff; border-color: #0e7c86; box-shadow: 0 0 0 .2rem rgba(14,124,134,.15); }

/* ---------- Malzeme satırları ---------- */
.material-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(90px, 1fr) minmax(100px, 1fr) 44px; gap: 8px; align-items: start; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: #fbfcfd; margin-bottom: 8px; }
.material-row .note { grid-column: 1 / -1; }
@media (max-width: 575.98px) { .material-row { grid-template-columns: 1fr 1fr 44px; } .material-row .mat-select { grid-column: 1 / -1; } }
.quick-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.quick-chip { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: .8rem; font-weight: 500; cursor: pointer; }
.quick-chip:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Fotoğraf ızgarası ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.photo-tile { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #eef1f5; border: 1px solid var(--border); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-tile .remove { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(15,23,42,.75); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.photo-tile .remove:hover { background: var(--danger); }
.photo-tile .idx { position: absolute; left: 6px; bottom: 6px; background: rgba(15,23,42,.65); color: #fff; font-size: .7rem; padding: 1px 7px; border-radius: 8px; }
.photo-tile.uploading::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.55); }
.photo-add { border: 2px dashed #c9d2dd; background: #fafbfc; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); cursor: pointer; font-size: .8rem; gap: 4px; }
.photo-add i { font-size: 1.6rem; }
.photo-add:hover { border-color: var(--primary); color: var(--primary); }
.photo-counter { font-weight: 700; color: var(--navy); }
.photo-counter.full { color: var(--danger); }

/* Zimmet ön/arka */
.zimmet-photo { border: 2px dashed #c9d2dd; border-radius: 16px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; cursor: pointer; overflow: hidden; position: relative; background: #fafbfc; color: var(--muted); }
.zimmet-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zimmet-photo .label { position: absolute; left: 10px; top: 10px; background: rgba(15,23,42,.72); color: #fff; font-size: .72rem; padding: 3px 9px; border-radius: 8px; z-index: 2; font-weight: 600; }
.zimmet-photo:hover { border-color: var(--primary); }
.ocr-card { border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; background: #fff; }
.ocr-card .form-label { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.ocr-card .form-control { border: 0; padding: 0; min-height: 32px; font-weight: 700; font-size: 1rem; color: var(--navy); box-shadow: none; background: transparent; }
.ocr-card.found { border-color: #9fd7b5; background: #f4fbf7; }
.ocr-card.invalid { border-color: var(--danger); background: #fff6f6; }

/* ---------- Detay sayfası ---------- */
/* İş detayı */
.detail-card { overflow: hidden; }
.detail-card > .card-body-soft { padding: 0 0 20px; }
.detail-card > .card-body-soft > *:not(.detail-hero) { margin-left: 20px; margin-right: 20px; }
.detail-hero { padding: 20px 20px 18px; background: linear-gradient(135deg, #f3f8ff 0%, #ffffff 70%); border-bottom: 1px solid var(--border); }
.detail-title { font-size: 1.45rem; font-weight: 800; color: var(--navy); margin: 0 0 4px; line-height: 1.25; word-break: break-word; }
.detail-status { text-align: right; }
.status-switch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; background: #f7f9fc; border: 1px solid var(--border); border-radius: 14px; }
.status-switch-label { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; margin-right: 4px; }
.status-switch .btn { border-radius: 999px; padding: 5px 14px; font-weight: 600; }
.meta-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.meta-tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.meta-tile:hover { border-color: #c9dbf5; box-shadow: 0 4px 14px rgba(15, 35, 70, .06); }
.meta-tile > i { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-soft, #eaf2fe); color: var(--primary); font-size: 1.05rem; }
.meta-tile .k { color: var(--muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.meta-tile .v { font-weight: 700; color: var(--navy); margin-top: 1px; word-break: break-word; }
.desc-box { border: 1px solid var(--border); border-radius: 14px; background: #fbfcfe; padding: 12px 14px; }
.desc-box-head { color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.desc-box-body { white-space: pre-wrap; line-height: 1.55; color: var(--anthracite); }
@media (max-width: 575.98px) { .detail-status { text-align: left; } .detail-title { font-size: 1.2rem; } }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.detail-item .k { color: var(--muted); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.detail-item .v { font-weight: 600; color: var(--navy); margin-top: 2px; word-break: break-word; }
.material-list { list-style: none; padding: 0; margin: 0; }
.material-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.material-list li:last-child { border-bottom: 0; }
.request-mail { border: 1px solid rgba(14, 124, 134, .22); border-left: 4px solid #0e7c86; border-radius: 14px; background: #f3fafb; padding: 12px 14px; }
.request-mail-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #0b6670; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.request-mail-body { white-space: pre-wrap; font-size: .92rem; line-height: 1.55; color: var(--anthracite); }
.job-materials { border: 1px solid var(--border); border-radius: 14px; background: #f8fafd; padding: 12px 14px; }
.job-materials-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.job-materials-count { background: var(--navy); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: .7rem; letter-spacing: 0; text-transform: none; }
.job-materials-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.job-materials-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; }
.job-materials-list .jm-name { font-weight: 600; color: var(--navy); min-width: 0; word-break: break-word; }
.job-materials-list .jm-name a { color: inherit; text-decoration: none; border-bottom: 1px dashed #9fb3d1; }
.job-materials-list .jm-name a:hover { color: var(--primary); border-bottom-color: currentColor; }
.job-materials-list .jm-note { display: block; font-size: .76rem; font-weight: 500; color: var(--muted); }
.job-materials-list .jm-qty { flex-shrink: 0; font-weight: 800; color: var(--navy); background: #eef3fa; border-radius: 8px; padding: 3px 9px; white-space: nowrap; }
.job-materials-list .jm-qty small { font-weight: 600; color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 14px 20px; font-size: .84rem; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.timeline li::after { content: ""; position: absolute; left: 7.5px; top: 16px; bottom: 0; width: 1px; background: var(--border); }
.timeline li:last-child::after { display: none; }

/* ---------- Giriş ekranı ---------- */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: radial-gradient(1200px 600px at 10% -10%, #2c4a74 0%, transparent 60%), linear-gradient(160deg, #15233a 0%, #1b2a41 55%, #22354f 100%); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.25); padding: 34px 30px; }
.auth-card .brand-mark { width: 54px; height: 54px; font-size: 1.5rem; border-radius: 16px; margin: 0 auto 14px; }
.auth-card h1 { font-size: 1.3rem; font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 2px; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: .88rem; margin-bottom: 24px; }
.auth-card .btn-primary { min-height: 48px; font-weight: 700; }
.demo-logins { margin-top: 22px; padding: 14px; border-radius: 14px; background: #f3f6fb; border: 1px dashed #c6d2e3; }
.demo-logins .title { font-size: .78rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.demo-login { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; background: #fff; text-align: left; font-size: .88rem; }
.demo-login + .demo-login { margin-top: 6px; }
.demo-login:hover, .demo-login.active { border-color: #9fb3d1; }
.demo-login > span { white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.demo-login .bi { color: var(--muted); }
.demo-login .role { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--navy); color: #fff; text-transform: uppercase; }
.demo-login code { color: var(--navy); font-size: .85rem; background: none; padding: 0; }
.demo-logins .hint { font-size: .74rem; color: var(--muted); margin-top: 8px; }
.password-toggle { border-top-right-radius: var(--radius-sm) !important; border-bottom-right-radius: var(--radius-sm) !important; min-width: 46px; }

/* ---------- Listede fotoğraf önizlemesi ---------- */
.thumb-stack { display: inline-flex; align-items: center; text-decoration: none; }
.thumb-stack img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(16,24,40,.2); background: #eef2f7; transition: transform .12s; }
.thumb-stack img + img { margin-left: -16px; }
.thumb-stack:hover img { transform: translateY(-1px); }
.thumb-stack .more { margin-left: 6px; font-size: .78rem; font-weight: 700; color: var(--muted); white-space: nowrap; }

/* ---------- Fotoğraf indirme ---------- */
.photo-cell { position: relative; }
.photo-cell > .photo-tile { display: block; }
.photo-dl { position: absolute; right: 6px; bottom: 6px; width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: rgba(15,23,42,.72); color: #fff; font-size: .9rem; opacity: .0; transition: opacity .15s; z-index: 2; text-decoration: none; }
.photo-cell:hover .photo-dl, .photo-dl:focus { opacity: 1; }
.photo-dl:hover { background: var(--navy); color: #fff; }
@media (hover: none) { .photo-dl { opacity: 1; } }

/* ---------- Malzeme kullanım detayı ---------- */
.usage-totals { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.usage-totals .chip { background: #f3f6fb; border: 1px solid #dfe6f0; border-radius: 12px; padding: 8px 12px; }
.usage-totals .chip .n { font-size: 1.15rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.usage-totals .chip .l { font-size: .74rem; color: var(--muted); }
.usage-link { border: 0; background: #eef3fb; color: var(--navy); font-weight: 700; font-size: .8rem; border-radius: 999px; padding: 3px 10px; }
.usage-link:hover { background: #dbe6f7; }
.usage-link[disabled], .usage-link[aria-disabled="true"] { background: transparent; color: var(--muted); font-weight: 500; }
a.usage-link { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
/* Malzeme kullanım detay sayfası */
.usage-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 20px 22px; background: linear-gradient(135deg, #fff 0%, #f4f7fc 100%); }
.usage-hero-main { display: flex; align-items: center; gap: 16px; min-width: 0; }
.usage-hero-icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--navy), #24426f); box-shadow: 0 6px 18px rgba(9,40,87,.25); }
.usage-hero-title { font-size: 1.45rem; font-weight: 800; color: var(--navy); margin: 2px 0; }
.usage-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.usage-stat { min-width: 110px; padding: 10px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--border); text-align: center; }
.usage-stat .n { font-size: 1.4rem; font-weight: 800; color: var(--navy); line-height: 1.15; white-space: nowrap; }
.usage-stat .n small { font-size: .8rem; font-weight: 700; opacity: .75; }
.usage-stat .l { font-size: .74rem; color: var(--muted); font-weight: 600; }
.usage-stat.green { background: #e9f7ef; border-color: #c9ead7; }
.usage-stat.green .n { color: #1e7e4a; }
.usage-list { display: flex; flex-direction: column; gap: 8px; }
.usage-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto auto 18px; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: inherit; background: #fff; transition: border-color .12s, box-shadow .12s, transform .12s; }
.usage-item:hover { border-color: #c7d5ea; box-shadow: 0 6px 16px rgba(16,24,40,.07); transform: translateY(-1px); }
.usage-item-id { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.usage-item-badges { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.usage-item-qty { font-size: 1.1rem; font-weight: 800; color: #1e7e4a; white-space: nowrap; text-align: right; min-width: 80px; }
.usage-item-qty small { font-size: .78rem; font-weight: 700; opacity: .8; }
.usage-item .min-w-0, .usage-hero .min-w-0 { min-width: 0; }
@media (max-width: 767.98px) {
    .usage-item { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id qty" "main main" "badges badges"; row-gap: 8px; }
    .usage-item-id { flex-direction: row; align-items: center; grid-area: id; }
    .usage-item-qty { grid-area: qty; }
    .usage-item-main { grid-area: main; }
    .usage-item-badges { grid-area: badges; align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
    .usage-item-go { display: none; }
}

/* ---------- Diğer ---------- */
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state i { font-size: 2.6rem; color: #b8c2cf; display: block; margin-bottom: 10px; }
.sortable-list .list-group-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-color: var(--border); }
.sortable-list .drag-handle { cursor: grab; color: #9aa5b1; font-size: 1.2rem; }
.sortable-ghost { opacity: .45; background: var(--primary-soft) !important; }
.chart-box { position: relative; height: 280px; }
.chart-box-sm { height: 210px; }

/* ---------- Dashboard ---------- */
.dhero { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; justify-content: space-between; padding: 22px 24px; border-radius: 20px; color: #fff;
    background: radial-gradient(620px 260px at 100% 0%, rgba(47,128,237,.45) 0%, transparent 60%), linear-gradient(135deg, #1b2a41 0%, #24436b 100%); box-shadow: 0 12px 30px rgba(27,42,65,.18); }
.dhero h2 { font-size: 1.35rem; font-weight: 800; margin: 4px 0 2px; color: #fff; }
.dhero p { margin: 0; color: rgba(255,255,255,.75); font-weight: 500; }
.dhero-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #9cc3ff; }
.dhero-filters { display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: 10px; min-width: min(100%, 440px); }
.dhero .form-label { color: rgba(255,255,255,.82); }
@media (max-width: 575px) { .dhero-filters { grid-template-columns: 1fr; } }

.ov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 768px) { .ov-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .ov-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .ov-grid.has-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1600px) { .ov-grid.has-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 420px) { .ov-grid { grid-template-columns: 1fr; } }
.ov-card { --ov: #1b2a41; --ov2: #2b4a74; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; min-height: 330px; }
.ov-card.is-loading { padding: 16px; gap: 10px; }
.ov-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(16,24,40,.1); }
.ov-card.active { box-shadow: 0 0 0 3px var(--ov), 0 12px 28px rgba(16,24,40,.14); border-color: transparent; }
.ov-week { --ov: #2f80ed; --ov2: #5b5fe0; }
.ov-month { --ov: #0f8a8a; --ov2: #14b8a6; }
.ov-year { --ov: #7b4fd6; --ov2: #b05ad6; }
.ov-all { --ov: #2d3748; --ov2: #4a5568; }
.ov-custom { --ov: #e07a1f; --ov2: #eb5757; }
.ov-head { border: 0; width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 16px 16px 14px; color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--ov) 0%, var(--ov2) 100%); }
.ov-label { display: flex; flex-direction: column; font-weight: 800; font-size: 1.02rem; line-height: 1.2; }
.ov-label small { font-weight: 500; font-size: .72rem; opacity: .82; margin-top: 3px; white-space: nowrap; }
.ov-total { display: flex; flex-direction: column; align-items: flex-end; font-size: 2.15rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.ov-total small { font-size: .68rem; font-weight: 700; opacity: .8; margin-top: 2px; }
.ov-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 12px 6px; }
.ov-type { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px 7px; border-radius: 12px; font-size: .72rem; font-weight: 700; transition: transform .12s; }
.ov-type:hover { transform: translateY(-1px); }
.ov-type i { font-size: .95rem; }
.ov-type b { font-size: 1.2rem; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ov-type.t-job { background: #e8f1fd; color: #1f6fd6; }
.ov-type.t-zimmet { background: #efe9fb; color: #6c3fc9; }
.ov-type.t-santral { background: #e2f5f3; color: #0f7d7d; }
.ov-type.is-zero, .ov-srow.is-zero { opacity: .45; }
.ov-status { display: flex; flex-direction: column; gap: 1px; padding: 4px 10px 8px; }
.ov-srow { display: grid; grid-template-columns: 10px 1fr auto; column-gap: 8px; row-gap: 4px; align-items: center; padding: 6px 6px; border-radius: 9px; color: var(--anthracite); font-size: .83rem; font-weight: 600; }
.ov-srow:hover { background: #f4f6f9; color: var(--navy); }
.ov-srow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.ov-srow b { color: var(--navy); font-weight: 800; font-variant-numeric: tabular-nums; }
.ov-srow .bar { grid-column: 2 / 4; height: 4px; border-radius: 99px; background: #eef1f5; overflow: hidden; }
.ov-srow .bar i { display: block; height: 100%; border-radius: 99px; background: var(--c); }
.ov-srow.s-open { --c: #2f80ed; } .ov-srow.s-in_progress { --c: #f2994a; } .ov-srow.s-completed { --c: #27ae60; } .ov-srow.s-cancelled { --c: #eb5757; }
.ov-sap { margin: auto 12px 12px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: #fff3e6; color: #b8651a; font-weight: 700; font-size: .82rem; transition: background .15s; }
.ov-sap:hover { background: #ffe8d1; color: #9a5212; }
.ov-sap span { white-space: nowrap; }
.ov-sap b { margin-left: auto; font-size: 1.05rem; font-weight: 800; }
.ov-sap.is-zero { background: #eaf7ef; color: #1e8449; }

.dtable { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.dtable-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 22px; color: #fff; background: linear-gradient(135deg, #1b2a41 0%, #2b4a74 100%); }
.dtable-week .dtable-head { background: linear-gradient(135deg, #2f80ed 0%, #5b5fe0 100%); }
.dtable-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: rgba(255,255,255,.16); flex-shrink: 0; }
.dtable-title h2 { font-size: 1.12rem; font-weight: 800; color: #fff; margin: 0; }
.dtable-range { font-size: .8rem; color: rgba(255,255,255,.78); font-weight: 500; }
.dtable-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.dtable-chips .plist-chip { background: rgba(255,255,255,.14); color: #fff; }
.dtable-chips .plist-chip b { background: rgba(255,255,255,.9); color: var(--navy); }
.dtable-chips .plist-chip.status-open b { color: #1f6fd6; } .dtable-chips .plist-chip.status-in_progress b { color: #c76a14; }
.dtable-chips .plist-chip.status-completed b { color: #1e8449; } .dtable-chips .plist-chip.status-cancelled b { color: #c0392b; }
.dtable-chips .plist-chip:hover { background: rgba(255,255,255,.24); color: #fff; }
.dtable-total { display: flex; flex-direction: column; align-items: flex-end; font-size: 2rem; font-weight: 800; line-height: 1; min-width: 56px; }
.dtable-total small { font-size: .7rem; font-weight: 700; opacity: .8; margin-top: 2px; }
.dtable .table-responsive-x { overflow-x: auto; }
.dtbl { font-size: .86rem; }
.dtbl thead th { background: #f7f9fc; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--border); padding: 11px 10px; white-space: nowrap; }
.dtbl tbody td { padding: 10px 10px; border-color: #eef1f5; }
.dtbl tbody tr[data-href] { cursor: pointer; transition: background .12s; }
.dtbl tbody tr[data-href]:hover { background: #f5f8fd; }
.dtbl tbody tr[data-href]:nth-child(even) { background: #fbfcfe; }
.dtbl tbody tr[data-href]:nth-child(even):hover { background: #f5f8fd; }
.dtbl .dt-no { width: 46px; text-align: center; }
.dnum { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 9px; background: #eef2f7; color: var(--navy); font-weight: 800; font-size: .78rem; font-variant-numeric: tabular-nums; }
.dorder { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 9px; background: linear-gradient(135deg, #f4f8ff 0%, #e7f0fe 100%); border: 1px solid #cfe0fb; color: var(--navy); font-weight: 800; font-size: .84rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dorder.missing { background: #fff3e6; border-color: #fbd9b4; color: #b8651a; font-weight: 700; letter-spacing: 0; font-size: .76rem; }
.dtime { display: inline-flex; flex-direction: column; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.2; }
.dtime small { font-weight: 600; color: var(--muted); font-size: .74rem; }
.dtbl .dtitle { max-width: 220px; min-width: 140px; }
.dtbl .dtitle .type-badge, .dtbl .dtitle > span + span { margin-top: 4px; font-size: .7rem; white-space: nowrap; }
.dtbl .dtitle span:first-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; color: var(--navy); line-height: 1.3; }
.dtbl .dloc { min-width: 160px; max-width: 240px; line-height: 1.35; }
.dtbl .dloc b { display: inline-block; padding: 1px 7px; margin-right: 6px; border-radius: 6px; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 800; }
.dtbl .dloc span { color: var(--anthracite); }
.dtbl .dperson { font-weight: 600; min-width: 150px; max-width: 210px; line-height: 1.3; }
.dtbl .dperson > div { display: flex; align-items: center; }
.dtbl .dperson .ravatar { display: inline-grid; width: 28px; height: 28px; font-size: .78rem; margin-right: 8px; background: rgba(47,128,237,.12); color: #1f6fd6; }
.dsap { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.dsap.wait { background: #fff3e6; color: #b8651a; }
.dsap.done { background: #e6f6ed; color: #1e8449; }
.dthumbs img { width: 38px; height: 38px; border-radius: 8px; }
.dthumbs img + img { margin-left: -12px; }
.dtbl tr.dday td { background: #eef3fb !important; padding: 7px 14px; border-top: 1px solid #dfe7f3; }
.dtbl tr.dday span { font-weight: 800; color: var(--navy); margin-right: 10px; text-transform: capitalize; }
.dtbl tr.dday small { color: var(--muted); font-weight: 600; }
.dtable-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 13px; font-weight: 700; border-top: 1px solid var(--border); background: #fafbfd; }
.dtable-foot:hover { background: var(--primary-soft); }

.dsection-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dsection-head h2 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin: 0; display: flex; align-items: center; gap: 8px; }
.dsection-head small { color: var(--muted); font-weight: 500; }
.dperiods { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow); }
.dperiods button { border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: .82rem; padding: 7px 14px; border-radius: 999px; transition: background .15s, color .15s; }
.dperiods button:hover { color: var(--navy); background: #f1f4f8; }
.dperiods button.active { background: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(27,42,65,.25); }
#customRange .form-control { min-height: 40px; border-radius: 999px; min-width: 230px; }
.dcount { background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: .8rem; padding: 3px 11px; border-radius: 999px; }
.dlegend { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.dl-row { display: grid; grid-template-columns: 10px 1fr auto 42px; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 9px; color: var(--anthracite); font-size: .84rem; font-weight: 600; }
a.dl-row:hover { background: #f4f6f9; color: var(--navy); }
.dl-row .dot { width: 10px; height: 10px; border-radius: 50%; }
.dl-row .lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-row b { color: var(--navy); font-weight: 800; font-variant-numeric: tabular-nums; }
.dl-row small { color: var(--muted); font-weight: 700; text-align: right; }
.dl-row.is-zero { opacity: .45; }
.sticky-actions { position: sticky; bottom: 0; background: linear-gradient(to top, var(--bg) 70%, rgba(243,245,248,0)); padding: 14px 0 4px; z-index: 5; }
.upload-progress { height: 8px; border-radius: 8px; }
.swal2-popup { border-radius: 18px !important; }
.glightbox-clean .gslide-description { background: var(--navy); }

/* Dashboard: Bugün / Bu Hafta listeleri */
.plist { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.plist-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px 14px; color: #fff; background: linear-gradient(135deg, var(--navy) 0%, #2b4a74 100%); }
.plist-week .plist-head { background: linear-gradient(135deg, #2f80ed 0%, #5b5fe0 100%); }
.plist-head h2 { font-size: 1.05rem; font-weight: 700; margin: 0; color: #fff; }
.plist-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: rgba(255,255,255,.16); flex: 0 0 auto; }
.plist-range { font-size: .8rem; opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plist-total { text-align: right; line-height: 1; }
.plist-total span { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.plist-total small { font-size: .72rem; opacity: .8; }
.plist-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid var(--border); }
.plist-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; transition: transform .12s; }
.plist-chip:hover { transform: translateY(-1px); }
.plist-chip b { background: rgba(255,255,255,.75); border-radius: 999px; padding: 1px 8px; font-weight: 800; }
.plist-chip.is-zero { opacity: .45; }
.plist-body { flex: 1 1 auto; max-height: 440px; overflow-y: auto; padding: 6px 10px; }
.plist-day { position: sticky; top: -6px; z-index: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 10px 6px; margin: 0 -10px; background: linear-gradient(var(--surface) 80%, rgba(255,255,255,0)); }
.plist-day span { font-weight: 700; font-size: .82rem; color: var(--navy); text-transform: capitalize; }
.plist-day small { color: var(--muted); font-size: .74rem; }
.plist-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: inherit; transition: background .12s; }
.plist-item + .plist-item { border-top: 1px dashed var(--border); }
.plist-item:hover { background: #f5f8fc; }
.plist-time { flex: 0 0 54px; text-align: center; font-weight: 700; font-size: .82rem; color: var(--navy); background: #eef2f7; border-radius: 10px; padding: 6px 0; font-variant-numeric: tabular-nums; }
.plist-main { flex: 1 1 auto; min-width: 0; }
.plist-title { font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plist-id { color: var(--muted); font-weight: 600; margin-right: 6px; font-size: .8rem; }
.plist-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.plist-meta i { margin-right: 4px; }
.plist-thumbs img { width: 48px; height: 48px; }
.plist-thumbs img + img { margin-left: -14px; }
.plist-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 0 auto; }
.plist-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--muted); padding: 36px 16px; }
.plist-empty i { font-size: 2rem; opacity: .5; }
.plist-skeleton { height: 52px; margin: 8px 0; border-radius: 12px; background: linear-gradient(90deg, #eef2f7 25%, #f6f8fb 50%, #eef2f7 75%); background-size: 200% 100%; animation: plist-shimmer 1.2s infinite linear; }
@keyframes plist-shimmer { to { background-position: -200% 0; } }
.plist-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-top: 1px solid var(--border); font-weight: 600; font-size: .85rem; }
.plist-foot:hover { background: var(--primary-soft); }
.min-w-0 { min-width: 0; }
@media (max-width: 575.98px) { .plist-thumbs { display: none; } .plist-time { flex-basis: 48px; } }

/* Raporlar: dönem seçici ve dışa aktarma */
.report-hero { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, var(--navy) 0%, #2b4a74 60%, #2f80ed 130%); box-shadow: var(--shadow); }
.report-hero-info { flex: 1 1 200px; min-width: 0; }
.report-hero-eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; font-weight: 600; }
.report-hero-range { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.report-hero-sub { font-size: .8rem; opacity: .75; }
.report-periods { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.12); flex-wrap: wrap; }
.report-period { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: rgba(255,255,255,.85); padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .86rem; cursor: pointer; transition: background .12s, color .12s; }
.report-period:hover { background: rgba(255,255,255,.12); color: #fff; }
.report-period.active { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.report-period-custom { display: none; cursor: default; }
.report-period-custom.active { display: inline-flex; }
.report-exports { display: flex; gap: 8px; flex-wrap: wrap; }
.report-export { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 12px; padding: 9px 16px 9px 12px; color: #fff; text-align: left; transition: transform .12s, box-shadow .12s; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.report-export:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.report-export i { font-size: 1.5rem; }
.report-export b { display: block; font-size: .88rem; }
.report-export small { display: block; font-size: .7rem; opacity: .85; }
.report-export.excel { background: linear-gradient(135deg, #1e9e57, #27ae60); }
.report-export.pdf { background: linear-gradient(135deg, #d64545, #eb5757); }
.report-export.word { background: linear-gradient(135deg, #1d4f91, #2b579a); }
.report-export.ppt { background: linear-gradient(135deg, #c2410c, #ea580c); }
.report-jobs { max-height: 520px; overflow-y: auto; }
.report-jobs thead th { position: sticky; top: 0; z-index: 1; }
.report-jobs tr[data-href] { cursor: pointer; }
@media (max-width: 767.98px) { .report-periods, .report-exports { width: 100%; } .report-period, .report-export { flex: 1 1 auto; justify-content: center; } }

/* Zimmet: telefon tipi (dijital / IP) bilgisi */
.phone-kind { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; font-size: .86rem; border: 1px solid; }
.phone-kind i { font-size: 1.2rem; }
.phone-kind.digital { background: var(--primary-soft); color: var(--primary); border-color: rgba(47,128,237,.3); }
.phone-kind.ip { background: #fdf0e4; color: #b8651a; border-color: rgba(242,153,74,.4); }
.phone-kind-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; margin-left: 6px; vertical-align: middle; }
.phone-kind-badge.digital { background: var(--primary-soft); color: var(--primary); }
.phone-kind-badge.ip { background: #fdf0e4; color: #b8651a; }
.ocr-card .form-control::placeholder { font-weight: 500; color: #a7b0bb; }

/* ---------- Sesle yazma ---------- */
.voice-field { position: relative; }
.voice-field > .form-control { padding-right: 44px; }
.voice-field > .form-control-sm { padding-right: 36px; }
.voice-btn { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #eef3fb; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; transition: background .15s, color .15s; z-index: 3; }
.voice-field > .form-control-sm + .voice-btn { width: 24px; height: 24px; top: 4px; right: 5px; font-size: .8rem; }
.voice-btn:hover { background: var(--primary); color: #fff; }
.voice-btn.listening { background: var(--danger); color: #fff; animation: voicePulse 1.2s ease-in-out infinite; }
@keyframes voicePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(235,87,87,.45); } 50% { box-shadow: 0 0 0 7px rgba(235,87,87,0); } }

/* ---------- SAP sipariş no ---------- */
.order-no-box { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: #fbfcfd; transition: background .2s, border-color .2s; }
.order-no-box.missing { background: #fff8ef; border-color: rgba(242,153,74,.45); }
.order-no-box.ok { background: #f3faf6; border-color: #a9dcbd; }
.order-no-box #j_order_no { font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.order-no-warn { display: flex; gap: 10px; align-items: flex-start; color: #9a5412; font-size: .84rem; line-height: 1.35; padding: 6px 0; }
.order-no-warn i { color: #f2994a; font-size: 1.15rem; margin-top: 1px; }
.order-chip { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .78rem; color: var(--navy); background: #eef3fb; border-radius: 8px; padding: 2px 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.order-chip.missing { background: #fff1e3; color: #b8651a; font-weight: 600; }
.sap-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 6px; border-radius: 14px; border: 1px solid #cfe0fb;
    background: linear-gradient(135deg, #f4f8ff 0%, #e7f0fe 100%); box-shadow: 0 4px 14px rgba(47,128,237,.12); }
.sap-pill .sap-ico { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #fff;
    background: linear-gradient(135deg, #2f80ed 0%, #1b4fb3 100%); box-shadow: 0 4px 10px rgba(47,128,237,.35); }
.sap-pill .sap-txt { display: flex; flex-direction: column; line-height: 1.15; padding-right: 2px; }
.sap-pill .sap-txt small { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5a7bb0; }
.sap-pill .sap-txt b { font-size: 1.15rem; font-weight: 800; color: var(--navy); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.sap-pill .copy-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; color: #2f80ed; box-shadow: 0 1px 3px rgba(16,24,40,.08); }
.sap-pill .copy-btn:hover { background: #2f80ed; color: #fff; }
.sap-pill .copy-btn.copied { background: #27ae60; color: #fff; }

/* ---------- Ofis işlem / SAP durumu ---------- */
.office-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.office-badge.pending { background: #fdf0e4; color: #b8651a; }
.office-badge.processed { background: #e6f6ed; color: #1e8449; }
button.office-badge { border: 1px dashed transparent; cursor: pointer; }
button.office-badge:hover { border-color: currentColor; }
.office-card { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-radius: var(--radius); border: 1px solid; }
.office-card.pending { background: #fff8ef; border-color: rgba(242,153,74,.45); }
.office-card.processed { background: #f1faf5; border-color: #a9dcbd; }
.office-card .oc-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex: 0 0 auto; }
.office-card.pending .oc-icon { background: #fde3c7; color: #b8651a; }
.office-card.processed .oc-icon { background: #ccefdb; color: #1e8449; }
.office-card .oc-text { flex: 1 1 220px; min-width: 0; }
.office-card .oc-title { font-weight: 800; color: var(--navy); }
.office-card .oc-sub { font-size: .8rem; color: var(--muted); }

/* ---------- Açıklamalı fotoğraf ızgarası ---------- */
.photo-grid.captioned { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.photo-item { display: flex; flex-direction: column; gap: 6px; }
.photo-item .photo-caption { font-size: .8rem; border-radius: 10px; }
.photo-cap-text { display: flex; align-items: flex-start; gap: 4px; font-size: .84rem; font-weight: 500; color: var(--anthracite, #1f2933); margin-top: 8px; padding: 7px 10px; line-height: 1.35; word-break: break-word; white-space: pre-wrap; background: #f4f7fb; border: 1px solid var(--border); border-radius: 10px; }
.photo-cap-text .cap { flex: 1 1 auto; min-width: 0; }
.photo-cap-text.empty { color: var(--muted); font-style: italic; font-weight: 400; background: transparent; border-style: dashed; }
.photo-cap-edit { border: 0; background: none; color: var(--primary); font-size: .75rem; padding: 0; margin-left: 4px; }

/* ---------- Cihaz etiketi çekimi ---------- */
.label-capture { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: center; }
@media (max-width: 767.98px) { .label-capture { grid-template-columns: 1fr; } }
.zimmet-photo.wide { aspect-ratio: 16 / 9; background: linear-gradient(180deg, #fafbfc 0%, #f1f4f8 100%); }
.zimmet-photo .zp-icon { width: 58px; height: 58px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; }
.zimmet-photo .zp-title { font-weight: 700; color: var(--navy); }
.zimmet-photo .zp-sub { font-size: .76rem; color: var(--muted); text-align: center; padding: 0 12px; }
.label-tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.label-tips li { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); }
.label-tips i { width: 32px; height: 32px; border-radius: 10px; background: #eef3fb; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }

/* Yapılan İşler: durum / tür sekmeleri */
.list-tabs { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 4px 20px 6px; }
.seg-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: #eef2f7; overflow-x: auto; max-width: 100%; }
.seg-tab { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: .85rem; padding: 7px 14px; border-radius: 10px; white-space: nowrap; transition: background .12s, color .12s; }
.seg-tab:hover { color: var(--navy); }
.seg-tab.active { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.seg-tab .cnt { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(27,42,65,.08); font-size: .74rem; text-align: center; }
.seg-tab.active .cnt { background: var(--primary); color: #fff; }
.seg-tabs-sm .seg-tab { font-size: .8rem; padding: 6px 12px; }
.seg-tab-sap { color: #b8651a; }
.seg-tab-sap .cnt { background: rgba(242,153,74,.18); color: #b8651a; }
.seg-tab-sap.active { color: #8a4a10; box-shadow: 0 1px 3px rgba(16,24,40,.12), inset 0 0 0 1px rgba(242,153,74,.55); }
.seg-tab-sap.active .cnt { background: #f2994a; color: #fff; }

/* Kopyala butonu (detay alanları) */
.copy-btn { border: 0; background: transparent; color: var(--muted); padding: 2px 6px; border-radius: 8px; line-height: 1; font-size: .9rem; }
.copy-btn:hover { background: var(--primary-soft); color: var(--primary); }
.copy-btn.copied { color: #27ae60; }

/* İstanbul Yazılım imzası */
.made-by { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: .9rem; font-weight: 700; color: var(--navy); text-decoration: none; padding: 6px 14px; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.made-by:hover { background: rgba(9, 40, 87, .05); }
.made-by:hover { color: var(--navy); }
.made-by .heart { color: #e53935; animation: heartbeat 1.6s ease-in-out infinite; display: inline-block; }
.made-by b { color: var(--navy); font-weight: 800; letter-spacing: .01em; }
.made-by .heart { font-size: 1.45em; margin: 0 3px; line-height: 1; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.14); } }
.usage-total { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e9f7ef; color: #1e7e4a; font-weight: 700; font-size: .84rem; white-space: nowrap; margin: 1px 0; }
.usage-total small { font-weight: 600; opacity: .8; }
.auth-page { flex-direction: column; gap: 18px; }
.auth-logo { display: block; width: 210px; max-width: 70%; height: auto; margin: 0 auto 18px; }
.auth-made-by { color: #fff; }
.auth-made-by b { color: #fff; }
.auth-made-by:hover { color: #fff; }
.brand-mark-logo { background: #fff; padding: 6px; }
.brand-mark-logo img { width: 100%; height: 100%; object-fit: contain; }
.app-footer { display: flex; justify-content: center; padding: 28px 0 0; }

/* Giriş sayfası */
.auth-page { background: radial-gradient(900px 500px at 0% 0%, rgba(47,128,237,.35) 0%, transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(18,163,163,.22) 0%, transparent 60%), linear-gradient(160deg, #0d1b31 0%, #15263f 55%, #1b3150 100%); }
.auth-shell { width: 100%; max-width: 980px; display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.35); background: #fff; }
.auth-shell .auth-card { max-width: none; border-radius: 0; box-shadow: none; padding: 44px 42px; display: flex; flex-direction: column; justify-content: center; }
.auth-aside { position: relative; overflow: hidden; color: #fff; padding: 44px 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    background: linear-gradient(150deg, #0b4fb3 0%, #1565d8 45%, #0e7c86 100%); }
.auth-aside-top, .auth-features { position: relative; z-index: 1; }
.auth-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.auth-aside h2 { font-size: 2rem; font-weight: 800; line-height: 1.15; margin: 18px 0 12px; letter-spacing: -.01em; }
.auth-aside p { color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.55; margin: 0; max-width: 360px; }
.auth-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.auth-features li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.auth-features li > i { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.18); font-size: 1.05rem; }
.auth-features b { display: block; font-size: .92rem; }
.auth-features span { display: block; font-size: .8rem; color: rgba(255,255,255,.75); }
.auth-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.auth-orb.o1 { width: 320px; height: 320px; right: -120px; top: -110px; background: radial-gradient(circle, rgba(255,255,255,.22) 0%, transparent 70%); }
.auth-orb.o2 { width: 260px; height: 260px; left: -90px; bottom: -110px; background: radial-gradient(circle, rgba(18,200,190,.35) 0%, transparent 70%); }
.auth-card h1 { font-size: 1.55rem; }
.auth-card .form-label { font-weight: 600; font-size: .86rem; color: var(--navy); }
.auth-input { border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; background: #f8fafd; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.auth-input:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(47,128,237,.14); }
.auth-input .input-group-text, .auth-input .form-control, .auth-input .btn { border: 0; background: transparent; min-height: 50px; box-shadow: none !important; }
.auth-input .input-group-text { color: var(--muted); padding-left: 16px; }
.auth-input .form-control { font-size: 1rem; }
.auth-input .password-toggle { color: var(--muted); }
.auth-input .password-toggle:hover { color: var(--navy); background: transparent; }
.auth-submit { min-height: 52px !important; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 1rem;
    background: linear-gradient(135deg, #2f80ed, #1a5fcc); border: 0; box-shadow: 0 10px 22px rgba(47,128,237,.35); transition: transform .15s ease, box-shadow .15s ease; }
.auth-submit:hover, .auth-submit:focus-visible { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(47,128,237,.42); }
.auth-submit i { transition: transform .15s ease; }
.auth-submit:hover i { transform: translateX(3px); }
.auth-made-by { font-size: .95rem; }
@media (max-width: 860px) {
    .auth-shell { grid-template-columns: 1fr; max-width: 440px; border-radius: 22px; }
    .auth-aside { display: none; }
    .auth-shell .auth-card { padding: 34px 26px; }
}

/* ==========================================================================
   Araç Takip
   ========================================================================== */
:root { --vteal: #0e8a7e; --vteal-2: #12a594; --vamber: #f2994a; --vamber-2: #e07b22; }
.nav-section { display: flex; align-items: center; gap: 8px; margin: 14px 4px 4px; padding: 10px 10px 6px; border-top: 1px solid rgba(255,255,255,.08); color: #7fe0d3; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nav-item.nav-vehicle.active { background: var(--vteal); box-shadow: 0 4px 12px rgba(14,138,126,.4); }
@media (min-width: 992px) and (max-width: 1279.98px) { .nav-section span { display: none; } .nav-section { justify-content: center; } }

.btn-warning-solid { background: linear-gradient(135deg, var(--vamber), var(--vamber-2)); border: 0; color: #fff; font-weight: 700; }
.btn-warning-solid:hover, .btn-warning-solid:focus-visible { color: #fff; filter: brightness(1.05); box-shadow: 0 8px 18px rgba(224,123,34,.35); }
.btn-warning-solid:disabled { color: #fff; opacity: .55; }

/* Plaka */
.plate { display: inline-flex; align-items: stretch; border: 2px solid #1b2a41; border-radius: 7px; overflow: hidden; background: #fff; font-weight: 800; color: #111; line-height: 1; box-shadow: 0 2px 6px rgba(16,24,40,.08); white-space: nowrap; }
.plate-tr { background: #1f4fbf; color: #fff; font-size: .62em; padding: 0 5px; display: inline-flex; align-items: flex-end; padding-bottom: 4px; letter-spacing: .02em; }
.plate-no { padding: 7px 10px; font-size: 1.05rem; letter-spacing: .06em; font-family: "DIN Alternate", "Arial Narrow", Arial, sans-serif; }
.plate.sm .plate-no { padding: 4px 7px; font-size: .82rem; }
.plate.sm { border-width: 1.5px; border-radius: 5px; }
.plate.lg .plate-no { padding: 10px 14px; font-size: 1.45rem; }

/* Hero */
.vhero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 26px; border-radius: 20px; margin-bottom: 22px; color: #fff;
    background: radial-gradient(500px 240px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #0b5f57 0%, var(--vteal) 55%, var(--vteal-2) 100%); box-shadow: 0 14px 30px rgba(14,138,126,.25); }
.vhero-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: .75rem; font-weight: 700; }
.vhero h2 { font-size: 1.5rem; font-weight: 800; margin: 10px 0 4px; }
.vhero p { margin: 0; opacity: .85; font-size: .9rem; }
.vhero-stats { display: flex; gap: 10px; }
.vstat { min-width: 92px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); text-align: center; backdrop-filter: blur(4px); }
.vstat span { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.vstat small { font-size: .74rem; opacity: .85; font-weight: 600; }
.vstat.in-use span { color: #ffd59e; }
.vstat.garage span { color: #b7f5e9; }
.vsection-title { font-size: 1rem; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 8px; }

/* Durum hapı */
.vpill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.vpill .dot, .vtabs .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.vpill.in-use { background: #fff1e3; color: #c2610f; }
.vpill.in-use .dot { animation: vpulse 1.6s ease-in-out infinite; }
.vpill.garage { background: #e3f7f2; color: #0b7a6e; }
.vpill.service { background: #eef1f5; color: #5b6676; }
.vpill.passive { background: #f3f4f6; color: #8a94a3; }
.vpill.fine-confirmed { background: #fde8e8; color: #c62828; }
.vpill.fine-pending { background: #fff6e0; color: #a86b00; }
@keyframes vpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242,153,74,.6); } 50% { box-shadow: 0 0 0 5px rgba(242,153,74,0); } }
.vflag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 8px; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.vflag.damage { background: #fdecec; color: #c62828; }
.vflag.fine { background: #fde8f1; color: #ad1457; }
.vflag.legacy { background: #f1f3f6; color: #6b7785; }
.vflag.photo { background: #e8f1fd; color: #1f62c4; }

/* Araç kartları */
.vcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.vcard { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border-top: 4px solid #12a594; transition: transform .15s ease, box-shadow .15s ease; }
.vcard:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16,24,40,.1); }
.vcard.status-in_use { border-top-color: var(--vamber); }
.vcard.status-service { border-top-color: #9aa5b4; }
.vcard.passive { opacity: .65; }
.vcard.skeleton { min-height: 260px; background: linear-gradient(90deg, #f1f3f6 25%, #e8ebf0 50%, #f1f3f6 75%); background-size: 200% 100%; animation: plist-shimmer 1.2s linear infinite; }
.vcard-top { display: flex; gap: 14px; padding: 16px 16px 12px; }
.vcard-photo { width: 116px; height: 86px; flex: 0 0 auto; border-radius: 14px; overflow: hidden; background: #eef3f8; display: flex; align-items: center; justify-content: center; }
.vcard-photo img { width: 100%; height: 100%; object-fit: cover; }
.vcard-photo.placeholder i { font-size: 2.4rem; color: #b8c6d6; }
.vcard-head { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vcard-head .plate { align-self: flex-start; }
.vcard-name { color: var(--muted); font-size: .84rem; font-weight: 600; }
.vcard-edit { color: var(--muted); font-size: 1.1rem; }
.vcard-loan { margin: 0 16px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(180deg, #fff8f0, #fff3e6); border: 1px solid #fde1c3; display: grid; gap: 10px; }
.vl-team { display: flex; align-items: center; gap: 10px; }
.vl-team b { display: block; color: var(--navy); font-size: .98rem; }
.vl-team div span { display: block; color: var(--muted); font-size: .82rem; }
.vl-avatar { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; background: linear-gradient(135deg, var(--vamber), var(--vamber-2)); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.vl-avatar.lg { width: 46px; height: 46px; border-radius: 14px; font-size: 1.15rem; background: linear-gradient(135deg, var(--vteal), var(--vteal-2)); }
.vl-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vl-meta small { display: block; color: #a0672b; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.vl-meta b { color: var(--navy); font-size: .9rem; }
.vl-purpose { font-size: .82rem; color: #7a5a37; display: flex; gap: 6px; align-items: flex-start; }
.vcard-idle { margin: 0 16px; padding: 14px; border-radius: 16px; background: #effaf7; border: 1px solid #c9eee5; display: flex; gap: 12px; align-items: center; }
.vcard-idle > i { font-size: 1.6rem; color: var(--vteal); }
.vcard-idle b { display: block; color: #0b5f57; }
.vcard-idle span { display: block; font-size: .8rem; color: var(--muted); }
.vcard-idle.service { background: #f4f6f9; border-color: #e1e6ed; }
.vcard-idle.service > i, .vcard-idle.service b { color: #5b6676; }
.vcard-actions { display: flex; gap: 8px; padding: 14px 16px 6px; }
.vcard-actions .btn:first-child { flex: 1; min-height: 46px; border-radius: 13px; font-weight: 700; }
.vcard-actions .btn-light { width: 46px; min-height: 46px; border-radius: 13px; }
.vcard-foot { margin-top: auto; display: flex; gap: 16px; padding: 10px 16px 14px; font-size: .8rem; }
.vcard-foot a { color: var(--muted); display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.vcard-foot a:hover { color: var(--vteal); }

/* Son hareketler */
.vtimeline { display: flex; flex-direction: column; }
.vt-row { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--border); color: inherit; }
.vt-row:last-child { border-bottom: 0; }
.vt-row:hover { background: #f8fafc; }
.vt-icon { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; }
.vt-icon.in-use { background: #fff1e3; color: #c2610f; }
.vt-icon.garage { background: #e3f7f2; color: #0b7a6e; }
.vt-main { flex: 1; min-width: 0; }
.vt-main b { color: var(--navy); }
.vt-main small, .vt-time small { display: block; color: var(--muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-time { text-align: right; white-space: nowrap; font-size: .85rem; }
.vt-flags { display: flex; gap: 4px; }
@media (max-width: 575.98px) { .vt-flags { display: none; } .vcards { grid-template-columns: 1fr; } .vhero-stats { width: 100%; } .vstat { flex: 1; min-width: 0; } }

/* Modallar */
.vmodal .modal-content { overflow: hidden; }
.vmodal-head { gap: 12px; color: #fff; border: 0; padding: 18px 22px; }
.vmodal-head.give { background: linear-gradient(135deg, #d9731b, var(--vamber)); }
.vmodal-head.return { background: linear-gradient(135deg, #0b5f57, var(--vteal-2)); }
.vmodal-head .modal-title { font-weight: 800; }
.vmodal-head .plate { box-shadow: none; }
.vmodal-icon { width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.col-12:has(> .team-warning[hidden]), .col-12:has(> .fine-who[hidden]) { display: none; }
.team-warning { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; font-size: .86rem; }
.team-warning i { font-size: 1.1rem; margin-top: 1px; }
.team-warning small { display: block; opacity: .8; margin-top: 2px; }
.team-warning.danger { background: #fdecec; color: #a12020; border: 1px solid #f7caca; }
.team-warning.info { background: #eef6ff; color: #1f4f8f; border: 1px solid #d3e5fb; }
.vphoto-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.vphoto-head b { display: block; color: var(--navy); }
.vphoto-head span { display: block; font-size: .8rem; color: var(--muted); }
.vphoto-count { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; background: #fdecec; color: #c62828; font-weight: 800; font-size: .8rem; }
.vphoto-count.done { background: #e3f7f2; color: #0b7a6e; }
.vphoto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 767.98px) { .vphoto-grid { grid-template-columns: repeat(2, 1fr); } }
.vphoto-slot { position: relative; aspect-ratio: 4 / 3.4; border: 2px dashed #c9d3df; border-radius: 16px; background: #f8fafc; cursor: pointer; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: border-color .15s ease, background .15s ease, transform .15s ease; margin: 0; }
.vphoto-slot:hover { border-color: var(--vteal); background: #f0fbf8; transform: translateY(-1px); }
.vphoto-slot.invalid { border-color: var(--danger); background: #fff5f5; }
.vphoto-slot.filled { border-style: solid; border-color: var(--vteal); }
.vphoto-empty { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 28px; color: #9aa8b8; }
.vcar { position: relative; display: inline-block; width: 30px; height: 50px; border: 3px solid #c3cfdc; border-radius: 12px 12px 8px 8px; background: #fff; }
.vcar::before { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 9px; border-radius: 4px 4px 2px 2px; background: #dbe3ec; }
.vcar::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 5px; height: 6px; border-radius: 2px; background: #e7edf3; }
.vcar-front { border-top: 6px solid var(--vteal-2); }
.vcar-back { border-bottom: 6px solid var(--vteal-2); }
.vcar-right { border-right: 6px solid var(--vteal-2); }
.vcar-left { border-left: 6px solid var(--vteal-2); }
.vphoto-empty .vcar { transform: scale(1.25); }
.vphoto-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vphoto-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; text-align: center; background: linear-gradient(0deg, rgba(255,255,255,.96), rgba(255,255,255,.85)); }
.vphoto-slot.filled .vphoto-label { background: linear-gradient(0deg, rgba(0,0,0,.65), transparent); color: #fff; }
.vphoto-label b { display: block; font-size: .9rem; color: var(--navy); }
.vphoto-slot.filled .vphoto-label b { color: #fff; }
.vphoto-label em { display: block; font-style: normal; font-size: .68rem; color: var(--muted); }
.vphoto-slot.filled .vphoto-label em { color: rgba(255,255,255,.85); }
.vphoto-ok { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--vteal); color: #fff; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.vphoto-slot.filled .vphoto-ok { display: inline-flex; }
.vphoto-ref { position: absolute; top: 6px; left: 6px; z-index: 2; width: 42%; border-radius: 9px; overflow: hidden; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.25); background: #fff; }
.vphoto-ref img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.vphoto-ref small { display: block; font-size: .58rem; text-align: center; font-weight: 700; color: #b05a0c; padding: 1px 0; }
.return-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
@media (max-width: 767.98px) { .return-summary { grid-template-columns: 1fr 1fr; } }
.rs-item { display: flex; gap: 8px; align-items: center; padding: 10px; border-radius: 12px; background: #f4faf9; border: 1px solid #d5efe9; }
.rs-item i { color: var(--vteal); font-size: 1.1rem; }
.rs-item small { display: block; font-size: .68rem; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.rs-item b { display: block; font-size: .85rem; color: var(--navy); }
.damage-toggle { position: relative; }
.damage-toggle input { position: absolute; opacity: 0; }
.damage-toggle label { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; min-height: 42px; transition: all .15s ease; }
.damage-toggle label i { font-size: 1.2rem; color: #b8c2cf; }
.damage-toggle label b { display: block; font-size: .86rem; color: var(--navy); }
.damage-toggle label small { display: block; font-size: .72rem; color: var(--muted); }
.damage-toggle input:checked + label { border-color: var(--danger); background: #fff3f3; }
.damage-toggle input:checked + label i, .damage-toggle input:checked + label b { color: #c62828; }
.damage-toggle input:focus-visible + label { box-shadow: 0 0 0 .2rem rgba(235,87,87,.2); }
.fine-who { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; font-size: .86rem; }
.fine-who i { font-size: 1.15rem; }
.fine-who small { display: block; opacity: .8; }
.fine-who.hit { background: #fff1e3; color: #8a4a0c; border: 1px solid #fde1c3; }
.fine-who.miss { background: #eef1f5; color: #4a5565; border: 1px solid #e1e6ed; }

/* Emanet listesi */
.vtabs { display: flex; gap: 6px; flex-wrap: wrap; }
.vtabs button { border: 1px solid var(--border); background: #fff; color: var(--anthracite); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.vtabs button:hover { border-color: #b8d0f0; }
.vtabs button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.vtabs .dot.in-use { background: var(--vamber); }
.vtabs .dot.garage { background: var(--vteal-2); }
.vtable thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; background: #f8fafc; border-bottom: 1px solid var(--border); padding: 10px 12px; white-space: nowrap; }
.vtable td { padding: 12px; border-color: var(--border); }
.vtable tr.row-open td { background: #fffaf3; }
.vtable .btn-detail { display: inline-flex; align-items: center; gap: 6px; }
.vt-purpose { max-width: 220px; }
.vpager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px; font-size: .85rem; color: var(--muted); }
.vpager:empty { display: none; }

/* Emanet detayı */
.loan-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); margin-bottom: 14px; border-left: 6px solid var(--vteal-2); }
.loan-hero.open { border-left-color: var(--vamber); background: linear-gradient(90deg, #fffaf3, #fff 40%); }
.lh-main { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lh-title h2 { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin: 0; }
.lh-title div { color: var(--muted); }
.lh-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.lh-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.loan-tiles { margin-bottom: 14px; }
.desc-box.damage { background: #fff5f5; border-color: #f7caca; }
.desc-box.damage .desc-box-head { color: #c62828; }
.cmp-grid { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 10px; align-items: stretch; }
.cmp-head { font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; padding: 6px 10px; border-radius: 10px; display: flex; align-items: center; gap: 6px; }
.cmp-head.give { background: #fff1e3; color: #c2610f; }
.cmp-head.return { background: #e3f7f2; color: #0b7a6e; }
.cmp-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--navy); border-radius: 14px; background: #f6f8fb; }
.cmp-side .vcar { transform: scale(.9); }
.cmp-photo { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #eef2f6; }
.cmp-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
a.cmp-photo:hover img { transform: scale(1.04); }
.cmp-photo.missing { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #9aa8b8; font-size: .8rem; border: 2px dashed #d7dee7; background: #fafbfc; }
.cmp-photo.missing i { font-size: 1.5rem; }
.cmp-time { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: .7rem; }
@media (max-width: 575.98px) { .cmp-grid { grid-template-columns: 56px 1fr 1fr; gap: 6px; } .cmp-head { font-size: .66rem; padding: 4px 6px; } }

/* Ceza kontrolü */
.who-card { padding: 22px; border-radius: 20px; background: linear-gradient(135deg, #1b2a41, #24364f); color: #fff; box-shadow: 0 14px 30px rgba(27,42,65,.25); }
.who-card .form-label { color: rgba(255,255,255,.8); }
.who-card .form-control, .who-card .form-select { border: 0; min-height: 46px; }
.who-card .btn-dark { background: var(--vamber); border: 0; min-height: 46px; font-weight: 700; }
.who-card .btn-dark:hover { background: var(--vamber-2); }
.who-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.who-head h2 { font-size: 1.25rem; font-weight: 800; margin: 0 0 4px; }
.who-head p { margin: 0; color: rgba(255,255,255,.75); font-size: .88rem; max-width: 640px; }
.who-icon { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.who-result { margin-top: 16px; padding: 18px; border-radius: 16px; background: #fff; color: var(--anthracite); animation: vfade .25s ease; }
@keyframes vfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.who-result.hit { border-left: 6px solid var(--vamber); }
.who-result.miss { border-left: 6px solid var(--vteal-2); }
.wr-head { display: flex; gap: 14px; align-items: flex-start; }
.wr-head > i { font-size: 2rem; color: var(--vamber); }
.who-result.miss .wr-head > i { color: var(--vteal); }
.wr-head small { color: var(--muted); font-weight: 600; }
.wr-head h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 2px 0; }
.wr-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 14px; }
.wr-meta > div { padding: 10px 12px; border-radius: 12px; background: #f6f8fb; }
.wr-meta small { display: block; font-size: .68rem; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.wr-meta b { display: block; color: var(--navy); }
.wr-meta span { display: block; font-size: .78rem; color: var(--muted); }
.wr-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.wr-thumbs a { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; display: block; }
.wr-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.wr-thumbs span { position: absolute; left: 6px; bottom: 6px; padding: 1px 7px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: .7rem; font-weight: 700; }
.wr-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* Ekipler */
.vteam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.vteam { border: 1px solid var(--border); border-radius: 18px; padding: 16px; background: #fff; transition: box-shadow .15s ease, transform .15s ease; }
.vteam:hover { box-shadow: 0 10px 24px rgba(16,24,40,.08); transform: translateY(-1px); }
.vteam.passive { opacity: .6; }
.vteam-head { display: flex; align-items: center; gap: 12px; }
.vteam-head h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin: 0; }
.vteam-head div span { font-size: .8rem; color: var(--muted); }
.vteam-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 10px; }
.vteam-stats > * { text-align: center; padding: 8px 4px; border-radius: 12px; background: #f6f8fb; color: var(--navy); }
.vteam-stats a:hover { background: #e8f1fd; }
.vteam-stats b { display: block; font-size: 1.15rem; font-weight: 800; }
.vteam-stats small { font-size: .66rem; color: var(--muted); font-weight: 600; }
.vteam-stats .warn { background: #fff1e3; color: #c2610f; }
.vteam-stats .bad { background: #fdecec; color: #c62828; }
.vteam-foot { font-size: .76rem; color: var(--muted); }

/* Giriş: Araç Takip modu */
.auth-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: #eef2f7; margin-bottom: 18px; }
.auth-mode button { border: 0; background: transparent; border-radius: 11px; padding: 10px 8px; font-weight: 700; font-size: .9rem; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: all .18s ease; }
.auth-mode button.active { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(16,24,40,.1); }
.mode-vehicle .auth-mode button.active { color: var(--vteal); }
[data-mode-panel="arac"] { display: none; }
.mode-vehicle [data-mode-panel="arac"] { display: block; }
.mode-vehicle ul[data-mode-panel="arac"] { display: grid; }
.mode-vehicle [data-mode-panel="is"] { display: none; }
.mode-vehicle .auth-aside { background: radial-gradient(500px 300px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(150deg, #0b5f57 0%, var(--vteal) 55%, var(--vteal-2) 100%); }
.mode-vehicle .auth-submit { background: linear-gradient(135deg, var(--vteal), var(--vteal-2)); border-color: var(--vteal); }
.mode-vehicle .auth-submit:hover, .mode-vehicle .auth-submit:focus-visible { box-shadow: 0 14px 26px rgba(14,138,126,.4); }
.mode-vehicle .auth-input:focus-within { border-color: var(--vteal); box-shadow: 0 0 0 4px rgba(14,138,126,.14); }

/* Araç Takip – iki tarih arası rapor */
.vpresets { display: flex; gap: 6px; flex-wrap: wrap; }
.vpresets button { border: 1px solid var(--border); background: #fff; color: var(--anthracite); border-radius: 999px; padding: 5px 13px; font-size: .8rem; font-weight: 600; }
.vpresets button:hover { border-color: var(--vteal); color: var(--vteal); }
.vpresets button.active { background: var(--vteal); border-color: var(--vteal); color: #fff; }
.vpresets-label { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--muted); margin-right: 4px; }

/* ---- Araç raporu */
.rhero { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border-radius: 20px; color: #fff;
    background: radial-gradient(circle at 85% -20%, rgba(255,255,255,.18), transparent 45%), linear-gradient(135deg, #0b5f57 0%, var(--vteal) 55%, var(--vteal-2) 100%); box-shadow: 0 10px 30px -12px rgba(11,95,87,.55); }
.rhero-main { display: flex; align-items: center; gap: 16px; min-width: 0; }
.rhero-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(255,255,255,.16); flex-shrink: 0; }
.rhero h2 { font-size: 1.3rem; font-weight: 800; margin: 0; letter-spacing: -.2px; }
.rhero-range { font-size: .9rem; opacity: .92; margin-top: 2px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.rhero-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 4px; }
.rhero-tags span { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.2); font-weight: 700; font-size: .8rem; }
.rhero-actions { display: flex; gap: 8px; }
.rhero-actions .btn { border-radius: 12px; font-weight: 700; padding: 9px 18px; border: 0; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.rbtn-excel { background: #fff; color: #1d7a46; }
.rbtn-excel:hover { background: #eafaf0; color: #15603a; }
.rbtn-pdf { background: #fff; color: #c0392b; }
.rbtn-pdf:hover { background: #fdeeee; color: #a02a1e; }

.rfilter { padding: 16px 18px; }
.rperiods { display: flex; gap: 4px; flex-wrap: wrap; padding: 4px; background: #f2f5f8; border-radius: 14px; width: fit-content; max-width: 100%; }
.rperiods button { border: 0; background: transparent; color: var(--anthracite); border-radius: 10px; padding: 7px 14px; font-size: .84rem; font-weight: 600; transition: background .12s, color .12s; }
.rperiods button:hover { background: #fff; color: var(--vteal); }
.rperiods button.active { background: #fff; color: var(--vteal); box-shadow: 0 1px 4px rgba(16,42,67,.14); font-weight: 800; }
.rfilter .rcustom { display: none; }
.rfilter.show-custom .rcustom { display: block; }

#reportBody { transition: opacity .15s; }
#reportBody.is-loading { opacity: .55; pointer-events: none; }
.rkpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 12px; }
.rkpi { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-radius: 16px; transition: transform .15s, box-shadow .15s; }
.rkpi:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -12px rgba(16,42,67,.35); }
.rkpi-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; background: rgba(14,138,126,.1); color: var(--vteal); flex-shrink: 0; }
.rkpi b { display: block; font-size: 1.15rem; font-weight: 800; color: var(--navy); line-height: 1.2; white-space: nowrap; }
.rkpi > div { min-width: 0; max-width: 100%; }
.rkpi small { display: block; color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rkpi.warn .rkpi-icon { background: rgba(242,153,74,.14); color: #d9731b; }
.rkpi.bad { border-color: #f6d0d0; background: linear-gradient(180deg, #fff, #fff7f7); }
.rkpi.bad .rkpi-icon { background: rgba(235,87,87,.12); color: #d64545; }
.rkpi.bad b { color: #c03b3b; }
.rkpi.ok .rkpi-icon { background: rgba(39,174,96,.1); color: #1e8449; }

.rtabs { display: flex; gap: 2px; padding: 8px 10px 0; border-bottom: 1px solid var(--border); overflow-x: auto; }
.rtabs button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; padding: 10px 14px 12px; font-weight: 700; font-size: .88rem; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.rtabs button:hover { color: var(--navy); }
.rtabs button.active { color: var(--vteal); border-bottom-color: var(--vteal); }
.rtabs .rcount { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #eef1f5; color: var(--anthracite); font-size: .74rem; text-align: center; }
.rtabs button.active .rcount { background: var(--vteal); color: #fff; }
.rtabs button.alert-tab .rcount { background: #fdecec; color: #c62828; }
.rtabs button.alert-tab.active .rcount { background: #d64545; color: #fff; }
.rtable tbody tr.row-alert td:first-child { box-shadow: inset 3px 0 0 #eb5757; }
.rlink { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; color: var(--navy); text-align: left; }
.rlink:hover b { color: var(--vteal); text-decoration: underline; }
.ravatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: rgba(14,138,126,.12); color: var(--vteal); flex-shrink: 0; }
.ravatar.team { border-radius: 10px; background: rgba(47,128,237,.1); color: #2f6fd0; }
.rbar { flex: 1; height: 8px; border-radius: 99px; background: #eef1f5; overflow: hidden; min-width: 60px; }
.rbar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--vteal), var(--vteal-2)); }
.rbadge { display: inline-block; min-width: 24px; padding: 2px 8px; border-radius: 999px; font-weight: 800; font-size: .78rem; text-align: center; }
.rbadge.bad { background: #fdecec; color: #c62828; }
.rbadge.warn { background: #fff1e3; color: #b45309; }
@media (max-width: 767.98px) { .rhero { padding: 16px; } .rhero-actions { width: 100%; } .rhero-actions .btn { flex: 1; } .rperiods { width: 100%; } }

/* ---- Kaza / hasar */
.vmodal-head.damage { background: linear-gradient(135deg, #b42318, #e5534b); }
.dtype-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dtype-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; font-weight: 600; font-size: .86rem; cursor: pointer; transition: all .12s; }
.dtype-chip:hover { border-color: #e5534b; color: #b42318; }
.btn-check:checked + .dtype-chip { background: #fdecec; border-color: #e5534b; color: #b42318; box-shadow: 0 0 0 3px rgba(229,83,75,.15); }
.dphoto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dphoto { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #f5f7fa; }
.dphoto img { width: 100%; height: 100%; object-fit: cover; }
.dphoto button { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(16,24,40,.7); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.dphoto button:hover { background: #d64545; }
.dphoto.add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 2px dashed #f0b4b0; background: #fff8f7; color: #b42318; cursor: pointer; }
.dphoto.add i { font-size: 1.5rem; }
.dphoto.add small { color: var(--muted); font-size: .72rem; }
.dphoto.add:hover { background: #fdecec; }
@media (max-width: 575.98px) { .dphoto-grid { grid-template-columns: repeat(2, 1fr); } }
.dmg-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.dmg-card { border: 1px solid #f3d1cc; border-radius: 16px; padding: 14px 16px; background: linear-gradient(180deg, #fff, #fffafa); display: flex; flex-direction: column; gap: 8px; }
.dmg-head { display: flex; align-items: center; gap: 10px; }
.dmg-head b { display: block; color: #b42318; font-weight: 800; }
.dmg-head span { font-size: .8rem; color: var(--muted); }
.dmg-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fdecec; color: #c62828; font-size: 1.05rem; flex-shrink: 0; }
.dmg-who { font-size: .84rem; color: var(--anthracite); display: flex; align-items: center; gap: 6px; }
.dmg-desc { margin: 0; font-size: .88rem; white-space: pre-line; color: var(--navy); }
.dmg-photos { display: flex; gap: 6px; flex-wrap: wrap; }
.dmg-photos img { width: 72px; height: 56px; object-fit: cover; border-radius: 9px; border: 1px solid var(--border); }
.dmg-foot { font-size: .74rem; color: var(--muted); }
.team-warning .whead { font-weight: 800; margin-bottom: 4px; }
.team-warning .wblock + .wblock { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #f1b7b7; }
.team-warning .wtitle { font-weight: 600; }
.team-warning ul { margin: 4px 0 0; padding-left: 0; list-style: none; }
.team-warning li { padding: 3px 0; font-size: .82rem; }
.team-warning li small { display: block; opacity: .85; }
.wi-kind { display: inline-block; padding: 0 7px; margin-right: 6px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.wi-kind.fine { background: #fff1e3; color: #b45309; }
.wi-kind.dmg { background: #fff; color: #b42318; border: 1px solid #f1b7b7; }

/* ---------- Yapılacaklar ---------- */
.s-todo { --sc: #2f80ed; --sc-soft: #e8f1fd; }
.s-review { --sc: #9b51e0; --sc-soft: #f3eafc; }
.s-in_progress { --sc: #f2994a; --sc-soft: #fff2e5; }
.s-done { --sc: #27ae60; --sc-soft: #e6f6ec; }
.thero { display: grid; grid-template-columns: 1fr auto; gap: 18px 20px; padding: 22px 24px; border-radius: 20px; color: #fff; margin-bottom: 18px;
    background: radial-gradient(560px 240px at 100% 0%, rgba(155,81,224,.4) 0%, transparent 60%), radial-gradient(520px 260px at 0% 100%, rgba(47,128,237,.35) 0%, transparent 60%), linear-gradient(135deg, #1b2a41 0%, #283f63 100%);
    box-shadow: 0 12px 30px rgba(27,42,65,.18); }
.thero h2 { font-size: 1.35rem; font-weight: 800; margin: 4px 0 2px; color: #fff; }
.thero p { margin: 0; color: rgba(255,255,255,.75); font-weight: 500; max-width: 620px; }
.thero-actions { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; justify-content: flex-end; }
.thero-btn { font-weight: 700; border-radius: 12px; padding-inline: 16px; }
.thero-btn-send { background: linear-gradient(135deg, #f2994a, #eb5757); color: #fff; border: 0; box-shadow: 0 6px 18px rgba(235,87,87,.35); }
.thero-btn-send:hover { color: #fff; filter: brightness(1.06); }
.tstats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.tstat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 14px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: background .15s, transform .15s, border-color .15s; }
.tstat:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.tstat.active { background: #fff; color: var(--navy); border-color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.tstat-ico { grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.05rem; background: rgba(255,255,255,.14); color: #fff; }
.tstat[class*="s-"] .tstat-ico { background: var(--sc); }
.tstat.active .tstat-ico { background: var(--sc, var(--navy)); color: #fff; }
.tstat b { font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.tstat small { font-size: .74rem; font-weight: 600; opacity: .8; }
@media (max-width: 991.98px) { .tstats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .thero { grid-template-columns: 1fr; } .thero-actions { justify-content: stretch; } .thero-btn { flex: 1; } .tstats { grid-template-columns: 1fr 1fr; } }

.ttoolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tscopes { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); flex-wrap: wrap; }
.tscope { border: 0; background: transparent; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .85rem; color: var(--muted); display: inline-flex; gap: 7px; align-items: center; }
.tscope:hover { color: var(--navy); background: var(--bg); }
.tscope.active { background: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(27,42,65,.25); }
.tfilters { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.tfilter-user { min-width: 220px; }
.tsearch { position: relative; min-width: 240px; }
.tsearch i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.tsearch input { padding-left: 36px; background: #fff; }
@media (max-width: 575.98px) { .tfilter-user, .tsearch { min-width: 0; flex: 1 1 100%; } }

.tboard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.tboard.single { grid-template-columns: minmax(0, 1fr); }
.tboard.single .tcol-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 1279.98px) { .tboard { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .tboard { grid-template-columns: 1fr; } }
.tcol { background: #eef1f6; border-radius: 18px; padding: 10px; border-top: 4px solid var(--sc); min-height: 160px; }
.tcol-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; }
.tcol-head h3 { font-size: .92rem; font-weight: 800; color: var(--navy); margin: 0; }
.tcol-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sc); box-shadow: 0 0 0 4px var(--sc-soft); }
.tcol-count { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--sc-soft); color: var(--sc); font-size: .76rem; font-weight: 800; display: inline-grid; place-items: center; }
.tcol-add { margin-left: auto; width: 30px; height: 30px; border-radius: 9px; border: 0; background: #fff; color: var(--sc); display: grid; place-items: center; box-shadow: 0 1px 3px rgba(16,24,40,.08); }
.tcol-add:hover { background: var(--sc); color: #fff; }
.tcol-body { display: flex; flex-direction: column; gap: 10px; min-height: 60px; }
.tcol-empty { border: 2px dashed #d5dbe5; border-radius: 14px; padding: 22px 10px; text-align: center; color: #95a1b2; font-size: .82rem; font-weight: 600; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.tcol-empty i { font-size: 1.3rem; color: #b6c0ce; }

.tcard { position: relative; background: #fff; border-radius: 14px; padding: 12px 12px 10px 14px; box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 2px 8px rgba(16,24,40,.05);
    border: 1px solid #e8ebf0; border-left: 4px solid #cfd6e0; transition: box-shadow .15s, transform .15s; }
.tcard.editable { cursor: pointer; }
.tcard:hover { box-shadow: 0 6px 18px rgba(16,24,40,.1); transform: translateY(-1px); }
.tcard.p-high { border-left-color: #eb5757; }
.tcard.p-low { border-left-color: #9aa5b4; }
.tcard.p-normal { border-left-color: var(--primary); }
.tcard.is-new { box-shadow: 0 0 0 2px rgba(242,153,74,.55), 0 8px 20px rgba(242,153,74,.18); animation: tcardPulse 1.6s ease-out 2; }
@keyframes tcardPulse { 0% { box-shadow: 0 0 0 0 rgba(242,153,74,.6); } 100% { box-shadow: 0 0 0 10px rgba(242,153,74,0); } }
.tcard.is-done .tc-title { text-decoration: line-through; color: var(--muted); }
.tcard.is-done { background: #fbfcfd; }
.tcard-ghost { opacity: .35; }
.tcard-chosen { box-shadow: 0 14px 30px rgba(16,24,40,.2); }
.tc-top { display: flex; align-items: flex-start; gap: 8px; }
.tc-check { border: 0; background: transparent; padding: 0; font-size: 1.2rem; line-height: 1; color: #b3bdca; margin-top: 1px; }
.tc-check:hover { color: var(--success); }
.is-done .tc-check { color: var(--success); }
.tc-title { flex: 1; font-size: .93rem; font-weight: 700; color: var(--navy); margin: 0; line-height: 1.35; word-break: break-word; }
.tc-new { background: linear-gradient(135deg, #f2994a, #eb5757); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .06em; padding: 3px 7px; border-radius: 999px; }
.tc-more { border: 0; background: transparent; width: 28px; height: 28px; border-radius: 8px; color: var(--muted); display: grid; place-items: center; margin: -4px -4px 0 0; }
.tc-more:hover { background: var(--bg); color: var(--navy); }
.tc-menu .dropdown-item { display: flex; gap: 8px; align-items: center; font-size: .86rem; border-radius: 8px; }
.tc-menu .dropdown-menu { padding: 6px; border-radius: 12px; border-color: var(--border); }
.tc-menu .tc-set i { color: var(--sc); }
.tc-menu .tc-set.active { background: var(--sc-soft); color: var(--navy); font-weight: 700; }
.tc-desc { margin: 6px 0 0 28px; font-size: .83rem; color: #556274; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tc-foot { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0 0 28px; }
.tc-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #f1f4f8; color: #5b6878; }
.tc-prio.p-high { background: #fdecec; color: #c62828; }
.tc-prio.p-low { background: #f1f4f8; color: #6b7785; }
.tc-due.today { background: #fff2e5; color: #b45309; }
.tc-due.over { background: #eb5757; color: #fff; }
.tc-from { background: #f3eafc; color: #7b3fbf; }
.tc-owner { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; color: var(--navy); }
.tc-owner .bi { color: #7b3fbf; font-size: .7rem; }
.tc-av { width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .58rem; font-weight: 800; display: grid; place-items: center; }
.tc-time { margin-left: auto; font-size: .7rem; color: #98a3b3; font-weight: 600; }

.tmodal { border: 0; border-radius: 20px; overflow: hidden; }
.tmodal-head { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #f7f9fc, #fff); }
.tmodal-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 1.25rem; color: #fff; background: linear-gradient(135deg, #2f80ed, #9b51e0); box-shadow: 0 6px 16px rgba(47,128,237,.3); }
.tmodal-head .modal-title { font-weight: 800; color: var(--navy); margin: 0; }
.tmodal-sub { font-size: .8rem; color: var(--muted); font-weight: 500; }
.tchips { display: flex; gap: 8px; flex-wrap: wrap; }
.tchip { cursor: pointer; margin: 0; }
.tchip input { position: absolute; opacity: 0; pointer-events: none; }
.tchip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; font-weight: 600; font-size: .85rem; color: #556274; transition: all .15s; }
.tchip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sc, #b3bdca); }
.tchip[class*="p-"] span::before { display: none; }
.tchip:hover span { border-color: #c5cdd8; }
.tchip input:checked + span { border-color: var(--sc, var(--primary)); background: var(--sc-soft, var(--primary-soft)); color: var(--navy); box-shadow: 0 0 0 3px rgba(47,128,237,.08); }
.tchip.p-high input:checked + span { border-color: #eb5757; background: #fdecec; color: #b42318; }
.tchip.p-low input:checked + span { border-color: #9aa5b4; background: #f1f4f8; }
.tchip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Üst bar zili */
.todo-bell { position: relative; font-size: 1.25rem; background: #fff; border: 1px solid var(--border); }
.todo-bell.has-new i { animation: bellRing 1.4s ease-in-out 2; display: inline-block; transform-origin: 50% 0; color: #eb5757; }
@keyframes bellRing { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 75% { transform: rotate(2deg); } }
.todo-bell-count { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: linear-gradient(135deg, #f2994a, #eb5757); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.todo-bell-count.d-none { display: none !important; }
.todo-bell-menu { width: 360px; max-width: calc(100vw - 24px); padding: 0; border-radius: 16px; border-color: var(--border); box-shadow: 0 16px 40px rgba(16,24,40,.16); overflow: hidden; }
.tbm-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.tbm-head strong { color: var(--navy); }
.tbm-head a { font-size: .8rem; font-weight: 700; }
.tbm-body { max-height: 420px; overflow-y: auto; padding: 6px; }
.tbm-label { font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 4px; }
.tbm-item { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 12px; color: inherit; }
.tbm-item:hover { background: var(--bg); }
.tbm-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.tbm-ico.assigned { background: #fff2e5; color: #e07b24; }
.tbm-ico.update { background: #f3eafc; color: #7b3fbf; }
.tbm-text { min-width: 0; display: flex; flex-direction: column; }
.tbm-text b { font-size: .86rem; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbm-text small { font-size: .74rem; color: var(--muted); }
.tbm-empty { padding: 26px 10px; text-align: center; color: var(--muted); font-weight: 600; font-size: .85rem; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.tbm-empty i { font-size: 1.6rem; color: #b6c0ce; }
.tbm-empty small { font-weight: 500; }

/* Gönderilen görev açılır penceresi */
.tn-popup { width: min(520px, 94vw) !important; border-radius: 24px !important; padding: 0 0 18px !important; overflow: hidden; }
.tn-popup .swal2-html-container { margin: 0 !important; padding: 0 !important; text-align: left; }
.tn-in { animation: tnIn .38s cubic-bezier(.2,.9,.3,1.2); }
@keyframes tnIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.tn-head { text-align: center; padding: 26px 24px 18px; color: #fff; background: radial-gradient(360px 160px at 100% 0%, rgba(242,153,74,.55), transparent 60%), linear-gradient(135deg, #1b2a41, #2c4a75); }
.tn-head h3 { font-size: 1.2rem; font-weight: 800; margin: 12px 0 4px; color: #fff; }
.tn-head p { margin: 0; font-size: .86rem; color: rgba(255,255,255,.78); }
.tn-bell { position: relative; width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; font-size: 1.8rem; color: #fff;
    background: linear-gradient(135deg, #f2994a, #eb5757); box-shadow: 0 10px 26px rgba(235,87,87,.45); }
.tn-bell i { animation: bellRing 1.4s ease-in-out 3; transform-origin: 50% 0; }
.tn-bell span { position: absolute; top: -6px; right: -6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: #fff; color: #eb5757; font-size: .78rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.tn-list { padding: 16px 18px 4px; display: flex; flex-direction: column; gap: 10px; max-height: 46vh; overflow-y: auto; }
.tn-card { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: #f7f9fc; border: 1px solid #e8ebf0; }
.tn-prio { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--primary-soft); color: var(--primary); }
.tn-card.p-high .tn-prio { background: #fdecec; color: #eb5757; }
.tn-card.p-low .tn-prio { background: #eef1f5; color: #6b7785; }
.tn-body { min-width: 0; flex: 1; }
.tn-body b { display: block; color: var(--navy); font-size: .93rem; }
.tn-body p { margin: 2px 0 0; font-size: .82rem; color: #556274; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tn-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; font-size: .74rem; color: var(--muted); font-weight: 600; }
.tn-meta i { margin-right: 3px; }
.tn-pl { padding: 1px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.tn-pl.p-high { background: #eb5757; color: #fff; }
.tn-pl.p-low { background: #eef1f5; color: #6b7785; }
.tn-due.over { color: #eb5757; }
.tn-more { text-align: center; font-size: .8rem; font-weight: 700; color: var(--muted); }
.tn-actions { gap: 10px; padding: 0 18px; width: 100%; margin-top: 14px !important; }
.tn-actions .btn { flex: 1; min-height: 46px; border-radius: 12px; font-weight: 700; white-space: nowrap; padding-inline: 10px; margin: 0; }
.tn-actions .tn-go { flex: 1.6; }

/* Yapılacaklar: hedef seçimi (benim listem / sahaya gönder) */
.ttarget { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ttarget-opt { margin: 0; cursor: pointer; }
.ttarget-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ttarget-opt span { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; height: 100%;
    padding: 12px 14px; border: 2px solid var(--border); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s, background .15s; }
.ttarget-opt i { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; background: #eef2f7; color: #475569; }
.ttarget-opt b { font-size: .95rem; color: #0f172a; }
.ttarget-opt small { color: #64748b; font-size: .78rem; line-height: 1.3; }
.ttarget-opt:hover span { border-color: #c7d2fe; }
.ttarget-opt input:checked + span { border-color: #2563eb; background: #eff6ff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.ttarget-opt input:checked + span i { background: #2563eb; color: #fff; }
.ttarget-opt.is-send input:checked + span { border-color: #ea580c; background: #fff7ed; box-shadow: 0 0 0 4px rgba(234, 88, 12, .14); }
.ttarget-opt.is-send input:checked + span i { background: linear-gradient(135deg, #f97316, #dc2626); color: #fff; }
.ttarget-opt input:focus-visible + span { outline: 2px solid #2563eb; outline-offset: 2px; }
#todoModal.is-send .tmodal-ico { background: linear-gradient(135deg, #f97316, #dc2626); color: #fff; }
@media (max-width: 575.98px) { .ttarget { grid-template-columns: 1fr; } }

/* Yapılacaklar: gönderilen bekleyen görevler için sayfa üstü kalıcı uyarı */
.tpending { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px 16px; border-radius: 18px; color: #fff;
    background: linear-gradient(120deg, #1d4ed8 0%, #4f46e5 55%, #7c3aed 100%); box-shadow: 0 10px 28px -12px rgba(79, 70, 229, .65);
    position: relative; overflow: hidden; animation: tp-in .35s ease-out; }
.tpending::after { content: ""; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }
.tpending.is-urgent { background: linear-gradient(120deg, #c2410c 0%, #dc2626 60%, #be123c 100%); box-shadow: 0 10px 28px -12px rgba(220, 38, 38, .65); }
.tp-ico { position: relative; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem;
    background: rgba(255, 255, 255, .18); animation: tp-pulse 2.2s ease-in-out infinite; }
.tp-ico b { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #fff; color: #dc2626;
    font-size: .75rem; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.tp-text { flex: 1; min-width: 0; }
.tp-text strong { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 1rem; }
.tp-new { padding: 2px 8px; border-radius: 999px; background: #facc15; color: #713f12; font-size: .68rem; letter-spacing: .04em; }
.tp-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tp-chip { display: inline-flex; align-items: center; gap: 5px; max-width: 260px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16);
    font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-chip.p-high, .tp-chip.over { background: rgba(255, 255, 255, .28); font-weight: 600; }
.tp-go { flex: 0 0 auto; background: #fff; color: #1e3a8a; font-weight: 600; border-radius: 12px; padding: 8px 16px; white-space: nowrap; position: relative; z-index: 1; }
.tpending.is-urgent .tp-go { color: #b91c1c; }
.tp-go:hover { background: #f1f5f9; color: #0f172a; }
@keyframes tp-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes tp-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } }
@media (max-width: 575.98px) { .tpending { flex-wrap: wrap; } .tp-go { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .tpending, .tp-ico { animation: none; } }

/* Yapılan işler: haftalık Word ve aylık PowerPoint */
.btn.btn-report {
    min-height: 52px;
    height: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    border: 0;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .22);
}
.btn.btn-report span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; font-weight: 800; font-size: .9rem; }
.btn.btn-report small { font-weight: 600; color: rgba(255, 255, 255, .88); font-size: .72rem; }
.btn.btn-report i { font-size: 1.35rem; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); color: #fff; }
.btn.btn-report.word { background: linear-gradient(135deg, #1d4f91, #2b579a); }
.btn.btn-report.ppt { background: linear-gradient(135deg, #c2410c, #ea580c); }
.btn.btn-report:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(16, 24, 40, .28); }
