/* ===========================================================
   Vanciti — Modern Design System (v2)
   =========================================================== */
:root {
    /* Brand — Vanciti logo paleti (navy + yeşil) */
    --turuncu: #00a651;
    --turuncu-koyu: #008f46;
    --turuncu-acik: #33c074;
    --turuncu-grad: linear-gradient(135deg, #00a651 0%, #008f46 100%);

    --lacivert: #002a54;
    --lacivert-orta: #003d73;
    --lacivert-acik: #0a4a80;

    --yesil: #00a651;
    --yesil-koyu: #008f46;

    /* Rozet madalya renkleri */
    --rozet-altin: #f5c518;
    --rozet-mor: #8b5cf6;
    --rozet-mavi: #2563eb;

    /* Neutrals */
    --gri-100: #f4f7f4;
    --gri-200: #eef1f6;
    --gri-300: #dee3ec;
    --gri-400: #b8c0cf;
    --gri-500: #6b7488;
    --gri-700: #2d3340;
    --ink: #161a23;
    --surface: #ffffff;
    --cizgi: rgba(16, 24, 40, 0.08);

    /* Shadows — softer, layered */
    --golge-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 14px rgba(16, 24, 40, 0.05);
    --golge-md: 0 8px 24px rgba(16, 24, 40, 0.08), 0 2px 6px rgba(16, 24, 40, 0.04);
    --golge-lg: 0 24px 60px rgba(16, 24, 40, 0.14), 0 6px 16px rgba(16, 24, 40, 0.06);
    --golge-turuncu: 0 10px 28px rgba(0, 166, 81, 0.32);

    /* Radius — köşeli */
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
    --bs-border-radius-xl: 0;
    --bs-border-radius-2xl: 0;
    --bs-border-radius-pill: 0;
    --bs-body-font-family: Arial, Helvetica, sans-serif;

    --gecis: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(1200px 600px at 100% -10%, rgba(0, 166, 81, 0.05), transparent 60%),
        var(--gri-100);
    color: var(--gri-700);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main { flex: 1; }

h1, h2, h3, h4, h5, h6 { color: var(--ink); }

a { text-decoration: none; }

.fw-600 { font-weight: 600 !important; }

::selection { background: rgba(0, 166, 81, 0.22); }

/* Display font helper */
.font-display {
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

/* ── Navbar ── */
.navbar-nakliye {
    background: #fff !important;
    border-bottom: 3px solid var(--lacivert);
    min-height: 76px;
    padding: 0.4rem 0;
    position: relative;
    box-shadow: 0 1px 0 rgba(0, 42, 84, 0.06);
}

.navbar-nakliye::after { display: none; }

.navbar-brand-vanciti {
    display: flex;
    align-items: center;
    padding: 0;
    color: var(--lacivert) !important;
}

.navbar-logo {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    object-position: left center;
}

.navbar-nakliye .nav-link {
    color: var(--lacivert) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.95rem !important;
    border-radius: 0;
    transition: var(--gecis);
    position: relative;
}

.navbar-nakliye .nav-link:hover,
.navbar-nakliye .nav-link:focus {
    color: var(--lacivert-orta) !important;
    background: rgba(0, 42, 84, 0.08);
}

.navbar-nakliye .navbar-toggler {
    border: 1px solid var(--lacivert);
    border-radius: 0;
}

.navbar-nakliye .navbar-toggler-icon {
    filter: none;
}

/* Müşteri: lacivert vurgu (mevcut) */
body.tema-musteri .navbar-nakliye {
    border-bottom-color: var(--lacivert);
}
body.tema-musteri .navbar-nakliye .nav-link {
    color: var(--lacivert) !important;
}

/* Şoför: lacivert navbar + açık yazı */
body.tema-sofor .navbar-nakliye {
    background: linear-gradient(120deg, #002a54, #003d73) !important;
    border-bottom: 3px solid #00a651;
    box-shadow: 0 2px 12px rgba(0, 42, 84, 0.25);
}
body.tema-sofor .navbar-nakliye .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
}
body.tema-sofor .navbar-nakliye .nav-link:hover,
body.tema-sofor .navbar-nakliye .nav-link:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
}
body.tema-sofor .navbar-nakliye .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.55);
}
body.tema-sofor .navbar-nakliye .navbar-toggler-icon {
    filter: invert(1) brightness(1.2);
}
body.tema-sofor .navbar-nakliye .dropdown-menu {
    background: #fff;
}
body.tema-sofor .navbar-nakliye .btn-nav-cta {
    color: var(--lacivert) !important;
    background: #fff;
}
body.tema-sofor .footer-nakliye {
    background: linear-gradient(120deg, #001a33, #002a54);
    border-top: 3px solid #00a651;
}
body.tema-sofor .footer-brand {
    color: #fff;
}
body.tema-sofor .footer-link:hover {
    color: #7dd3a0;
}
body.tema-sofor .page-banner {
    background:
        radial-gradient(600px 300px at 90% -40%, rgba(0, 166, 81, 0.2), transparent 60%),
        linear-gradient(120deg, #001a33 0%, #002a54 55%, #003d73 100%);
}

body.tema-musteri .footer-nakliye {
    background: linear-gradient(120deg, #002a54, #003d73);
}
body.tema-musteri .navbar-nakliye .nav-link {
    color: var(--lacivert) !important;
}

.navbar-nakliye .navbar-toggler-icon {
    filter: none;
}

.navbar-nakliye .dropdown-menu {
    margin-top: 0.5rem;
    padding: 0.4rem;
}

.dropdown-item {
    border-radius: 0;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.55rem 0.8rem;
    transition: var(--gecis);
}

.navbar-nakliye .dropdown-item {
    color: var(--yesil-koyu);
}

.dropdown-item:hover { background: var(--gri-100); }
.dropdown-item.text-danger:hover { background: #fef2f2; }

.btn-nav-cta {
    background: var(--yesil-koyu);
    color: #fff !important;
    border-radius: 0;
    padding: 9px 24px !important;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 166, 81, 0.32);
    transition: var(--gecis);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--golge-turuncu);
}

/* ── Hero ── */
.hero-section {
    background:
        radial-gradient(900px 500px at 85% 0%, rgba(0, 166, 81, 0.22), transparent 55%),
        radial-gradient(700px 500px at 0% 100%, rgba(6, 78, 59, 0.6), transparent 60%),
        linear-gradient(135deg, #002a54 0%, #003d73 55%, #0a4a80 100%);
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(70% 70% at 50% 30%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 0%, transparent 75%);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 6vw, 4rem);
    letter-spacing: -1.5px;
    line-height: 1.04;
    color: #fff;
}

.hero-title span { color: var(--turuncu); }

.hero-subtitle {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.68);
    max-width: 540px;
    line-height: 1.7;
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--golge-lg);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-photo-img {
    width: 100%;
    max-height: 360px;
    height: 360px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--golge-lg);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-baslik-etiket {
    background: rgba(0, 166, 81, 0.18);
    color: #bbf7d0;
    font-weight: 700;
}

@media (max-width: 991px) {
    .hero-photo-img { height: 220px; max-height: 220px; }
}

.hero-trust-badges {
    max-width: 540px;
}

.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50px;
    padding: 0.45rem 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* ── Page Banner (iç sayfalar) ── */
.page-banner {
    background:
        radial-gradient(600px 300px at 90% -40%, rgba(0, 166, 81, 0.25), transparent 60%),
        linear-gradient(120deg, #002a54 0%, #003d73 100%);
    padding: 1.4rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-banner-content { position: relative; z-index: 1; }

.page-banner-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.2;
}

.page-banner-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0.15rem 0 0;
}

.page-banner-icon { display: none; }

/* ── Stats Bar ── */
.stats-bar {
    background: linear-gradient(120deg, #002a54, #003d73);
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item { text-align: center; color: #fff; }

.stat-number {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 2.6rem;
    background: linear-gradient(180deg, #fff, var(--turuncu-acik));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 0.35rem;
}

/* Ana sayfa foto şeridi — kareler sola akar */
.foto-serit {
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--cizgi);
    padding: 0.7rem 0;
}

.foto-serit-track {
    display: flex;
    gap: 0.65rem;
    width: max-content;
    animation: fotoSeritKay 42s linear infinite;
}

.foto-serit:hover .foto-serit-track { animation-play-state: paused; }

.foto-serit-kare {
    width: 118px;
    height: 118px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--cizgi);
    background: var(--gri-200);
}

@keyframes fotoSeritKay {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .foto-serit-track { animation: none; }
}

/* ── Cards ── */
.ilan-kart {
    border: 1px solid var(--cizgi);
    border-radius: var(--radius-md);
    box-shadow: var(--golge-sm);
    transition: transform var(--gecis), box-shadow var(--gecis), border-color var(--gecis);
    overflow: hidden;
    background: var(--surface);
    height: 100%;
}

.ilan-kart:hover {
    transform: translateY(-6px);
    box-shadow: var(--golge-lg);
    border-color: rgba(0, 166, 81, 0.28);
}

.ilan-kart .kart-foto {
    height: 195px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

.ilan-kart:hover .kart-foto { transform: scale(1.05); }

.ilan-kart .kart-foto-placeholder {
    height: 195px;
    background: linear-gradient(135deg, var(--gri-200) 0%, var(--gri-300) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--gri-400);
}

/* Liste satırı (foto sol + bilgi sağ) */
.ilan-satir-liste {
    border: 1px solid var(--cizgi);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
}

.ilan-satir-liste .ilan-satir-kapsul:last-child {
    border-bottom: none;
}

.ilan-satir-kapsul {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-bottom: 1px solid var(--gri-200);
    background: #fff;
}

.ilan-satir-kapsul--acil,
.ilan-satir-kapsul--vurgu {
    background: #fffbeb;
}

.ilan-satir-kapsul .ilan-satir {
    flex: 1 1 0;
    min-width: 0;
    border-bottom: none;
}

.ilan-satir-teklif-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 108px;
    padding: 0.65rem 0.85rem;
    margin: 0.5rem 0.65rem 0.5rem 0;
    background: var(--turuncu, #00A651);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none !important;
    border: none;
    align-self: center;
}

.ilan-satir-teklif-btn:hover {
    filter: brightness(0.95);
    color: #fff !important;
}

.ilan-satir-teklif-durum {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.85rem;
    margin: 0.5rem 0.65rem 0.5rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #166534;
    align-self: center;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .ilan-satir-kapsul {
        flex-direction: column;
    }
    .ilan-satir-teklif-btn,
    .ilan-satir-teklif-durum {
        width: calc(100% - 1.3rem);
        margin: 0 0.65rem 0.65rem;
        min-height: 48px;
    }
}

.ilan-satir {
    display: flex;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--gri-200);
    text-decoration: none !important;
    color: inherit;
    transition: background 0.15s ease;
    background: #fff;
}

.ilan-satir:hover {
    background: #f5f8fc;
}

.ilan-satir--acil,
.ilan-satir--vurgu {
    background: #fffbeb;
}

.ilan-satir--acil:hover,
.ilan-satir--vurgu:hover {
    background: #fef3c7;
}

.ilan-satir-foto {
    flex: 0 0 88px;
    width: 88px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--gri-100);
}

.ilan-satir-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ilan-satir-foto-yok {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lacivert);
    opacity: 0.35;
    font-size: 1.5rem;
    background: #eef3f8;
}

.ilan-satir-govde {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
}

.ilan-satir-baslik {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--lacivert);
    line-height: 1.25;
}

