/* \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 
   Teknik Servis - Mobil PWA \b7  Kurumsal G\f6 r\fc n\fc m (pro.css)
   mobile.css'ten SONRA y\fc klenir; yaln\131 zca g\f6 r\fc n\fc m\fc  iyile\15f tirir.
   \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550 \2550  */

:root {
    --m-bg: #f3f6fa;
    --m-surface: #ffffff;
    --m-surface2: #f7f9fc;
    --m-border: #e3e9f1;
    --m-text: #14213d;
    --m-text2: #46566d;
    --m-text3: #6b7a90;
    --m-primary: #00569c;
    --m-primary-dark: #003f75;
    --m-primary-soft: #e6f0f9;
    --m-radius: 14px;
    --m-radius-sm: 10px;
    --m-shadow-sm: 0 1px 2px rgba(16, 42, 76, .06), 0 1px 3px rgba(16, 42, 76, .05);
    --m-shadow-md: 0 4px 14px rgba(16, 42, 76, .10);
    --m-font: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body { font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; letter-spacing: -0.005em; }

.screen {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

/* \2500 \2500  \dc st \e7 ubuk \2500 \2500  */
.mobile-header {
    background: #fff;
    border-bottom: 1px solid var(--m-border);
    box-shadow: var(--m-shadow-sm);
    padding: calc(var(--safe-top) + 8px) 8px 8px 10px !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
.mobile-header h2 {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    color: var(--m-text);
    white-space: nowrap !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.header-left {
    min-width: 0 !important;
    flex-shrink: 1 !important;
}
.header-right {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
}
.icon-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    background: var(--m-surface2) !important;
    border: 1px solid var(--m-border);
    color: var(--m-text2);
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}
.icon-btn:active { background: var(--m-primary-soft) !important; color: var(--m-primary); transform: scale(.94); }
.header-video-btn {
    background: rgba(14, 165, 233, 0.14) !important;
    color: #0284c7 !important;
    border-color: rgba(14, 165, 233, 0.3) !important;
}
.header-logout-btn {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fca5a5 !important;
}
.user-badge-m {
    background: var(--m-primary) !important;
    color: #fff !important;
    padding: 4px 7px !important;
    border-radius: 8px !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: .01em;
    max-width: 58px !important;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    flex-shrink: 0 !important;
}

@media (max-width: 365px) {
    .mobile-header { padding: calc(var(--safe-top) + 6px) 6px 6px 8px !important; gap: 3px !important; }
    .mobile-header h2 { font-size: 0.84rem !important; }
    .header-right { gap: 3px !important; }
    .icon-btn { width: 27px !important; height: 27px !important; min-width: 27px !important; font-size: 0.76rem !important; }
    .user-badge-m { padding: 3px 5px !important; font-size: 0.64rem !important; max-width: 48px !important; }
}

/* \2500 \2500  Sekmeler \2500 \2500  */
.m-tabs {
    margin-bottom: 0 !important;
    border-bottom: 1px solid var(--m-border) !important;
    background: #fff !important;
}
.m-tab {
    padding: 13px 0 !important;
    font-size: .88rem !important;
    font-weight: 600 !important;
    color: var(--m-text3) !important;
    border-bottom: 3px solid transparent !important;
    transition: color .2s, border-color .2s;
}
.m-tab.active {
    color: var(--m-primary) !important;
    border-bottom: 3px solid var(--m-primary) !important;
}

/* \2500 \2500  Arama \2500 \2500  */
.search-bar-container {
    padding: 12px 16px !important;
    background: #fff !important;
    border-bottom: none !important;
}
.search-bar-container .input-group {
    background: var(--m-surface2) !important;
    border: 1px solid var(--m-border);
    border-radius: 12px !important;
    padding: 10px 14px !important;
    transition: border-color .2s, box-shadow .2s;
}
.search-bar-container .input-group:focus-within {
    border-color: var(--m-primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 156, .12);
    background: #fff !important;
}
.search-bar-container input { color: var(--m-text); font-size: .92rem !important; }
.search-bar-container input::placeholder { color: #9aa7b8; }

/* \2500 \2500  Filtre \e7 ipleri \2500 \2500  */
.status-filter {
    padding: 4px 16px 14px !important;
    gap: 8px !important;
    background: #fff;
    border-bottom: 1px solid var(--m-border);
}
.filter-chip {
    padding: 7px 14px !important;
    border: 1px solid var(--m-border) !important;
    background: #fff !important;
    color: var(--m-text2) !important;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    box-shadow: none;
}
.filter-chip.active {
    background: var(--m-primary) !important;
    color: #fff !important;
    border-color: var(--m-primary) !important;
    box-shadow: 0 2px 6px rgba(0, 86, 156, .28);
}
/* Sat\131 r i\e7 i renk verilmi\15f  \f6 zel \e7 ipler (G\fc n\fc n Plan\131 , Onay Bekleyenler) */
.filter-chip[data-filter="today_plan"]:not(.active) {
    background: var(--m-primary-soft) !important;
    color: var(--m-primary) !important;
    border-color: #bcd6ec !important;
}
#filterPendingApprove:not(.active) {
    background: #fff4e0 !important;
    color: #b45309 !important;
    border-color: #f4c982 !important;
}

/* \2500 \2500  Liste ve kartlar \2500 \2500  */
.task-list-m { padding: 14px 16px 96px; }

.task-card-m {
    background: #fff;
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius);
    padding: 14px 16px 14px 20px;
    margin-bottom: 12px;
    box-shadow: var(--m-shadow-sm);
    transition: transform .15s, box-shadow .15s;
}
.task-card-m:active { transform: scale(.985); box-shadow: none; background: #fff; }
.task-card-m::before { width: 5px; border-radius: 14px 0 0 14px; }
.task-card-m.priority-urgent::before { background: #dc2626; }
.task-card-m.priority-high::before   { background: #ea8a0c; }
.task-card-m.priority-medium::before { background: #2f7bbf; }
.task-card-m.priority-low::before    { background: #16a34a; }

.task-card-title {
    font-size: .95rem;
    font-weight: 650;
    line-height: 1.35;
    color: var(--m-text);
    margin-bottom: 8px;
    padding-right: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.task-card-location {
    font-size: .8rem;
    color: var(--m-text3);
    margin-bottom: 12px;
}
.task-card-location i { color: #9aa7b8; font-size: .78rem; }

.task-card-meta {
    padding-top: 10px;
    border-top: 1px dashed var(--m-border);
}
.task-card-badges { flex-wrap: wrap; gap: 6px; }
.task-card-time { font-size: .74rem; color: var(--m-text3); font-weight: 500; font-variant-numeric: tabular-nums; }

/* \2500 \2500  Rozetler (a\e7 \131 k temada okunur kontrast) \2500 \2500  */
.badge-m {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .7rem;
    font-weight: 650;
    letter-spacing: .01em;
    border: 1px solid transparent;
}
.badge-m-pending       { background: #fff4e0; color: #9a5b00; border-color: #f6dba6; }
.badge-m-in_progress   { background: #e3f4fb; color: #0b6b8f; border-color: #b7e0f0; }
.badge-m-waiting_part  { background: #fdeaea; color: #b42318; border-color: #f6c4c0; }
.badge-m-continuing    { background: #f1e9fb; color: #6b3fa8; border-color: #dccaf2; }
.badge-m-completed     { background: #e6f6ec; color: #136c3a; border-color: #b9e3c9; }
.badge-m-rejected      { background: #fee2e2; color: #b91c1c; border-color: #fca5a5; }
.badge-m-urgent        { background: #fdeaea; color: #b42318; border-color: #f6c4c0; }
.badge-m-high          { background: #fff1de; color: #a34d00; border-color: #f6d3a2; }
.badge-m-medium        { background: #e8f0f8; color: #2a5f94; border-color: #c5d9ec; }
.badge-m-low           { background: #e6f6ec; color: #136c3a; border-color: #b9e3c9; }

/* \2500 \2500  FAB \2500 \2500  */
.fab-btn {
    width: 56px; height: 56px;
    background: var(--m-primary);
    box-shadow: 0 6px 16px rgba(0, 86, 156, .38);
    font-size: 1.25rem;
}
.fab-btn:active { background: var(--m-primary-dark); }

/* \2500 \2500  Detay ekran\131  \2500 \2500  */
.detail-info-item, .detail-section {
    border: 1px solid var(--m-border);
    box-shadow: var(--m-shadow-sm);
}
.detail-info-label { text-transform: uppercase; font-size: .64rem; letter-spacing: .06em; font-weight: 600; }
.detail-section-title { color: var(--m-text); }
.action-btn {
    border-radius: var(--m-radius);
    box-shadow: var(--m-shadow-sm);
}

/* \2500 \2500  Genel butonlar / form alanlar\131  \2500 \2500  */
.btn-primary-m { background: var(--m-primary) !important; box-shadow: 0 2px 8px rgba(0, 86, 156, .25); }
.btn-primary-m:active { background: var(--m-primary-dark) !important; }
.sheet-content { border-radius: 20px 20px 0 0; }
.sheet-input, .sheet-select { border-radius: 10px; }

/* \2500 \2500  Bo\15f  / y\fc kleniyor \2500 \2500  */
.loading-spinner { color: var(--m-text3); font-size: .9rem; padding: 48px 16px; }
