/* ============================================================
   RENK TEMASI — Alman bayrağı (siyah · kırmızı · sarı).
   TÜM ofis sayfalarının rengi BURADAN yönetilir — topluca renk
   değiştirmek gerekirse SADECE bu blok değiştirilir. Şoför portalı
   (ARAYUZ/sablonlar/portal/giris.html) bu dosyayı hiç kullanmaz,
   kendi bağımsız koyu temasıyla dokunulmadan kalır.
   ============================================================ */
:root {
    --renk-siyah: #000000;
    --renk-siyah-koyu: #1a1a1a;
    --renk-siyah-hover: #333333;
    --renk-kirmizi: #cc0000;
    --renk-kirmizi-koyu: #a30000;
    --renk-kirmizi-acik: #fdecea;
    --renk-sari: #ffce00;
    --renk-sari-koyu: #e6b800;
    --renk-beyaz: #ffffff;
    --renk-basarili: #1e7e34;
    --renk-hata: #dc2626;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f6f8;
    color: #1f2937;
}

.ust-menu {
    background: var(--renk-siyah);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ust-menu .baslik {
    color: var(--renk-beyaz);
    font-weight: 700;
    padding: 4px 16px 4px 0;
    font-size: 18px;
    text-decoration: none;
}

/* Tüm menü öğeleri TEK TİP: siyah zemin + beyaz yazı, büyük harf —
   hangi sayfanın açık olduğu sarı alt çizgi + sarı yazıyla belli olur. */
.ust-menu a {
    display: inline-block;
    background: var(--renk-siyah-koyu);
    color: var(--renk-beyaz);
    text-decoration: none;
    text-transform: uppercase;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.01em;
    border-bottom: 3px solid transparent;
}

.ust-menu a:hover {
    background: var(--renk-siyah-hover);
}

.ust-menu a.aktif {
    color: var(--renk-sari);
    border-bottom: 3px solid var(--renk-sari);
}

/* 3 ana başlık + açılır alt menü (bkz. taban.html). Masaüstünde fareyle
   üzerine gelince (:hover) açılır; dokunmatik cihazlarda taban.html'in
   sonundaki <script> tıklamayla .acik sınıfını ekleyip/çıkararak aynı
   işi yapar. */
.ust-menu-grup {
    position: relative;
}

.ust-menu-baslik {
    display: inline-block;
    background: var(--renk-siyah-koyu);
    color: var(--renk-beyaz);
    text-decoration: none;
    text-transform: uppercase;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.01em;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: inherit;
    cursor: pointer;
}

.ust-menu-baslik:hover {
    background: var(--renk-siyah-hover);
}

.ust-menu-baslik.aktif {
    color: var(--renk-sari);
    border-bottom: 3px solid var(--renk-sari);
}

/* YAPILACAK İŞLER: diğer üçünün aksine açılır liste DEĞİL — dikkat çeksin
   diye sarı zemin + siyah yazı ile ayrı ve vurgulu duran tek bağlantı
   (bkz. taban.html). Kendisi açıkken (aktif), diğer sarı-yazı kuralıyla
   karışmasın diye TERSİNE döner: siyah zemin + sarı yazı/alt çizgi. */
.ust-menu-vurgulu {
    background: var(--renk-sari) !important;
    color: var(--renk-siyah) !important;
    border-bottom: 3px solid var(--renk-sari-koyu) !important;
}

.ust-menu-vurgulu:hover {
    background: var(--renk-sari-koyu) !important;
}

.ust-menu-vurgulu.aktif {
    background: var(--renk-siyah-koyu) !important;
    color: var(--renk-sari) !important;
    border-bottom: 3px solid var(--renk-sari) !important;
}

.ust-menu-acilir {
    display: none;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: var(--renk-siyah-koyu);
    border-radius: 8px;
    padding: 8px;
    min-width: 240px;
    z-index: 100;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.ust-menu-grup:hover .ust-menu-acilir,
.ust-menu-grup.acik .ust-menu-acilir {
    display: flex;
}

.ust-menu-acilir a {
    display: block;
    color: var(--renk-beyaz);
    text-decoration: none;
    text-transform: uppercase;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.01em;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.ust-menu-acilir a:hover {
    background: var(--renk-siyah-hover);
}

.ust-menu-acilir a.aktif {
    color: var(--renk-sari);
    border-bottom: 3px solid var(--renk-sari);
}

/* MUHASEBE BİLGİLERİ menüsündeki "GELEN-GİDEN FATURA" / "CARİ ANA SAYFA"
   gibi tıklanamayan alt başlıklar — sadece gruplama amaçlı. */
.ust-menu-acilir-alt-baslik {
    color: var(--renk-sari);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 12px 2px;
}

.ust-menu-acilir-alt-baslik:first-child {
    padding-top: 2px;
}

/* Bölüm sekmeleri (Araçlar/Çalışanlar — artık sayfanın İÇİNDE, bkz.
   araclar.html/soforler.html .sayfa-ici-alt-menu) ve — daha önce olduğu
   gibi — herhangi bir yerde kullanılan genel alt-menü şeridi. */
.alt-menu {
    background: var(--renk-siyah);
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.alt-menu a {
    color: #9ca3af;
    text-decoration: none;
    padding: 8px 10px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
}

.alt-menu a:hover,
.alt-menu a.aktif {
    color: var(--renk-sari);
    border-bottom: 2px solid var(--renk-sari);
}

/* Bölüm sekmeleri artık sayfanın İÇİNDE (ÇALIŞANLAR/ARAÇLAR başlığının
   hemen altında) — eskiden üst menünün altında, ekranın tam genişliğinde
   duruyordu; şimdi normal içerik genişliğinde, yuvarlak köşeli bir şerit
   gibi görünsün diye kendi köşe/boşluk ayarı eklenir. */
.sayfa-ici-alt-menu {
    border-radius: 8px;
    padding: 0 14px;
    margin-bottom: 16px;
}

.icerik {
    max-width: 1000px;
    margin: 24px auto;
    padding: 0 16px;
}

.kart {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.kart h2 {
    margin: 0 0 14px 0;
}

h1 {
    font-size: 22px;
    margin-top: 0;
}

h2 {
    font-size: 16px;
    color: #374151;
}

.sayfa-alt-baslik {
    font-size: 13px;
    color: #6b7280;
    margin: -8px 0 16px 0;
}

.tablo-sarici {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
}

/* Yakıt Kontrol: fiş TARİH ve YÜKLEME TARİH/SAAT sütunları hücre daralsa
   bile iki satıra bölünmesin, ikisi de aynı tek-satır görünümde kalsın. */
.tarih-tek-satir {
    white-space: nowrap;
}

th {
    background: var(--renk-siyah);
    color: var(--renk-beyaz);
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

tbody tr:nth-child(even) {
    background: #f9fafb;
}

tbody tr:hover {
    background: #f1f5f9;
}

td input[type="text"],
td input[type="number"] {
    width: 100%;
    min-width: 90px;
}

/* Listeyi bir üst kategoriye göre gruplarken (örn. plakaya göre) kullanılan
   küçük ayraç/başlık satırı. */
.tablo-sarici tr.tablo-grup-baslik td {
    background: var(--renk-kirmizi-acik);
    color: var(--renk-kirmizi-koyu);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 8px 12px;
    border-top: 2px solid var(--renk-kirmizi);
    border-bottom: 1px solid var(--renk-kirmizi);
}

.tablo-sarici tr.tablo-grup-baslik:hover td {
    background: #fbdad6;
}

.tablo-sarici tr.tablo-grup-baslik {
    cursor: pointer;
}

/* Bölüm içindeki plaka alt başlığı: bölüm başlığından görsel olarak daha
   soluk ve girintili — iki katlı gruplamada hangi seviyede olunduğu belli
   olsun diye. */
.tablo-sarici tr.tablo-grup-plaka td {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 12px;
    text-transform: none;
    letter-spacing: normal;
    padding: 6px 12px 6px 32px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.tablo-sarici tr.tablo-grup-plaka:hover td {
    background: #eef2f7;
}

.grup-ok {
    display: inline-block;
    width: 1em;
    text-align: center;
}

/* Şoför portalındaki "Yakıtım Var" bildirimi — Yakıt Kontrol'de plaka
   satırında fişten ayrı, fotoğrafsız küçük bir not olarak gösterilir. */
.yakitim-var-etiketi {
    display: inline-block;
    margin-left: 10px;
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
}

tr.pasif {
    opacity: 0.5;
}

form.satir-form {
    display: inline;
}

.form-satiri {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.alan {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alan label {
    font-size: 12px;
    color: #6b7280;
}

input[type="text"],
input[type="number"] {
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
}

/* Tarayıcının otomatik-doldurma (autofill) rengi bazı alanları diğerlerinden
   farklı gösterebiliyor (örn. koyu/sarı çerçeve) — tüm kutular aynı görünsün
   diye nötrlenir. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: #1f2937;
    border: 1px solid #d1d5db;
    transition: background-color 5000s ease-in-out 0s;
}

select {
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
}

button {
    background: var(--renk-siyah);
    color: var(--renk-beyaz);
    border: none;
    padding: 7px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background: var(--renk-siyah-hover);
}

button.tehlike {
    background: var(--renk-kirmizi);
}

button.tehlike:hover {
    background: var(--renk-kirmizi-koyu);
}

button.kucuk {
    padding: 4px 10px;
    font-size: 13px;
}

a.kucuk {
    display: inline-block;
    padding: 4px 10px;
    font-size: 13px;
    background: var(--renk-siyah);
    color: var(--renk-beyaz);
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

a.kucuk:hover {
    background: var(--renk-siyah-hover);
}

/* Kaydet butonları: TÜM sayfalarda AYNI — sarı zemin + siyah yazı (Sil
   kırmızı, diğer butonlar siyah kalır, bkz. yukarısı). Buton durumuna göre
   (kaydediliyor/başarılı/hata) renk değişimi TEK yerden yönetilsin diye
   buraya taşındı — daha önce her şablonda ayrı ayrı tanımlanıyordu, hâlâ
   yerel bir kopyası olan şablonlarda o kopya (aynı renkleri kullandığı
   için) zararsızca üstüne biner. */
.kaydet-buton {
    background: var(--renk-sari);
    color: var(--renk-siyah);
    border: 1px solid var(--renk-sari-koyu);
    font-weight: 700;
}

.kaydet-buton:hover {
    background: var(--renk-sari-koyu);
}

.kaydet-yukleniyor {
    opacity: 0.7;
    cursor: wait;
}

.kaydet-basarili {
    background: var(--renk-basarili) !important;
    color: var(--renk-beyaz) !important;
    border-color: var(--renk-basarili) !important;
}

.kaydet-hata {
    background: var(--renk-hata) !important;
    color: var(--renk-beyaz) !important;
    border-color: var(--renk-hata) !important;
}

.kaydet-hata-mesaji {
    display: none;
    color: var(--renk-hata);
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
    white-space: nowrap;
}

input[type="date"] {
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
}

.sorgu-satir {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
    align-items: flex-start;
}

.sorgu-satir:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sorgu-baslik {
    width: 150px;
    flex-shrink: 0;
    font-size: 12px;
    color: #6b7280;
    padding-top: 9px;
}

.sorgu-alanlar {
    display: grid;
    grid-template-columns: repeat(6, minmax(110px, 1fr));
    gap: 10px 14px;
    flex: 1;
    align-items: start;
}

.sorgu-alanlar .alan input,
.sorgu-alanlar .alan select {
    height: 36px;
    width: 100%;
}

.rozet {
    display: inline-flex;
    align-items: center;
    height: 36px;
    font-size: 12px;
    padding: 0 10px;
    border-radius: 12px;
    background: var(--renk-kirmizi-acik);
    color: var(--renk-kirmizi-koyu);
    white-space: nowrap;
}

.rozet.devam-ediyor {
    height: auto;
    padding: 4px 10px;
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
}

.rozet.tamamlandi {
    height: auto;
    padding: 4px 10px;
    background: #f3f4f6;
    color: #6b7280;
}

/* Fiş yükleme durum geri bildirimi (bkz. mazot/liste.html, portal/giris.html):
   sarı = gönderiliyor/okunuyor, yeşil = kaydedildi, kırmızı = hata. */
.rozet.yukleniyor {
    height: auto;
    padding: 4px 10px;
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
}
.rozet.kaydedildi {
    height: auto;
    padding: 4px 10px;
    background: #d7f5dc;
    color: #166534;
    font-weight: 700;
}
.rozet.hata {
    height: auto;
    padding: 4px 10px;
    background: #fde0df;
    color: #b91c1c;
    font-weight: 700;
}
/* Turuncu = fotoğraf kaydedildi ama okunamadı, hata DEĞİL — elle
   doldurulması gereken bir durum (bkz. mazot/liste.html #fis-durum,
   spec: "kırmızı yerine daha doğru bir uyarı"). */
.rozet.uyari {
    height: auto;
    padding: 4px 10px;
    background: #fed7aa;
    color: #9a3412;
    font-weight: 700;
}

tr.devam-ediyor-satir {
    background: #fffbeb;
}

.tasima-mini-satir {
    font-size: 12px;
    white-space: nowrap;
}
.tasima-mini-satir + .tasima-mini-satir {
    margin-top: 4px;
}

.fis-yukle-kutusu {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fis-yukle-buton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--renk-siyah);
    color: var(--renk-beyaz);
    border: none;
    padding: 14px 26px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    min-height: 50px;
}

/* .alan label kuralı yazı rengini griye çeviriyordu (daha spesifikti,
   bu butonun kendi color:#fff'ini eziyordu) — burada üstüne yazılır. */
.alan label.fis-yukle-buton {
    color: var(--renk-beyaz);
}

.fis-yukle-buton:hover {
    background: var(--renk-siyah-hover);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}

/* Çalışanlar sayfasındaki belge satırları için daha küçük yükleme butonu */
.fis-yukle-buton.kucuk-belge-buton {
    padding: 6px 12px;
    font-size: 13px;
    min-height: auto;
}

.mazot-kaydet-ana-buton {
    padding: 14px 30px;
    font-size: 18px;
    font-weight: 700;
    min-height: 50px;
}
/* Kaydediliyor/Kaydedildi/Hata geri bildirimi (bkz. spec md. 1). */
.mazot-kaydet-ana-buton.yukleniyor { background: #f59e0b; border-color: #f59e0b; color: #fff; }
.mazot-kaydet-ana-buton.kaydedildi { background: #16a34a; border-color: #16a34a; color: #fff; }
.mazot-kaydet-ana-buton.hata { background: #dc2626; border-color: #dc2626; color: #fff; }

.fis-dosya-girisi-gizli {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fis-onizleme {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    cursor: zoom-in;
    display: none;
}

.buyutme-katmani {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    z-index: 1000;
}

.buyutme-katmani img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
}

.banner-basarili {
    background: #dcfce7;
    color: #166534;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

.banner-hata {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

.ozet-satir {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 14px;
}

.ozet-satir.kalin {
    font-weight: 700;
    font-size: 17px;
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 4px;
}

.ozet-not {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 10px;
}

.kar {
    color: #16a34a !important;
}

.zarar {
    color: #dc2626 !important;
}

tr.sefer-satir {
    cursor: pointer;
}

tr.sefer-satir:hover {
    background: #f9fafb;
}

tr.detay-satir td {
    background: #f9fafb;
    padding: 14px;
}

.duzenleme-bandi {
    background: #fef9c3;
    color: #854d0e;
    padding: 8px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.baglanti-buton {
    background: none;
    border: none;
    color: var(--renk-kirmizi);
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}

.fis-onizleme-kucuk {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    cursor: zoom-in;
}

.icerik-genis {
    max-width: 100%;
}

.operasyon-baslik-bandi {
    background: var(--renk-kirmizi);
    color: var(--renk-beyaz);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 12px 14px;
    border-radius: 8px 8px 0 0;
    margin: -20px -20px 16px -20px;
}

.operasyon-baslik-bandi.serbest {
    margin: 0 0 16px 0;
    border-radius: 8px;
}

table.operasyon-tablo {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
    font-size: 11px;
}

table.operasyon-tablo th,
table.operasyon-tablo td {
    border: 1px solid #cbd5e1;
    padding: 4px 5px;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

table.operasyon-tablo th {
    background: var(--renk-siyah);
    color: var(--renk-beyaz);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: 0.02em;
}

table.operasyon-tablo tbody tr:nth-child(even) {
    background: #f9fafb;
}

/* Şoför portalından gelen Tamir/Parça bildirim kartları — hem aracın kendi
   Tamir/Parça sayfasında hem Tamir/Parça ana sayfasında AYNI görünümde
   kullanılır (bkz. tanimlar/arac_tamirleri.html, tamir/liste.html). */
.tamir-bildirim-karti {
    border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px 14px;
    margin-bottom: 12px; background: #f9fafb;
}
.tamir-bildirim-ustbilgi {
    display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #6b7280;
    margin-bottom: 8px; font-weight: 600;
}
.tamir-bildirim-ustbilgi b { color: #1f2937; }
.tamir-bildirim-blok { margin-bottom: 6px; }
.tamir-bildirim-blok-baslik { font-size: 12px; font-weight: 700; color: #374151; margin-bottom: 2px; }
.tamir-bildirim-satir {
    display: flex; justify-content: space-between; gap: 10px; font-size: 13px;
    padding: 2px 0; color: #1f2937;
}
/* Tamir/Parça satırı — TEK satırda Firma + Açıklama + Tutar + fotoğraf(lar)ı
   açan küçük buton(lar); görsel doğrudan gösterilmez, satırı yükseltmesin
   diye buton içinde durur (tıklanınca fotoğraf yeni sekmede açılır). */
.tamir-bildirim-satir-v2 {
    display: flex; align-items: center; gap: 8px; font-size: 13px;
    padding: 3px 0; color: #1f2937;
}
.tamir-bildirim-satir-v2 .tbs-firma {
    flex: 0 1 120px; min-width: 0; color: #6b7280; font-weight: 600;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tamir-bildirim-satir-v2 .tbs-aciklama {
    flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tamir-bildirim-satir-v2 .tbs-tutar { flex: 0 0 auto; font-weight: 700; white-space: nowrap; }
.tamir-bildirim-satir-v2 .tbs-fotolar { flex: 0 0 auto; display: flex; gap: 4px; }
.tbs-foto-buton {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border: 1px solid #cbd5e1; border-radius: 6px;
    background: #fff; text-decoration: none; font-size: 13px; line-height: 1;
}
.tamir-bildirim-aciklama { font-size: 13px; color: #374151; margin: 6px 0; white-space: pre-wrap; }
.tamir-bildirim-fotograflar { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.tamir-bildirim-toplam { font-size: 13px; font-weight: 700; color: #15803d; margin-top: 4px; }
.tamir-bildirim-aksiyon { display: flex; gap: 8px; margin-top: 8px; }

/* --- Mobil / dar ekran uyumu --- */
@media (max-width: 720px) {
    .ust-menu {
        flex-wrap: wrap;
        padding: 8px 16px;
    }

    .ust-menu .baslik {
        width: 100%;
        padding: 6px 0;
    }

    .ust-menu a {
        padding: 8px 10px;
    }

    /* Telefonda 3 ana başlık alt alta tam genişlikte durur; açılır menü
       de (masaüstündeki gibi kutu içinde taşan bir katman yerine) başlığın
       hemen altında düz akışta genişler — ekran dışına taşmaz, dokunmatik
       kaydırma gerektirmez. */
    .ust-menu-grup {
        width: 100%;
    }

    .ust-menu-baslik {
        width: 100%;
        text-align: left;
    }

    .ust-menu-acilir {
        position: static;
        width: 100%;
        margin-top: 6px;
        margin-bottom: 4px;
        box-shadow: none;
    }

    .icerik,
    .icerik-genis {
        padding: 0 10px;
        margin: 16px auto;
    }

    .kart {
        padding: 14px;
    }

    .operasyon-baslik-bandi {
        margin: -14px -14px 14px -14px;
    }

    .sorgu-satir {
        flex-direction: column;
        gap: 8px;
    }

    .sorgu-baslik {
        width: auto;
        padding-top: 0;
    }

    .sorgu-alanlar {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-satiri {
        flex-direction: column;
        align-items: stretch;
    }

    .form-satiri .alan {
        width: 100%;
    }

    .form-satiri button {
        width: 100%;
    }

    .fis-yukle-buton {
        width: 100%;
        font-size: 19px;
        padding: 18px 20px;
        min-height: 58px;
    }

    .mazot-kaydet-ana-buton {
        width: 100%;
        font-size: 19px;
        padding: 18px 20px;
        min-height: 58px;
    }
}