.ilan-satir:hover .ilan-satir-baslik {
    text-decoration: underline;
}

.ilan-satir-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    font-size: 0.78rem;
    color: var(--gri-500);
}

.ilan-satir-sag {
    flex: 0 0 auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.35rem;
    min-width: 5.5rem;
}

.ilan-satir-fiyat {
    font-weight: 800;
    font-size: 0.95rem;
    color: #c62828;
    white-space: nowrap;
}

.ilan-satir-aksiyon {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--lacivert);
    opacity: 0.75;
}

@media (max-width: 575.98px) {
    .ilan-satir-foto {
        flex-basis: 68px;
        width: 68px;
        height: 58px;
    }
    .ilan-satir-baslik { font-size: 0.85rem; }
    .ilan-satir-fiyat { font-size: 0.85rem; }
}

.form-kart {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--golge-sm);
    border: 1px solid var(--cizgi);
    box-sizing: border-box;
}

.form-kart-vurgu-yesil {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.stat-kart {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--golge-sm);
    text-align: center;
    border: 1px solid var(--cizgi);
    transition: var(--gecis);
    height: 100%;
}

.stat-kart:hover {
    transform: translateY(-4px);
    box-shadow: var(--golge-md);
    border-color: rgba(0, 166, 81, 0.25);
}

