.login-mesaj,
.login-mesaj .mud-alert-message {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.45;
}

.termin-hizli-tipler {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    pointer-events: none;
    user-select: none;
}

.termin-hizli-tip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.termin-hizli-tip-img {
    width: 36px !important;
    height: 22px !important;
    max-width: 36px;
    max-height: 22px;
    object-fit: contain;
}

.termin-hizli-tip-mark {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.plaka-frame {
    border: 6px solid black;      /* 🔥 Kalın siyah çerçeve */
    border-radius: 8px;           /* Hafif yuvarlatılmış köşeler */
    background-color: white;      /* Beyaz iç zemin */
    display: inline-block;
    padding: 8px 12px;
}

/* Termin saatleri: scoped CSS yüklenmese de seçilebilir kalsın */
.termin-saat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.termin-saat {
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #9fa8da;
    border-radius: 12px;
    background: #fff;
    min-height: 56px;
    width: 100%;
    padding: 14px 10px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #283593;
    cursor: pointer;
    line-height: 1;
}

.termin-saat:hover {
    border-color: #283593;
    background: #e8eaf6;
}

.termin-saat.is-selected {
    border-color: #283593;
    background: #283593;
    color: #fff;
}

@media (max-width: 599px) {
    .termin-saat-grid {
        gap: 16px;
    }

    .termin-saat {
        min-height: 60px;
    }
}

.anasayfa-termin-serit {
    background: #1565c0;
    color: #fff;
    width: 100%;
    min-height: 140px;
    padding: 28px 32px;
    border-radius: 8px;
    box-sizing: border-box;
}

.anasayfa-termin-serit-ici {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 84px;
    text-align: center;
}

.anasayfa-termin-serit-metin {
    width: 100%;
    text-align: center;
}

.anasayfa-termin-serit-baslik {
    color: #fff !important;
    font-weight: 700;
    text-align: center;
}

.anasayfa-termin-serit-yazi {
    color: rgba(255, 255, 255, 0.92) !important;
    margin-top: 8px;
    text-align: center;
}

.anasayfa-termin-serit-btn {
    background: #fff !important;
    color: #1565c0 !important;
    width: min(520px, 100%);
    min-height: 52px;
    padding: 12px 40px !important;
}

.anasayfa-termin-geri-sayim {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.anasayfa-sohbet-serit {
    background: #00695c;
    color: #fff;
    width: 100%;
    min-height: 140px;
    padding: 28px 32px;
    border-radius: 8px;
    box-sizing: border-box;
}

.anasayfa-sohbet-serit-btn {
    background: #fff !important;
    color: #00695c !important;
    width: min(520px, 100%);
    min-height: 52px;
    padding: 12px 40px !important;
}

.anasayfa-ceza-serit {
    background: #ef6c00;
    color: #fff;
    width: 100%;
    min-height: 140px;
    padding: 28px 32px;
    border-radius: 8px;
    box-sizing: border-box;
}

.anasayfa-ceza-serit-btn {
    background: #fff !important;
    color: #ef6c00 !important;
    width: min(520px, 100%);
    min-height: 52px;
    padding: 12px 40px !important;
}

.anasayfa-kaza-serit {
    background: #c62828;
    color: #fff;
    width: 100%;
    min-height: 140px;
    padding: 28px 32px;
    border-radius: 8px;
    box-sizing: border-box;
}

.anasayfa-kaza-serit-btn {
    background: #fff !important;
    color: #c62828 !important;
    width: min(520px, 100%);
    min-height: 52px;
    padding: 12px 40px !important;
}

.anasayfa-menuler {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.anasayfa-menuler .anasayfa-termin-serit,
.anasayfa-menuler .anasayfa-sohbet-serit,
.anasayfa-menuler .anasayfa-ceza-serit,
.anasayfa-menuler .anasayfa-kaza-serit {
    min-height: 0;
    height: 100%;
    padding: 14px 12px;
}

.anasayfa-menuler .anasayfa-termin-serit-ici {
    gap: 10px;
    min-height: 0;
    height: 100%;
}

.anasayfa-menuler .anasayfa-termin-serit-baslik {
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
}

.anasayfa-menuler .anasayfa-termin-serit-yazi {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    margin-top: 4px;
}

.anasayfa-menuler .anasayfa-termin-geri-sayim {
    font-size: 0.95rem;
}

.anasayfa-menuler .anasayfa-termin-serit-btn,
.anasayfa-menuler .anasayfa-sohbet-serit-btn,
.anasayfa-menuler .anasayfa-ceza-serit-btn,
.anasayfa-menuler .anasayfa-kaza-serit-btn {
    width: 100%;
    min-height: 34px;
    height: auto;
    margin-top: auto;
    padding: 6px 8px !important;
    font-size: 0.78rem;
    white-space: normal;
}

.anasayfa-menuler .mud-button-label {
    white-space: normal;
    line-height: 1.2;
    text-align: center;
}

@media (max-width: 768px) {
    .anasayfa-menuler {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .anasayfa-menuler .anasayfa-sohbet-serit {
        grid-column: 1;
        grid-row: 2;
    }

    .anasayfa-menuler .anasayfa-ceza-serit {
        grid-column: 2;
        grid-row: 1;
    }

    .anasayfa-menuler .anasayfa-kaza-serit {
        grid-column: 2;
        grid-row: 2;
    }
}

.musteri-hub {
    background: #f4f7fb;
    border-radius: 18px;
    padding: 28px 28px 22px;
}

.musteri-hub-baslik {
    margin: 0 0 6px;
    color: #1b2a4a;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.musteri-hub-alt {
    margin: 0 0 18px;
    color: #6d7b8c;
    font-size: 1rem;
}

.musteri-hub-kart {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 16px;
    padding: 22px 22px 20px;
    box-shadow: 0 8px 24px rgba(27, 42, 74, 0.04);
}

.musteri-hub-kart-baslik {
    margin: 0 0 18px;
    color: #1b2a4a;
    font-size: 1.2rem;
    font-weight: 700;
}

.musteri-hub-isler {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.musteri-hub-is {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.musteri-hub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 240px;
    min-height: 42px;
    padding: 10px 18px;
    background: #1d4ed8;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.musteri-hub-btn:hover {
    background: #1e40af;
    color: #fff;
}

.musteri-hub-ipucu,
.musteri-hub-yazi {
    margin: 10px 0 0;
    color: #6d7b8c;
    font-size: 0.92rem;
    line-height: 1.45;
}

.musteri-hub-yazi {
    text-align: left;
}

.musteri-hub-secim {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.musteri-hub-secim-btn,
.musteri-hub-cerceve-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    background: #fff;
    color: #1d4ed8;
    border: 1px solid #c5d4f5;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.musteri-hub-secim-btn:hover,
.musteri-hub-cerceve-btn:hover {
    background: #eff4ff;
    color: #1e40af;
}

.musteri-hub-cerceve-btn {
    margin-top: 18px;
}

.musteri-hub-alt-kartlar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.musteri-hub-alt-kartlar .musteri-hub-kart-baslik {
    margin-bottom: 8px;
}

.musteri-pruf {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.musteri-pruf-kart {
    display: block;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 16px;
    padding: 18px 18px 16px;
    text-decoration: none;
    color: inherit;
}

.musteri-pruf-kart:hover {
    border-color: #c5d4f5;
}

.musteri-pruf-ust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.musteri-pruf-ust h2 {
    margin: 0;
    color: #1b2a4a;
    font-size: 1.15rem;
    font-weight: 700;
}

.musteri-pruf-kart p {
    margin: 0;
    color: #6d7b8c;
    font-size: 0.95rem;
    line-height: 1.45;
}

.musteri-pruf-rozet {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.musteri-pruf-rozet-turuncu {
    background: #fff3df;
    color: #b86e00;
}

.musteri-pruf-rozet-gri {
    background: #eef1f4;
    color: #6b7280;
}

.musteri-pruf-rozet-yesil {
    background: #e8f6ee;
    color: #157347;
}

.musteri-pruf-rozet-kirmizi {
    background: #fdecec;
    color: #b42318;
}

.eingang-tablo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eingang-satir {
    display: grid;
    grid-template-columns: 110px 160px 150px 1fr auto;
    gap: 12px;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    color: #1a2744;
}

.eingang-frist {
    box-shadow: inset 3px 0 0 #e07a2f;
}

.eingang-bos {
    box-shadow: inset 3px 0 0 #8aa0b8;
}

.eingang-no {
    font-weight: 700;
}

.eingang-betreff {
    color: #3d4d63;
}

.eingang-plaka {
    display: block;
    font-size: 0.8rem;
    color: #6b7c90;
}

.eingang-ac {
    border: 0;
    background: transparent;
    color: #1d4e89;
    font-weight: 600;
    cursor: pointer;
}

.termin-gun-ust {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.termin-gun-firma {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a2744;
}

.termin-gun-tarih {
    display: flex;
    align-items: center;
    color: #3d4d63;
}

.termin-gun-sayac {
    color: #5c6b80;
    font-size: 0.95rem;
    padding-top: 8px;
}

.termin-gun-govde {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: 18px;
}

.termin-gun-kart {
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 16px;
    padding: 18px 18px 16px;
}

.termin-gun-kart h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    color: #1a2744;
}

.termin-gun-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.termin-gun-satir {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    padding: 8px 10px;
}

.termin-gun-bos {
    background: #f3faf4;
}

.termin-gun-dolu {
    background: #eef4fb;
}

.termin-gun-kapali {
    background: #f4f6f8;
    color: #6b7c90;
}

.termin-gun-saat {
    font-weight: 700;
    color: #1a2744;
}

.termin-gun-btn,
.termin-gun-uygula,
.termin-gun-walkin {
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 600;
    cursor: pointer;
}

.termin-gun-btn {
    border: 1px solid #8fd0a0;
    background: #fff;
    color: #1f7a3a;
}

.termin-gun-btn-ac {
    border-color: #1d4e89;
    background: #1d4e89;
    color: #fff;
}

.termin-gun-saatler,
.termin-gun-not {
    color: #5c6b80;
    font-size: 0.9rem;
    margin: 12px 0;
}

.termin-gun-uygula,
.termin-gun-walkin {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 10px 12px;
}

.termin-gun-uygula {
    border: 0;
    background: #1d4e89;
    color: #fff;
}

.termin-gun-walkin {
    border: 1px solid #c5d0de;
    background: #fff;
    color: #1a2744;
}

@media (max-width: 900px) {
    .eingang-satir {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 599px) {
    .anasayfa-termin-serit,
    .anasayfa-sohbet-serit,
    .anasayfa-ceza-serit,
    .anasayfa-kaza-serit {
        min-height: 0;
        padding: 22px 18px;
    }

    .anasayfa-termin-serit-btn,
    .anasayfa-sohbet-serit-btn,
    .anasayfa-ceza-serit-btn,
    .anasayfa-kaza-serit-btn {
        width: 100%;
    }

    .musteri-hub-isler,
    .musteri-hub-alt-kartlar {
        grid-template-columns: 1fr;
    }

    .musteri-hub-baslik {
        font-size: 1.6rem;
    }

    .termin-gun-govde {
        grid-template-columns: 1fr;
    }
}

.akte {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 35, 126, 0.1);
    margin-bottom: 14px;
}

.akte-ust {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 18px 16px;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 70%, #5c6bc0 100%);
    color: #fff;
}

.akte-no {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

.akte-konu {
    margin-top: 4px;
    font-size: 1.45rem;
    font-weight: 750;
    line-height: 1.15;
}

.akte-tarih {
    margin-top: 6px;
    font-size: 0.85rem;
    opacity: 0.85;
}

.akte-rozet {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.akte-ust .mud-button-root {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    text-transform: none;
}

.akte-bilgiler {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.akte-bilgi {
    padding: 12px 16px;
    border-top: 1px solid #eef1f6;
}

.akte-bilgi span {
    display: block;
    color: #78909c;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}

.akte-bilgi strong {
    display: block;
    margin-top: 3px;
    font-size: 0.95rem;
    font-weight: 650;
    color: #1a237e;
}

.akte-kart {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(26, 35, 126, 0.08);
    padding: 14px 16px;
    margin-bottom: 14px;
}

.akte-baslik {
    font-weight: 750;
    color: #1a237e;
    margin-bottom: 8px;
}

.akte-dosya {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 12px;
    background: #f6f8fc;
    margin-bottom: 8px;
}

.akte-ikon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #e8eaf6;
    color: #283593;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
    flex: 0 0 auto;
}

.akte-dosya-metin {
    min-width: 0;
    flex: 1;
}

.akte-dosya-metin .mud-button-root {
    justify-content: flex-start;
    text-transform: none;
    font-weight: 700;
    padding: 0;
    min-height: 0;
}

.akte-dosya-alt {
    color: #78909c;
    font-size: 0.78rem;
}

.akte-onay {
    white-space: pre-line;
    margin-top: 8px;
    color: #37474f;
    font-size: 0.9rem;
}

.belge-sahne {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 12px;
    background:
        linear-gradient(45deg, #e8eaf6 25%, transparent 25%),
        linear-gradient(-45deg, #e8eaf6 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e8eaf6 75%),
        linear-gradient(-45deg, transparent 75%, #e8eaf6 75%);
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0;
    background-color: #fafbff;
}

.belge-sahne img,
.belge-sahne video {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    min-width: min(220px, 100%);
    min-height: 140px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.16);
}

@media (max-width: 640px) {
    .akte-bilgiler {
        grid-template-columns: 1fr;
    }
}