.stat-kart-icon { font-size: 2rem; margin-bottom: 0.5rem; display: block; }

.stat-kart-value {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--ink);
    line-height: 1;
    margin: 0.4rem 0;
}

/* ── How it works ── */
.step-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--golge-sm);
    border: 1px solid var(--cizgi);
    transition: var(--gecis);
    height: 100%;
    position: relative;
}

.step-card:hover {
    border-color: rgba(0, 166, 81, 0.35);
    box-shadow: var(--golge-md);
    transform: translateY(-5px);
}

.step-number {
    width: 38px;
    height: 38px;
    background: var(--turuncu-grad);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 16px rgba(0, 166, 81, 0.3);
}

.step-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

/* ── CTA Banner ── */
.cta-banner {
    background: var(--turuncu-grad);
    border-radius: var(--radius-lg);
    padding: 3.25rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--golge-turuncu);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 420px;
    height: 420px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -10%;
    width: 320px;
    height: 320px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 50%;
}

.cta-banner h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
    color: #fff;
    position: relative;
}

/* ── Badges ── */
.badge-durum-aktif { background: #16a34a !important; }
.badge-durum-teklif_secildi { background: #2563eb !important; }
.badge-durum-yukte { background: #ea580c !important; }
.badge-durum-tamamlandi { background: #64748b !important; }
.badge-durum-pasif { background: #94a3b8 !important; }
.badge-durum-iptal { background: #dc2626 !important; }

.tasinma-onay-kose {
    margin-bottom: 1.5rem;
}

.tasinma-onay-uyarisi {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid rgba(217, 119, 6, 0.3);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    box-shadow: var(--golge-md);
}

.tasinma-onay-baslik {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.tasinma-onay-uyarisi-icon { font-size: 1.35rem; line-height: 1; }

.tasinma-onay-sayi {
    margin-left: auto;
    background: #d97706;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
}

.tasinma-onay-aciklama {
    font-size: 0.8rem;
    color: #92400e;
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.tasinma-onay-liste {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 380px;
    overflow-y: auto;
}

.tasinma-onay-kart {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.8rem;
}

.tasinma-onay-kart-bilgi { margin-bottom: 0.6rem; }
.tasinma-onay-kart-bilgi strong { font-size: 0.9rem; }

.tasinma-onay-sure {
    display: inline-block;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #b45309;
    background: rgba(217, 119, 6, 0.12);
    padding: 0.1rem 0.55rem;
    border-radius: 50px;
}

.tasinma-onay-aksiyon {
    display: flex;
    gap: 0.4rem;
}

.tasinma-onay-aksiyon form { flex: 1; }

/* İlan detay: Taşınma Onayı kutusu (teklifler kutusu stili) */
.tasinma-onay-kutu {
    display: flex;
    flex-direction: column;
    border-top: 3px solid #d97706;
}

.tasinma-onay-kutu .tasinma-onay-sure {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #b45309;
    background: rgba(217, 119, 6, 0.12);
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
}

.tasinma-onay-butonlar {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.tasinma-onay-butonlar form { flex: 1; }

.badge-yuk {
    background: rgba(0, 166, 81, 0.12) !important;
    color: var(--turuncu-koyu) !important;
    font-weight: 700;
    border: 1px solid rgba(0, 166, 81, 0.22);
}

.badge-acil {
    background: linear-gradient(135deg, #ff3b30, #c62828) !important;
    color: #fff !important;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.acil-ilan-banner {
    background: linear-gradient(135deg, #ff3b30 0%, #c62828 100%);
    color: #fff;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(255, 59, 48, 0.35);
    margin-bottom: 1.5rem;
}

.acil-ilan-etiket {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 50px;
    padding: 0.45rem 1.1rem;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.06em;
    color: #fff;
    white-space: nowrap;
}

.acil-ilan-etiket--kompakt {
    display: flex;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #ff3b30, #c62828);
    border: none;
    box-shadow: 0 4px 14px rgba(255, 59, 48, 0.35);
}

.badge { border-radius: 50px; padding: 0.4em 0.85em; }

/* Yasal sayfalar */
.yasal-metin h5 {
    color: var(--lacivert);
    margin-top: 1.5rem;
}

.yasal-metin ul {
    padding-left: 1.25rem;
}

.yasal-metin li {
    margin-bottom: 0.35rem;
    color: var(--gri-600);
}

.yasal-sirket-bilgisi li {
    margin-bottom: 0.5rem;
}

/* PWA — ana ekrana ekle banner */
.pwa-install-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1080;
    background: #fff;
    border-radius: 16px;
    padding: 1rem 1rem 0.85rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(0, 166, 81, 0.25);
    max-width: 420px;
    margin: 0 auto;
}

.pwa-install-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    color: var(--gri-500);
    font-size: 1rem;
    line-height: 1;
    padding: 4px;
}

.pwa-install-inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
    padding-right: 1.5rem;
}

.pwa-install-icon {
    border-radius: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pwa-install-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--lacivert);
}

.pwa-install-text small {
    display: block;
    color: var(--gri-500);
    line-height: 1.35;
}

.pwa-ios-help {
    background: var(--gri-100);
    border-radius: 12px;
    padding: 0.75rem;
    margin-top: 0.5rem;
}

body.pwa-banner-visible {
    padding-bottom: 7.5rem;
}

@media (min-width: 992px) {
    .pwa-install-banner { display: none !important; }
}

/* ── Teklif ── */
.teklif-kart {
    border: 1px solid var(--cizgi);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    margin-bottom: 0.75rem;
    transition: var(--gecis);
    background: var(--surface);
}

.teklif-kart:hover {
    border-color: var(--turuncu);
    box-shadow: var(--golge-sm);
    transform: translateY(-2px);
}

.teklif-kart.secilen {
    border-color: #16a34a;
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.12);
}

/* ── Fotoğraf yükleme (galeri / kamera) ── */
.foto-yukle-onizleme {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.foto-yukle-onizleme img,
.foto-yukle-onizleme .foto-yukle-dosya-etiket {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--cizgi);
}

.foto-yukle-dosya-etiket {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gri-100);
    font-size: 0.65rem;
    color: var(--gri-500);
    text-align: center;
    padding: 0.25rem;
    word-break: break-all;
}

.foto-yukle-bos {
    display: none;
}

.kullanici-kart-satir {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.kullanici-kart-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.kullanici-kart-avatar-yer-tutucu {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gri-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

/* ── Buttons ── */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: var(--gecis);
}

.btn-lg { border-radius: 14px; }

.btn-turuncu {
    background: var(--turuncu-grad);
    background-color: var(--turuncu);
    color: #fff;
    border: none;
    padding: 10px 24px;
    box-shadow: 0 6px 18px rgba(0, 166, 81, 0.28);
}

.btn-turuncu:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--golge-turuncu);
    filter: saturate(1.05);
}

.btn-turuncu:active { transform: translateY(0); }

.btn-acil {
    background: linear-gradient(135deg, #ff3b30 0%, #c62828 100%);
    color: #fff;
    border: none;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4);
    animation: acil-pulse 2.2s ease-in-out infinite;
}

.btn-acil:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(255, 59, 48, 0.55);
}

@keyframes acil-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4); }
    50% { box-shadow: 0 8px 28px rgba(255, 59, 48, 0.65); }
}

.btn-outline-turuncu {
    border: 2px solid var(--turuncu);
    color: var(--turuncu);
    background: transparent;
    padding: 8px 22px;
}

.btn-outline-turuncu:hover {
    background: var(--turuncu);
    color: #fff;
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: var(--yesil);
    color: #fff;
    border: none;
    font-weight: 700;
}

.btn-whatsapp:hover {
    background: var(--yesil-koyu);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* ── Forms (modern global) ── */
.form-label { font-weight: 600; color: var(--gri-700); font-size: 0.9rem; }

.form-control, .form-select {
    border: 1.5px solid var(--gri-300);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
    color: var(--ink);
    background-color: #fff;
    transition: border-color var(--gecis), box-shadow var(--gecis);
}

.form-control:focus, .form-select:focus {
    border-color: var(--turuncu);
    box-shadow: 0 0 0 4px rgba(0, 166, 81, 0.14);
    outline: none;
}

.form-control::placeholder { color: var(--gri-400); }

textarea.form-control { min-height: 96px; }

.input-group-text {
    border: 1.5px solid var(--gri-300);
    border-radius: var(--radius-sm);
    background: var(--gri-100);
}

/* ── Profil ── */
.profil-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: var(--golge-md);
}

.profil-avatar-lg { width: 120px; height: 120px; }

/* ── Yıldızlar ── */
.yildiz-dolu { color: #f5a623; }
.yildiz-bos { color: var(--gri-300); }

/* ── Foto galeri ── */
.foto-galeri img {
    width: 150px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--gecis);
    border: 2px solid transparent;
}

.foto-galeri img:hover {
    border-color: var(--turuncu);
    transform: scale(1.04);
}

.foto-galeri img.expanded {
    width: 100%;
    height: auto;
    max-height: 420px;
}

/* ── Adres kutuları ── */
.adres-kutu-alis {
    background: linear-gradient(135deg, #fff5f0, #fff);
    border-left: 4px solid var(--turuncu);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.adres-kutu-teslim {
    background: linear-gradient(135deg, #f0fdf4, #fff);
    border-left: 4px solid #16a34a;
    border-radius: var(--radius-sm);
    padding: 1rem;
}

/* ── Auth pages ── */
.auth-logo-img {
    max-height: 110px;
    max-width: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.auth-logo-text {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.1rem;
    letter-spacing: 2px;
    color: var(--turuncu-koyu);
}

.auth-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.auth-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--golge-lg);
    border: 1px solid var(--cizgi);
}

.account-type-card {
    border: 2px solid var(--gri-200);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--gecis);
    text-align: center;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.account-type-card:hover { border-color: var(--turuncu-acik); }

.btn-check:checked + .account-type-card {
    border-color: var(--turuncu);
    background: rgba(0, 166, 81, 0.06);
    box-shadow: 0 0 0 4px rgba(0, 166, 81, 0.14);
}

/* ── Footer ── */
.footer-nakliye {
    background: linear-gradient(120deg, #002a54, #003d73);
    color: rgba(255, 255, 255, 0.62);
    padding: 3.5rem 0 1.5rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.7rem;
    color: var(--turuncu);
    letter-spacing: 2px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--gecis);
    font-size: 0.9rem;
}

.footer-link:hover { color: var(--turuncu); }

/* ── Table ── */
.table-modern { border-collapse: separate; border-spacing: 0; }

.table-modern thead th {
    background: var(--gri-100);
    border: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gri-500);
    padding: 0.8rem 1rem;
}

.table-modern tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--gri-200);
    vertical-align: middle;
}

.table-modern tbody tr { transition: background var(--gecis); }
.table-modern tbody tr:hover { background: var(--gri-100); }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state-icon { font-size: 4rem; opacity: 0.55; }

/* ── Pagination ── */
.pagination .page-link {
    border-radius: var(--radius-sm);
    margin: 0 3px;
    border: 1px solid var(--gri-200);
    color: var(--gri-700);
    font-weight: 600;
    transition: var(--gecis);
}

.pagination .page-link:hover { background: var(--gri-100); color: var(--turuncu); }

.pagination .page-item.active .page-link {
    background: var(--turuncu-grad);
    border-color: transparent;
    color: #fff;
}

/* ── Section titles ── */
.section-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: clamp(1.7rem, 3vw, 2.1rem);
    letter-spacing: -0.5px;
    color: var(--ink);
}

.section-subtitle { color: var(--gri-500); font-size: 1rem; }

/* ── Kredi ── */
.kredi-kart {
    background: var(--turuncu-grad);
    color: #fff;
    padding: 1.6rem;
    border-radius: var(--radius-md);
    box-shadow: var(--golge-turuncu);
}

.kredi-kart-value { font-size: 2.5rem; font-weight: 800; margin: 1rem 0; }

/* ── Alerts ── */
.alert { border-radius: var(--radius-sm); border: 1px solid transparent; }

/* ── Entrance animation ── */
@keyframes riseIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

main > section, .form-kart, .auth-card { animation: riseIn 0.5s ease both; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .form-kart { padding: 1.35rem; }
    .hero-section { min-height: 440px; padding: 2.5rem 0; }
    .auth-card { padding: 1.5rem; }
    .navbar-logo { height: 44px; }
    .cta-banner { padding: 2.25rem 1.25rem; }
}

/* ── Konum / Harita ── */
.konum-kutu {
    border-radius: var(--radius-sm);
    padding: 1rem 1.15rem;
    border: 1px solid var(--gri-200);
    background: var(--surface);
}

.konum-kutu-nereden { border-left: 4px solid #dc3545; }
.konum-kutu-nereye { border-left: 4px solid #198754; }

.konum-harita-canvas,
.google-map-canvas {
    height: 320px;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--gri-200);
    background: var(--gri-200);
}

.konum-marker { background: transparent; border: none; }

.konum-marker-inner {
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.konum-marker-nereden .konum-marker-inner { background: #dc3545; }
.konum-marker-nereye .konum-marker-inner { background: #198754; }


/* Mobil alt menü (telefon / PWA) */
@media (max-width: 991.98px) {
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    .mobil-alt-menu {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        background: #fff;
        border-top: 1px solid rgba(11, 16, 32, 0.1);
        box-shadow: 0 -4px 24px rgba(11, 16, 32, 0.08);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .mobil-alt-menu-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        padding: 0.45rem 0.25rem 0.55rem;
        font-size: 0.68rem;
        font-weight: 600;
        color: #64748b;
        text-decoration: none;
        min-height: 56px;
    }

    .mobil-alt-menu-item i {
        font-size: 1.25rem;
        line-height: 1;
    }

    .mobil-alt-menu-item.active {
        color: var(--turuncu);
    }

    .footer-nakliye {
        margin-bottom: 0.5rem;
    }
}

/* Şoför paneli — telefon önce kanıt foto yükleme */
.sofor-aktif-panel {
    border: 2px solid #00A651 !important;
    background: #f0fdf4;
}
.sofor-aktif-kart {
    background: #fff;
    border: 1px solid #bbf7d0;
    padding: 1rem;
}
.sofor-aktif-bos {
    background: #fff;
    border: 1px dashed #86efac;
    padding: 1rem;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.45;
}
.sofor-kanit-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.sofor-kanit-baslik {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    color: #002A54;
}
.sofor-kanit-dosya {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.85rem 1rem;
    background: #e8f0f8;
    border: 2px dashed #002A54;
    color: #002A54;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}
.sofor-kanit-dosya input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}
.sofor-kanit-dosya span {
    pointer-events: none;
}
.sofor-kanit-btn {
    min-height: 52px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    color: #fff !important;
}
.sofor-kanit-btn-yola {
    background: #00A651;
}
.sofor-kanit-btn-tamam {
    background: #002A54;
}
@media (max-width: 576px) {
    .sofor-kanit-btn,
    .sofor-kanit-dosya {
        min-height: 56px;
        font-size: 1.05rem;
    }
}

/* Köşeli UI + Arial — Bootstrap ve şablon radius'larını sıfırlar */
html, body, button, input, select, textarea, .form-control, .form-select,
.btn, .dropdown-item, .nav-link, .navbar, .footer-nakliye, .footer-brand {
    font-family: Arial, Helvetica, sans-serif !important;
}

.btn, .btn-lg, .btn-sm, .btn-nav-cta, .form-control, .form-select,
.form-check-input, .input-group-text, .card, .alert, .badge, .badge-yuk,
.dropdown-menu, .dropdown-item, .modal-content, .modal-header, .modal-body,
.page-link, .pagination .page-item .page-link, .list-group-item,
.progress, .progress-bar, .accordion-item, .accordion-button,
.offcanvas, .toast, .popover, .form-kart, .auth-card, .account-type-card,
.ilan-chip, .chip-secim, .chip-goster, .kredi-kart, .cta-banner,
.konum-kutu, .konum-harita-canvas, .google-map-canvas, .hero-photo-img,
.hero-banner-img, .profil-avatar, .qr-img-wrap, .qr-img, img, .foto-serit-kare,
.rounded, .rounded-1, .rounded-2, .rounded-3, .rounded-4, .rounded-5,
.rounded-pill, .rounded-circle, .rounded-top, .rounded-bottom,
.rounded-start, .rounded-end, .navbar-toggler, .mobil-alt-menu {
    border-radius: 0 !important;
}
