/* ============================================================
   BÖLÜM 10: MÜŞTERİ PORTALI (v16.0)
   ============================================================ */
.portal-body { background: #F1F5F9; color: #334155; font-family: 'Inter', sans-serif; }
.portal-nav {
    background: #ffffff; border-bottom: 1px solid #e2e8f0; padding: 15px 0;
    position: sticky; top: 0; z-index: 100;
}
.portal-brand .highlight { color: #3B82F6; }
.portal-links a:hover, .portal-links a.active { color: white; }

.section-title { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; }
.section-title .icon-bg { width: 50px; height: 50px; background: #EFF6FF; color: #3B82F6; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.section-title h2 { margin: 0; color: #0F172A; font-size: 1.5rem; }
.section-title p { margin: 5px 0 0; color: #64748B; font-size: 0.95rem; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.btn-portal-secondary { padding: 12px 24px; background: #F1F5F9; color: #334155; border: 1px solid #CBD5E1; border-radius: 10px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.btn-portal-secondary:hover { background: #E2E8F0; }

/* Timeline (4 Adımlı - v16.2/3) */
.tracking-container { text-align: center; }
.tl-item.active { opacity: 1; }
.tl-item.active .tl-dot { border-color: #10B981; background: #10B981; color: white; transform: scale(1.2); box-shadow: 0 0 0 5px rgba(16,185,129,0.1); }

/* ============================================================
   BÖLÜM 11: SSS (ACCORDION) DÜZELTME - v16.4
   ============================================================ */
.accordion-wrapper { display: flex; flex-direction: column; gap: 15px; }

.accordion-item.active { border-color: #3B82F6; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); }
.accordion-item.active .accordion-header { background: #EFF6FF; color: #3B82F6; }
.accordion-item.active .accordion-header i { transform: rotate(180deg); color: #3B82F6; }
.accordion-item.active .accordion-body { max-height: 200px; padding: 0 20px 20px 20px; border-top: 1px solid #F1F5F9; }

/* ============================================================
   BÖLÜM 12: ENVANTER MODAL DÜZENİ (v18.0)
   ============================================================ */
.inv-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Sağ taraf (Loglar) biraz daha geniş */
    gap: 25px;
    height: 100%;
}

/* Sol Kolon (Form) */
.inv-left-col {
    padding-right: 20px;
    border-right: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
}

.inv-product-img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
}

/* Sağ Kolon (Loglar) */
.inv-right-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 550px; /* Modal yüksekliğine göre sınırla */
}

.log-list-header {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Log Listesi (Scroll Alanı) */
.log-history-container {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: #F8FAFC;
    padding: 10px;
    margin-bottom: 15px;
}

/* Tekil Log Kartı */
.log-item {
    background: white;
    border: 1px solid #E2E8F0;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    position: relative;
    border-left: 3px solid #cbd5e1; /* Varsayılan gri çizgi */
    transition: all 0.2s;
}
.log-item:hover { transform: translateX(2px); box-shadow: 0 2px 5px rgba(0,0,0,0.03); }

/* Log Tiplerine Göre Renkler */
.log-item.type-add { border-left-color: #10B981; } /* Yeşil */
.log-item.type-remove { border-left-color: #EF4444; } /* Kırmızı */
.log-item.type-info { border-left-color: #3B82F6; } /* Mavi */

.log-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #64748B;
    margin-bottom: 4px;
}
.log-content { font-size: 13px; color: #1E293B; line-height: 1.4; }
.log-qty-badge {
    background: #EFF6FF; color: #3B82F6; padding: 2px 6px; 
    border-radius: 4px; font-weight: bold; font-size: 11px; margin-left: 5px;
}

/* Log Ekleme Alanı (Footer) */
.log-input-area {
    background: #F1F5F9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

/* Responsive: Mobilde Tek Kolon */
@media (max-width: 768px) {
    .inv-modal-grid { grid-template-columns: 1fr; gap: 20px; }
    .inv-left-col { border-right: none; border-bottom: 1px solid #E2E8F0; padding-bottom: 20px; padding-right: 0; }
    .inv-right-col { height: auto; max-height: none; }
    .log-history-container { max-height: 250px; }
}
/* ============================================================
   BÖLÜM 13: XML RAPOR MODALI (v30.0)
   ============================================================ */

/* Modalın iç yapısını Flex yaparak Header ve Footer'ı sabitliyoruz */
.modal-flex-layout {
    display: flex;
    flex-direction: column;
    height: 80vh; /* Ekranın %80'i kadar yükseklik */
    max-height: 600px;
    padding: 0 !important; /* Padding'i iç elementlere dağıtacağız */
    overflow: hidden; /* Dış taşmayı engelle */
}

.modal-header-fixed {
    padding: 20px;
    border-bottom: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.modal-body-scroll {
    flex: 1; /* Kalan boşluğu doldur */
    overflow-y: auto; /* Sadece burası kaydırılsın */
    padding: 20px;
    background: #F8FAFC;
}

.modal-footer-fixed {
    padding: 15px 20px;
    border-top: 1px solid #E2E8F0;
    background: white;
    flex-shrink: 0;
}

/* Kritik Stok (Tükenenler) Görünümü */
.log-change-item {
    margin-bottom: 8px;
    padding: 10px;
    border-radius: 8px;
    background: white;
    border: 1px solid #E2E8F0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.log-change-item.critical {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-left: 4px solid #EF4444;
}

.badge-new { background: #DBEAFE; color: #1E40AF; padding: 2px 6px; border-radius: 4px; font-weight: bold; font-size: 11px; }
.badge-update { background: #FEF3C7; color: #92400E; padding: 2px 6px; border-radius: 4px; font-weight: bold; font-size: 11px; }
.badge-critical { background: #EF4444; color: white; padding: 2px 6px; border-radius: 4px; font-weight: bold; font-size: 11px; animation: pulse 2s infinite; }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.7; } 100% { opacity: 1; } }
/* ============================================================
   BÖLÜM 14: KOMPAKT SİPARİŞ TABLOSU (v36.0)
   ============================================================ */
.compact-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
/* ============================================================
   BÖLÜM 15: AYARLAR AKORDİYON & GÜVENLİK (v39.0)
   ============================================================ */
.settings-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.setting-group {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.setting-header {
    background: #fff;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1E293B;
    transition: background 0.2s;
}

.setting-header:hover {
    background: #F8FAFC;
}

.setting-header i {
    color: #94A3B8;
    transition: transform 0.3s ease;
}

/* Açık Durum */
.setting-group.active .setting-header {
    background: #EFF6FF;
    color: #2563EB;
    border-bottom: 1px solid #E2E8F0;
}

.setting-group.active .setting-header i {
    transform: rotate(180deg);
    color: #2563EB;
}

.setting-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}

.setting-group.active .setting-content {
    max-height: 500px; /* İçeriğe göre yetecek kadar */
    padding: 20px;
    overflow-y: auto;
}

/* Tehlikeli Bölge */
.danger-zone {
    border: 1px solid #FECACA;
    background: #FEF2F2;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}
.danger-zone h4 { color: #DC2626; margin-top: 0; }
.danger-zone p { font-size: 12px; color: #7F1D1D; }
/* ============================================================
   BÖLÜM 16: MANUEL / İADE SATIRLARI (v41.0)
   ============================================================ */
tr.manual-row {
    background-color: #FEF2F2; /* Açık Kırmızı */
}
tr.manual-row input {
    background-color: #fff;
    border-color: #FCA5A5;
}
tr.manual-row td {
    color: #991B1B;
}
/* ============================================================
   BÖLÜM 16: YEDEKLEME SATIRLARI (v46.0)
   ============================================================ */
.backup-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.backup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F8FAFC;
    padding: 10px 15px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
}

.backup-info h5 { margin: 0 0 2px 0; font-size: 14px; color: #334155; }
.backup-info p { margin: 0; font-size: 11px; color: #64748B; }

.backup-actions {
    display: flex;
    gap: 8px;
}

/* ============================================================
   BÖLÜM 17: MÜŞTERİ PORTALI (v60.0 - RENK VE VERİ ONARIMI)
   ============================================================ */

/* 1. TEMEL YAPILANDIRMA */
.portal-body {
    background-color: #f8fafc; font-family: 'Inter', sans-serif;
    color: #334155; margin: 0; overflow-x: hidden;
    display: flex; flex-direction: column; min-height: 100vh;
}

/* NAVBAR */
.portal-nav {
    background: #ffffff; border-bottom: 1px solid #e2e8f0; padding: 15px 0;
    position: sticky; top: 0; z-index: 100;
}
.nav-container {
    width: 100%; /* max-width kaldırıldı, tam genişlik */
    padding: 0 40px; /* Kenarlardan boşluk */
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 24px; font-weight: 800; color: #0f172a; text-decoration: none; letter-spacing: -0.5px; }
.logo .highlight { color: #2563eb; }
.nav-links a { text-decoration: none; color: #64748b; font-weight: 500; margin-left: 25px; font-size: 14px; transition: 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #2563eb; }

/* 2. PORTAL LAYOUT */
.hero-split {
    display: flex; flex: 1; min-height: calc(100vh - 70px);
    background: #f8fafc; justify-content: center;
}
.hero-split.has-results {
    height: calc(100vh - 70px); justify-content: stretch; background: #f1f5f9;
}
.hero-split:not(.has-results) .hero-left {
    background: transparent;
    overflow: visible;
}
.hero-split:not(.has-results) .portal-route-scene {
    right: auto;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
}

/* --- SOL TARA (ARAMA) --- */
.hero-left {
    width: min(100%, 720px); flex-shrink: 0; background: #f8fafc;
    display: flex; align-items: center; justify-content: center;
    padding: 44px 40px; border-right: 0;
    z-index: 10; position: relative; /* Desen için relative */
    overflow: hidden; /* Taşan desen gizlensin */
}
.hero-split.has-results .hero-left {
    display: none;
}
.pattern-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px; /* Üst kısmı kaplar */
    background-image: radial-gradient(#e2e8f0 2px, transparent 2px);
    background-size: 24px 24px; /* Nokta sıklığı */
    opacity: 0.9;
    z-index: 0; /* İçeriğin arkasında */
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%); /* Aşağı doğru silikleşir */
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

/* Karşılama alanının dekoratif teslimat rotaları: içerikten tamamen bağımsız katman. */
.portal-route-scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}
.portal-route-dots {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image: radial-gradient(rgba(59, 130, 246, .28) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
    animation: portalRouteDots 10s ease-in-out infinite alternate;
}
.portal-route-map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.portal-route-path {
    fill: none;
    stroke: rgba(37, 99, 235, .22);
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-dasharray: 2 8;
    vector-effect: non-scaling-stroke;
}
.portal-route-path--two,
.portal-route-path--three { opacity: .48; }
.portal-route-marker {
    fill: #3b82f6;
    filter: drop-shadow(0 0 4px rgba(59, 130, 246, .32));
}
.portal-route-marker path { fill: none; stroke: #eff6ff; stroke-width: 1; stroke-linecap: round; }
.portal-route-figure {
    position: absolute;
    width: 88px;
    color: #3b82f6;
    opacity: .15;
    animation: portalRouteFloat 4.5s ease-in-out infinite alternate;
}
.portal-route-figure svg { display: block; width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.portal-route-figure-detail { stroke: #60a5fa; }
.portal-route-figure--phone { top: 3%; left: 3%; animation-duration: 4.8s; }
.portal-route-figure--parcel { bottom: 3%; left: 3%; width: 96px; animation-delay: -1.5s; animation-duration: 5.2s; }
.portal-route-figure--tablet { top: 3%; right: 3%; width: 94px; animation-delay: -2.4s; animation-duration: 4.6s; }
.portal-route-figure--cart { right: 3%; bottom: 3%; width: 104px; animation-delay: -3.1s; animation-duration: 5s; }
.portal-route-icon { position: absolute; color: #60a5fa; opacity: .18; font-size: 13px; animation: portalRouteFloat 5.5s ease-in-out infinite alternate; }
.portal-route-icon--pin { top: 32%; left: 16%; }
.portal-route-icon--box { top: 20%; right: 17%; animation-delay: -2.8s; }
.portal-route-icon--truck { right: 17%; bottom: 28%; animation-delay: -1.1s; }

@keyframes portalRouteFloat {
    from { transform: translate3d(0, -3px, 0); }
    to { transform: translate3d(0, 4px, 0); }
}
@keyframes portalRouteDots {
    from { opacity: .14; }
    to { opacity: .25; }
}

@media (max-width: 1100px) {
    .portal-route-scene { opacity: .62; }
    .portal-route-figure--parcel,
    .portal-route-figure--cart,
    .portal-route-path--three,
    .portal-route-path--four,
    .portal-route-marker--three,
    .portal-route-marker--four,
    .portal-route-icon--truck { display: none; }
}

@media (max-width: 640px) {
    .portal-route-scene { opacity: .38; }
    .portal-route-map,
    .portal-route-figure,
    .portal-route-icon { display: none; }
    .portal-route-dots { animation: none; opacity: .12; }
}

@media (prefers-reduced-motion: reduce) {
    .portal-route-dots,
    .portal-route-figure,
    .portal-route-icon { animation: none !important; }
    .portal-route-marker { display: none; }
}

.hero-content {
    width: 100%; max-width: 460px;
    position: relative;
    z-index: 2; /* Desen üstüne çıksın */
}
.hero-content { width: 100%; max-width: 460px; }
.hero-split:not(.has-results) .hero-content {
    max-width: 680px;
    text-align: center;
}
.tag-badge {
    background: #eff6ff; color: #2563eb; padding: 6px 12px; border-radius: 20px;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    display: inline-block; margin-bottom: 20px;
}
.tag-badge i { margin-right: 5px; }
.hero-content h1 { font-size: 32px; color: #0f172a; margin: 0 0 15px 0; line-height: 1.2; letter-spacing: -1px; }
.hero-content p { font-size: 15px; color: #64748b; margin-bottom: 40px; line-height: 1.6; }
.hero-split:not(.has-results) .hero-content h1 {
    font-size: 36px;
}
.hero-split:not(.has-results) .hero-content > p {
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
    white-space: nowrap;
}

/* INPUT */
.search-box-wrapper { margin-bottom: 40px; }
.portal-search-fields { display: flex; gap: 10px; }
.portal-search-fields .input-floating { flex: 1 1 0; min-width: 0; }
.portal-search-fields .portal-phone-last4 { flex: 0 1 235px; }
.portal-search-submit {
    flex: 0 0 auto; min-width: 150px; height: 92px; padding: 0 22px; border-radius: 12px; border: none;
    background: #0f172a; color: white; font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
}
.portal-search-submit:hover { background: #2563eb; transform: translateX(1px); }
.portal-search-submit:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.portal-search-submit:disabled { cursor: wait; opacity: .78; transform: none; }
.hero-split:not(.has-results) .search-box-wrapper {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
}
.input-floating {
    position: relative; background: #ffffff; border: 2px solid #e2e8f0; border-radius: 12px;
    padding: 5px; display: flex; align-items: center; transition: all 0.3s;
}
.input-floating:focus-within { border-color: #2563eb; box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15); }
.input-floating input {
    flex: 1; border: none; background: transparent; padding: 22px 15px 6px;
    font-size: 16px; font-weight: 600; color: #0f172a; outline: none; height: 50px;
}
.input-floating label {
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    color: #94a3b8; font-size: 15px; pointer-events: none; transition: 0.3s;
}
.input-floating input:focus ~ label, .input-floating input:not(:placeholder-shown) ~ label {
    top: 14px; font-size: 11px; color: #2563eb; font-weight: 700;
}
.input-floating button {
    min-width: 112px; height: 50px; padding: 0 17px; border-radius: 10px; border: none;
    background: #0f172a; color: white; font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
}
.input-floating button:hover { background: #2563eb; transform: translateX(1px); }
.input-floating button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.input-floating button:disabled { cursor: wait; opacity: .78; transform: none; }
.btn-check-loading { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.search-help { display: flex; align-items: flex-start; gap: 7px; margin: 10px 2px 0; color: #94a3b8; font-size: 12px; line-height: 1.45; }
.search-help i { color: #2563eb; margin-top: 2px; }
.search-help a { color: #2563eb; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.portal-body .error-msg:not(.hidden) {
    display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; padding: 13px 15px;
    color: #b42318; background: linear-gradient(135deg, #fff5f5 0%, #fff1f2 100%);
    border: 1px solid #fecaca; border-radius: 12px; box-shadow: 0 8px 18px -16px rgba(185, 28, 28, 0.8);
    font-size: 13px; font-weight: 650; line-height: 1.5; text-align: left;
}
.portal-body .error-msg:not(.hidden)::before {
    content: '\f071'; flex: 0 0 auto; margin-top: 1px; color: #dc2626;
    font-family: 'Font Awesome 6 Free'; font-size: 15px; font-weight: 900;
}
.hero-split:not(.has-results) .search-help {
    justify-content: center;
    text-align: left;
}

.features-grid { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.feat-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #64748b; font-weight: 600; }
.feat-item i { color: #2563eb; }
.hero-split:not(.has-results) .features-grid {
    justify-content: center;
}

.portal-legal-footer { padding: 22px 20px 30px; background: #fff; border-top: 1px solid #e2e8f0; }
.portal-legal-footer__inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #64748b; font-size: 12px; }
.portal-legal-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.portal-legal-footer a { color: #475569; text-decoration: none; font-weight: 650; }
.portal-legal-footer a:hover, .portal-legal-footer a:focus-visible { color: #2563eb; text-decoration: underline; text-underline-offset: 3px; }

.legal-page { min-height: 100vh; background: #f8fafc; color: #1e293b; font-family: 'Inter', sans-serif; }
.legal-page__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px max(24px, calc((100% - 980px) / 2)); background: #fff; border-bottom: 1px solid #e2e8f0; }
.legal-page__brand { color: #0f172a; font-size: 24px; font-weight: 800; letter-spacing: -1px; text-decoration: none; }
.legal-page__brand span { color: #2563eb; }
.legal-page__back { color: #2563eb; font-size: 14px; font-weight: 700; text-decoration: none; }
.legal-page__main { width: min(900px, calc(100% - 40px)); margin: 42px auto 64px; }
.legal-page__card { padding: clamp(24px, 5vw, 52px); background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; box-shadow: 0 18px 36px -30px rgba(15, 23, 42, .35); }
.legal-page__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 11px; color: #2563eb; background: #eff6ff; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.legal-page h1 { margin: 0; color: #0f172a; font-size: clamp(28px, 5vw, 42px); letter-spacing: -1.5px; }
.legal-page h2 { margin: 34px 0 10px; color: #0f172a; font-size: 19px; }
.legal-page p, .legal-page li { color: #475569; font-size: 15px; line-height: 1.75; }
.legal-page ul { padding-left: 22px; }
.legal-page a { color: #2563eb; text-decoration: none; font-weight: 600; }
.legal-page a:hover { text-decoration: underline; }
.legal-page__meta { margin-top: 12px; color: #64748b; font-size: 13px; }

/* Legal Table */
.legal-table-responsive { width: 100%; overflow-x: auto; margin: 20px 0; border: 1px solid #e2e8f0; border-radius: 12px; }
.legal-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.legal-table th, .legal-table td { padding: 12px 16px; border-bottom: 1px solid #e2e8f0; }
.legal-table th { background: #f8fafc; font-weight: 700; color: #1e293b; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; }
.legal-table tr:last-child td { border-bottom: none; }
.legal-table code { background: #f1f5f9; padding: 3px 6px; border-radius: 6px; font-family: monospace; font-size: 13px; color: #0f172a; }

/* Legal Form */
.legal-form { display: grid; gap: 16px; margin-top: 26px; }
.legal-form label { display: grid; gap: 7px; color: #334155; font-size: 13px; font-weight: 750; }
.legal-form input, .legal-form textarea { width: 100%; box-sizing: border-box; padding: 12px 13px; color: #0f172a; background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; }
.legal-form textarea { min-height: 100px; resize: vertical; }
.legal-form__actions { display: flex; gap: 12px; margin-top: 10px; }
.legal-print-button { padding: 12px 20px; color: #fff; background: #0f172a; border: 0; border-radius: 10px; font: inherit; font-weight: 750; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s; }
.legal-print-button:hover { background: #1e293b; }
.legal-reset-button { padding: 12px 20px; color: #475569; background: #f1f5f9; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; font-weight: 750; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s; }
.legal-reset-button:hover { background: #e2e8f0; }

.form-section { border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px; margin-bottom: 8px; background: #fafafa; }
.form-section legend { font-weight: 750; font-size: 15px; color: #0f172a; padding: 0 10px; display: inline-flex; align-items: center; gap: 8px; }
.form-section legend i { color: #2563eb; }
.form-section label em { color: #dc2626; font-style: normal; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }
.section-desc { font-size: 13px; color: #64748b; margin: 0 0 12px 0; }
.checkbox-stack { display: grid; gap: 10px; margin-top: 8px; }
.inline-checkbox { display: flex !important; align-items: flex-start !important; gap: 10px !important; cursor: pointer; font-size: 14px !important; color: #334155 !important; font-weight: 500 !important; }
.inline-checkbox input[type="checkbox"], .inline-checkbox input[type="radio"] { width: 18px !important; height: 18px !important; margin-top: 2px !important; accent-color: #2563eb; cursor: pointer; flex-shrink: 0; }
.relation-radio-group, .delivery-radio-group { display: flex; flex-wrap: wrap; gap: 20px; }

/* Signature Box */
.signature-box { border: 1px dashed #cbd5e1; border-radius: 12px; padding: 18px 20px; margin: 20px 0 10px; background: #fff; }
.signature-box p { font-size: 13px; line-height: 1.6; color: #475569; margin: 0 0 18px 0; font-style: italic; }
.signature-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; font-size: 13px; color: #1e293b; }
.signature-line { display: inline-block; font-family: monospace; color: #64748b; }

.submission-guide { margin-top: 36px; padding-top: 24px; border-top: 1px solid #e2e8f0; }
.submission-guide h2 { display: flex; align-items: center; gap: 10px; }
.submission-guide h2 i { color: #2563eb; }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.channel-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; }
.channel-card i { font-size: 24px; color: #2563eb; margin-bottom: 10px; display: block; }
.channel-card h4 { margin: 0 0 8px 0; color: #0f172a; font-size: 16px; }
.channel-card p { margin: 0; font-size: 13px; color: #64748b; line-height: 1.6; }
.print-only-header { display: none; }

/* Print Styles for Legal Form */
@media print {
  body.legal-page { background: #fff !important; color: #000 !important; font-size: 12pt; }
  .legal-page__nav, .print-hide, .legal-form__actions, .submission-guide { display: none !important; }
  .legal-page__main { width: 100% !important; margin: 0 !important; padding: 0 !important; }
  .legal-page__card { border: none !important; box-shadow: none !important; padding: 0 !important; }
  .print-only-header { display: block !important; margin-bottom: 20px; border-bottom: 2px solid #000; padding-bottom: 10px; text-align: center; }
  .print-only-header h2 { font-size: 14pt; margin: 0 0 6px 0; color: #000; }
  .print-only-header p { font-size: 10pt; color: #333; margin: 0; }
  .form-section { background: #fff !important; border: 1px solid #666 !important; break-inside: avoid; margin-bottom: 12px; padding: 12px; }
  .form-section legend { color: #000; font-weight: bold; }
  .signature-box { border: 1px solid #000 !important; break-inside: avoid; }
  .legal-form input, .legal-form textarea { border-color: #999 !important; }
}

/* Legal Footnote */
.legal-footnote {
  margin: 10px 0 0 0;
  font-size: 11.5px;
  color: #94a3b8;
  text-align: center;
}
.legal-footnote a {
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-footnote a:hover {
  color: #2563eb;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 16px 24px;
  z-index: 99999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: slideUpBanner 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner.hidden {
  display: none !important;
}
.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-banner-icon {
  font-size: 26px;
  color: #f59e0b;
  flex-shrink: 0;
}
.cookie-banner-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
}
.cookie-banner-text p {
  margin: 0;
}
.cookie-banner-text a {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-text a:hover {
  color: #93c5fd;
}
.cookie-banner-actions {
  flex-shrink: 0;
}
.btn-cookie-accept {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-cookie-accept:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .btn-cookie-accept {
    width: 100%;
    padding: 12px;
  }
}

@media (max-width: 640px) { .portal-legal-footer__inner { align-items: flex-start; flex-direction: column; } .portal-legal-footer nav { justify-content: flex-start; } .legal-page__nav { padding: 18px 20px; } }

/* --- SAĞ TARA (PORTAL DASHBOARD) --- */
.hero-right {
    display: none; flex: 1; background: #f1f5f9; position: relative; overflow: hidden;
}
.hero-split.has-results .hero-right {
    display: block;
    width: 100%;
}

.portal-welcome {
    position: relative; z-index: 2; min-height: 100%; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center; padding: 56px;
    color: #eff6ff; background: #0f172a;
    background-image: linear-gradient(135deg, #0f172a 0%, #111827 52%, #172554 100%);
}
.portal-welcome-orb { display: none; }
.portal-welcome-orb-one { width: 460px; height: 460px; top: -190px; right: -150px; }
.portal-welcome-orb-two { width: 300px; height: 300px; bottom: -170px; left: -80px; }
.portal-welcome-content { position: relative; max-width: 540px; }
.welcome-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #93c5fd; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.portal-welcome h2 { margin: 16px 0; color: #fff; font-size: clamp(32px, 3.5vw, 46px); line-height: 1.08; letter-spacing: 0; }
.portal-welcome p { max-width: 450px; margin: 0; color: #cbd5e1; font-size: 15px; line-height: 1.6; }
.welcome-steps { display: grid; gap: 10px; margin-top: 32px; }
.welcome-step { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border: 1px solid rgba(148, 163, 184, .2); border-radius: 8px; background: rgba(255, 255, 255, .045); }
.welcome-step > span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #dbeafe; background: rgba(37, 99, 235, .45); font-size: 12px; font-weight: 800; }
.welcome-step strong, .welcome-step small { display: block; }
.welcome-step strong { color: #f8fafc; font-size: 14px; }
.welcome-step small { margin-top: 2px; color: #94a3b8; font-size: 12px; }
.welcome-assurance { position: absolute; right: 40px; bottom: 30px; display: flex; align-items: center; gap: 8px; color: #94a3b8; font-size: 12px; }
.welcome-assurance i { color: #60a5fa; }

/* PORTAL DASHBOARD CONTAINER */
.portal-dash-container {
    position: relative; z-index: 5; width: 100%; height: 100%;
    padding: 36px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px;
}
.hero-split.has-results .portal-dash-container {
    max-width: 1180px;
    margin: 0 auto;
}

.dash-header-card {
    background: #fff; border-radius: 10px; padding: 24px 28px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04); border: 1px solid #e2e8f0;
}
.dh-left { display: flex; align-items: center; gap: 15px; }
.dh-icon { font-size: 40px; color: #cbd5e1; }
.dh-label { font-size: 12px; color: #64748b; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 2px; }
.dh-left h3 { margin: 0; font-size: 20px; color: #0f172a; }
.dh-right { text-align: right; display: flex; gap: 40px; align-items: center; }
.dh-right h3 { margin: 0; font-size: 18px; color: #334155; }
.dh-price { background: #eff6ff; color: #2563eb; padding: 8px 14px; border-radius: 8px; font-weight: 800; font-size: 18px; }

.dash-panel {
    background: #fff; border-radius: 10px; border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03); display: flex; flex-direction: column;
}
.portal-result-toolbar { display: flex; justify-content: flex-end; margin-bottom: -10px; }
.portal-new-search { padding: 7px 10px; border: 0; border-radius: 7px; color: #475569; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.portal-new-search:hover { color: #1d4ed8; background: #eff6ff; }
.portal-new-search:focus-visible { outline: 3px solid #bfdbfe; outline-offset: 2px; }
.dashboard-state { margin-bottom: 20px; text-align: center; }
.dashboard-state-icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 50%; font-size: 30px; }
.dashboard-state h3 { margin: 0 0 5px; color: #1e293b; font-size: 20px; }
.dashboard-state p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.5; }
.dashboard-state--neutral .dashboard-state-icon { color: #2563eb; background: #eff6ff; }
.dashboard-state--info .dashboard-state-icon { color: #0369a1; background: #e0f2fe; }
.dashboard-state--success .dashboard-state-icon { color: #15803d; background: #dcfce7; }
.dashboard-state--warning .dashboard-state-icon { color: #b45309; background: #fef3c7; }
.dashboard-state--danger .dashboard-state-icon { color: #dc2626; background: #fee2e2; }
.dashboard-actions .btn-portal-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 14px; }
.dashboard-warning { max-width: 440px; margin: 0 auto; padding: 11px 14px; border-radius: 8px; color: #b45309; background: #fffbeb; font-size: 13px; line-height: 1.45; }
.dashboard-warning i { margin-right: 6px; }
.panel-header {
    padding: 20px 25px; border-bottom: 1px solid #f1f5f9;
    display: flex; justify-content: space-between; align-items: center;
}
.panel-header h4 { margin: 0; font-size: 16px; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.panel-header i { color: #2563eb; }
.panel-body { padding: 26px; }
.request-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; margin: 0 0 28px; list-style: none; }
.request-steps li { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid #e2e8f0; border-radius: 8px; color: #94a3b8; }
.request-steps li > span, .request-section-heading > span { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; color: #64748b; background: #f1f5f9; font-size: 12px; font-weight: 800; }
.request-steps strong, .request-steps small { display: block; }
.request-steps strong { color: #475569; font-size: 12px; }
.request-steps small { margin-top: 2px; font-size: 11px; }
.request-steps .is-active { border-color: #bfdbfe; background: #eff6ff; }
.request-steps .is-active > span { color: #fff; background: #2563eb; }
.request-steps .is-active strong { color: #1d4ed8; }
.request-steps .is-complete { border-color: #bbf7d0; background: #f0fdf4; }
.request-steps .is-complete > span { color: #fff; background: #16a34a; }
.request-steps .is-complete strong { color: #15803d; }
.request-flow { max-width: 760px; margin: 0 auto; }
.request-flow-step { display: none; }
.request-flow[data-step="1"] [data-request-step="1"],
.request-flow[data-step="2"] [data-request-step="2"],
.request-flow[data-step="3"] [data-request-step="3"] { display: block; }
.request-flow-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.request-flow-actions--end { justify-content: flex-end; }
.request-flow-actions--start { justify-content: flex-start; }
.request-next-btn { min-width: 150px; }
.request-section { padding: 18px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.request-section + .request-section { margin-top: 14px; }
.request-section-heading { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.request-section-heading h5 { margin: 1px 0 3px; color: #0f172a; font-size: 14px; }
.request-section-heading p { margin: 0; color: #64748b; font-size: 12px; line-height: 1.45; }
.form-stack label { color: #334155; font-size: 13px; font-weight: 700; }
.form-stack label em { color: #dc2626; font-style: normal; }
.form-stack label span { color: #94a3b8; font-size: 11px; font-weight: 500; }
.form-stack .has-error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .1); }
.request-form-error { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; padding: 9px 10px; border-radius: 8px; color: #b91c1c; background: #fef2f2; font-size: 12px; font-weight: 600; }
.request-form-error::before { content: '\f071'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.request-summary-card { padding: 18px; border: 1px solid #bfdbfe; border-radius: 8px; background: #f8fbff; }
.request-summary-list { margin: 0; }
.request-summary-list > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #dbeafe; }
.request-summary-list > div:last-child { border-bottom: 0; }
.request-summary-list dt { color: #64748b; font-size: 12px; }
.request-summary-list dd { margin: 0; overflow-wrap: anywhere; color: #1e3a5f; font-size: 13px; font-weight: 700; text-align: right; }
.shipping-checklist { display: grid; gap: 8px; margin-top: 15px; padding: 13px; border-radius: 8px; background: #fff; }
.shipping-checklist strong { margin-bottom: 2px; color: #334155; font-size: 13px; }
.shipping-checklist strong i { color: #2563eb; margin-right: 5px; }
.shipping-checklist span { color: #64748b; font-size: 12px; }
.shipping-checklist span i { width: 15px; color: #16a34a; }
.return-window-note { margin: 14px 0 0; color: #b45309; font-size: 11px; line-height: 1.45; }
.return-window-note i { margin-right: 4px; }
.request-submit-btn { position: sticky; bottom: 14px; z-index: 2; margin-top: 14px; box-shadow: 0 6px 16px rgba(37, 99, 235, .18); }

/* -------------------------------------------
   RENKLİ YATAY TIMELINE & TARİHÇE (v61.0)
------------------------------------------- */
.return-code-badge { display: inline-flex; align-items: center; gap: 7px; background: #fff7ed; color: #c2410c; padding: 7px 10px; border: 1px solid #ffedd5; border-radius: 7px; font-size: 12px; font-weight: 700; cursor: pointer; transition: .2s; }
.return-code-badge span { color: #9a3412; font-weight: 600; }
.return-code-badge strong { font-size: 13px; letter-spacing: .03em; }
.return-code-badge:hover { border-color: #fdba74; background: #ffedd5; }
.return-code-badge:focus-visible { outline: 3px solid #fed7aa; outline-offset: 2px; }

.timeline-horizontal-colorful {
    display: flex; justify-content: space-between; position: relative;
    padding: 20px 0; margin-bottom: 10px;
}

/* ADIM YAPISI */
.tm-step {
    position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
    width: 25%; text-align: center; opacity: 0.6; transition: all 0.3s;
}

/* BAĞLANTI ÇİZGİLERİ (SEGMENTED LINES) */
.tm-step::after {
    content: ''; position: absolute;
    top: 25px; /* İkonun ortası */
    left: 50%; /* Kendi merkezinden başla */
    width: 100%; /* Bir sonraki adımın merkezine kadar uzan */
    height: 4px;
    background: #e2e8f0; /* Varsayılan Gri */
    z-index: -1; /* İkonun arkasında kalsın */
    transition: background 0.4s ease;
}

/* Son adımın çizgisi olmamalı */
.tm-step:last-child::after { display: none; }

/* İKON TASARIMI */
.tm-icon {
    width: 50px; height: 50px; background: #fff; border: 3px solid #cbd5e1; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 18px; color: #94a3b8;
    margin-bottom: 10px; box-shadow: 0 0 0 6px #fff; transition: all 0.3s;
}

.tm-content h5 { 
    margin: 0 0 4px 0; 
    font-size: 15px; /* Yazı büyütüldü */
    font-weight: 700; 
    color: #334155; /* Başlık daha koyu */
}

.tm-content p { 
    margin: 0 0 5px 0; 
    font-size: 13px; 
    color: #475569; /* METİN RENGİ KOYULAŞTIRILDI (Okunabilirlik için) */
    line-height: 1.4; 
    font-weight: 500;
}

/* Kutu içindeki tarih alanı */
.tm-date {
    font-size: 11px; 
    font-weight: 700; 
    color: #475569; /* Tarih rengi belirginleştirildi */
    background: #e2e8f0; 
    padding: 3px 10px; 
    border-radius: 12px;
    display: inline-block; 
    min-height: 20px;
    margin-top: 5px;
}
.tm-date:empty {
    display: none;
}

/* --- AKTİF VE TAMAMLANMIŞ DURUMLAR --- */
.tm-step.active, .tm-step.completed { opacity: 1; }
.tm-step.active .tm-icon { transform: scale(1.15); }

/* RENKLER VE ÇİZGİ BOYAMA MANTIĞI */

/* ADIM 1: MAVİ (Başvuru) */
.tm-step[data-step="1"].active .tm-icon, 
.tm-step[data-step="1"].completed .tm-icon {
    background: #3b82f6; border-color: #3b82f6; color: white; box-shadow: 0 0 0 6px #eff6ff;
}
/* Step 1 tamamlandığında Step 2'ye giden çizgi Mavi olsun */
.tm-step[data-step="1"].completed::after { background: #3b82f6; }


/* ADIM 2: MOR (İnceleme) */
.tm-step[data-step="2"].active .tm-icon, 
.tm-step[data-step="2"].completed .tm-icon {
    background: #8b5cf6; border-color: #8b5cf6; color: white; box-shadow: 0 0 0 6px #f3e8ff;
}
/* Step 2 tamamlandığında Step 3'e giden çizgi Mor olsun */
.tm-step[data-step="2"].completed::after { background: #8b5cf6; }


/* ADIM 3: TURUNCU (Onay) */
.tm-step[data-step="3"].active .tm-icon, 
.tm-step[data-step="3"].completed .tm-icon {
    background: #f97316; border-color: #f97316; color: white; box-shadow: 0 0 0 6px #ffedd5;
}
/* Step 3 tamamlandığında Step 4'e giden çizgi Turuncu olsun */
.tm-step[data-step="3"].completed::after { background: #f97316; }


/* ADIM 4: YEŞİL (Sonuç) */
.tm-step[data-step="4"].active .tm-icon, 
.tm-step[data-step="4"].completed .tm-icon {
    background: #10b981; border-color: #10b981; color: white; box-shadow: 0 0 0 6px #d1fae5;
}

/* YAZI RENKLERİ */
.tm-step.active h5, .tm-step.completed h5 { color: #0f172a; }
.tm-step.active p { color: #334155; font-weight: 500; }
.tm-step.completed .tm-date { color: #0f172a; background: #e2e8f0; } /* Tarih belirginleşsin */

/* RED DURUMU (Özel) */
.tm-step.rejected .tm-icon { background: #EF4444 !important; border-color: #EF4444 !important; color: white !important; }

/* AKTİF ve TAMAMLANMIŞ DURUMLAR */
.tm-step.active, .tm-step.completed { opacity: 1; }
.tm-step.active .tm-icon { transform: scale(1.15); }

/* --- RENKLER (DATA-STEP İLE GARANTİ) --- */
/* ADIM 1: MAVİ */
.tm-step[data-step="1"].active .tm-icon, .tm-step[data-step="1"].completed .tm-icon {
    background: #3b82f6; border-color: #3b82f6; color: white; box-shadow: 0 0 0 6px #eff6ff;
}
/* ADIM 2: MOR */
.tm-step[data-step="2"].active .tm-icon, .tm-step[data-step="2"].completed .tm-icon {
    background: #8b5cf6; border-color: #8b5cf6; color: white; box-shadow: 0 0 0 6px #f3e8ff;
}
/* ADIM 3: TURUNCU */
.tm-step[data-step="3"].active .tm-icon, .tm-step[data-step="3"].completed .tm-icon {
    background: #f97316; border-color: #f97316; color: white; box-shadow: 0 0 0 6px #ffedd5;
}
/* ADIM 4: YEŞİL */
.tm-step[data-step="4"].active .tm-icon, .tm-step[data-step="4"].completed .tm-icon {
    background: #10b981; border-color: #10b981; color: white; box-shadow: 0 0 0 6px #d1fae5;
}

/* YAZILARIN RENKLENMESİ */
.tm-step.active h5, .tm-step.completed h5 { color: #0f172a; }
.tm-step.active p { color: #334155; font-weight: 500; }

.info-alert {
    background: #f0f9ff; border-left: 4px solid #0ea5e9; padding: 15px;
    border-radius: 8px; font-size: 13px; color: #0369a1; margin-top: 10px;
}
.timeline-guidance { display: flex; align-items: center; gap: 13px; margin: 14px 0 8px; padding: 14px; border: 1px solid #bae6fd; border-radius: 8px; background: #f0f9ff; }
.timeline-guidance-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; color: #0369a1; background: #e0f2fe; font-size: 16px; }
.timeline-guidance-content { min-width: 0; flex: 1; }
.timeline-guidance-content > span { display: block; margin-bottom: 2px; color: #64748b; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.timeline-guidance h5 { margin: 0 0 3px; color: #0f172a; font-size: 14px; }
.timeline-guidance p { margin: 0; color: #475569; font-size: 13px; line-height: 1.45; }
.timeline-last-update { display: block; margin-top: 8px; color: #64748b; font-size: 11px; font-weight: 600; }
.timeline-guidance .btn-portal-secondary { padding: 8px 11px; color: #0369a1; border-color: #bae6fd; background: #fff; font-size: 12px; white-space: nowrap; }
.timeline-guidance--review { border-color: #ddd6fe; background: #f5f3ff; }
.timeline-guidance--review .timeline-guidance-icon { color: #6d28d9; background: #ede9fe; }
.timeline-guidance--approved { border-color: #fed7aa; background: #fff7ed; }
.timeline-guidance--approved .timeline-guidance-icon { color: #c2410c; background: #ffedd5; }
.timeline-guidance--shipping { border-color: #bae6fd; background: #f0f9ff; }
.timeline-guidance--shipping .timeline-guidance-icon { color: #0369a1; background: #e0f2fe; }
.timeline-guidance--success { border-color: #bbf7d0; background: #f0fdf4; }
.timeline-guidance--success .timeline-guidance-icon { color: #15803d; background: #dcfce7; }
.timeline-guidance--danger { border-color: #fecaca; background: #fef2f2; }
.timeline-guidance--danger .timeline-guidance-icon { color: #b91c1c; background: #fee2e2; }
.rb-icon { font-size: 20px; color: #94a3b8; }
.radio-box input:checked + .rb-content .rb-icon { color: #2563eb; }

.form-stack { display: flex; flex-direction: column; gap: 15px; }
select, textarea {
    width: 100%; 
    padding: 14px; 
    border: 1px solid #cbd5e1; 
    border-radius: 10px; 
    font-size: 14px; 
    outline: none; 
    transition: 0.2s;
    background: #ffffff; /* Arkaplan beyaz olsun */
    position: relative; 
    z-index: 20; /* Tıklanabilirliği garantiye al */
    cursor: pointer;
    -webkit-appearance: auto; /* Tarayıcı varsayılan oku geri getir (Bazen kaybolabilir) */
    appearance: auto;
}
select:focus, textarea:focus { border-color: #2563eb; }
.big-btn { padding: 16px; font-size: 15px; }

/* INFO BAR */
.info-bar { background: #fff; border-top: 1px solid #e2e8f0; padding: 15px 0; margin-top: auto; }
.info-bar-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: center; gap: 40px; padding: 0 30px; }
.ib-item { display: flex; align-items: center; gap: 10px; color: #64748b; font-size: 13px; }
.ib-item i { font-size: 20px; color: #2563eb; }
.ib-item strong { display: block; color: #0f172a; }
.ib-item a { color: #2563eb; text-decoration: none; font-weight: 600; }

.fade-in { animation: fadeIn 0.5s ease-out forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
@keyframes fadeIn { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }

@media (max-width: 1100px) {
    .hero-split { flex-direction: column; height: auto; align-items: center; }
    .hero-split.has-results { align-items: stretch; }
    .hero-left { width: 100%; border-right: none; padding: 30px; }
    .hero-split.has-results .hero-left { display: none; }
    .hero-right { display: none; padding: 20px; }
    .hero-split.has-results .hero-right { display: flex; min-height: 600px; }
    .hero-right:has(.portal-dash-container:not(.hidden)) { display: flex; min-height: 600px; }
    .hero-image-container { display: none; }
    .portal-welcome { display: none; }
    .form-layout-grid { grid-template-columns: 1fr; }
    .timeline-horizontal-colorful { overflow-x: auto; padding-bottom: 20px; }
    .tm-step { min-width: 80px; }
}

@media (max-width: 480px) {
    .portal-search-fields { flex-direction: column; gap: 8px; }
    .portal-search-fields .portal-phone-last4 { flex-basis: auto; }
    .portal-search-submit { width: 100%; height: 64px; }
    .hero-content h1 { font-size: 28px; }
    .hero-split:not(.has-results) .hero-content h1 { font-size: 30px; }
    .hero-split:not(.has-results) .hero-content > p { white-space: normal; }
    .hero-split:not(.has-results) .features-grid { gap: 10px 14px; }
    .input-floating { padding: 4px; }
    .input-floating input { min-width: 0; padding-left: 13px; }
    .input-floating label { left: 18px; }
    .input-floating button { min-width: 46px; width: 46px; padding: 0; }
    .input-floating button span { display: none; }
    .search-help { font-size: 11px; }
    .request-steps { grid-template-columns: 1fr; gap: 7px; margin-bottom: 20px; }
    .request-steps li { padding: 8px 10px; }
    .request-steps small { display: none; }
    .request-section, .request-summary-card { padding: 16px; }
    .request-summary-list > div { grid-template-columns: 70px minmax(0, 1fr); }
    .request-submit-btn { bottom: 8px; }
}

/* -------------------------------------------
   İŞLEM GEÇMİŞİ (LOG SİSTEMİ) - v62.0
------------------------------------------- */
.process-history-wrapper {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
    animation: fadeIn 0.5s ease-out;
}

.history-title {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 15px 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-feed {
    display: flex;
    flex-direction: column;
    gap: 0; /* Çizgi bütünlüğü için */
}

.feed-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    position: relative;
}

.feed-item:last-child {
    padding-bottom: 0;
}

/* Sol Dikey Çizgi */
.feed-item::before {
    content: '';
    position: absolute;
    left: 6px; /* Noktanın ortası */
    top: 20px;
    bottom: 0;
    width: 2px;
    background: #f1f5f9;
}
.feed-item:last-child::before { display: none; }

/* Nokta */
.feed-dot {
    width: 14px;
    height: 14px;
    background: #e2e8f0;
    border: 3px solid #fff;
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 0 0 2px #f1f5f9;
    margin-top: 4px;
}

/* İlk kayıt (En yeni) renkli olsun */
.feed-item:first-child .feed-dot {
    background: #2563eb;
    box-shadow: 0 0 0 3px #eff6ff;
}

.feed-content {
    flex: 1;
}

.feed-date {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
}

.feed-msg {
    font-size: 13px;
    color: #334155;
    line-height: 1.4;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    display: inline-block;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .feed-msg { display: block; width: 100%; }
}

/* ============================================================
   BÖLÜM 18: MODERN FATURA / SİPARİŞ DETAY MODALI (v17.0)
   ============================================================ */

/* Modal İçerik Kapsayıcısı */
.invoice-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
}

/* 1. Başlık Alanı (Gri/Mavi Arkaplanlı) */
.invoice-head {
    background: #F8FAFC;
    padding: 25px 30px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.invoice-brand h3 {
    margin: 0;
    font-size: 20px;
    color: #0F172A;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.invoice-meta-badges {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.meta-date {
    font-size: 12px;
    color: #64748B;
    background: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* 2. Bilgi Grid'i (Müşteri vs.) */
.invoice-info-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    padding: 25px 30px;
}

.info-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #94A3B8;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.info-group p {
    margin: 0;
    font-size: 15px;
    color: #334155;
    font-weight: 500;
    line-height: 1.4;
}

.info-highlight {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
}

/* 3. Tablo Alanı */
.invoice-body {
    padding: 0 30px 20px 30px;
}

.invoice-table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
}

.invoice-table-modern th {
    background: #fff;
    color: #64748B;
    font-size: 11px;
    text-transform: uppercase;
    padding: 10px 0;
    border-bottom: 2px solid #E2E8F0;
    font-weight: 700;
}

.invoice-table-modern td {
    padding: 12px 0;
    border-bottom: 1px dashed #E2E8F0;
    font-size: 13px;
    color: #334155;
    vertical-align: middle;
}

.invoice-table-modern tr:last-child td {
    border-bottom: none;
}

/* İade Satırı Özel Stil */
.row-return td {
    color: #DC2626 !important;
    font-weight: 500;
}
.row-return .cell-code {
    background: #FEF2F2;
    color: #DC2626;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

/* 4. Alt Özet ve Butonlar */
.invoice-footer-section {
    background: #F8FAFC;
    padding: 20px 30px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.invoice-actions-left {
    display: flex;
    gap: 10px;
}

.invoice-summary-right {
    width: 280px;
    text-align: right;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #64748B;
    margin-bottom: 8px;
}

.summary-line.grand-total {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    border-top: 1px solid #CBD5E1;
    padding-top: 10px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Küçük ekran düzenlemesi */
@media (max-width: 600px) {
    .invoice-footer-section { flex-direction: column; gap: 20px; }
    .invoice-summary-right { width: 100%; }
    .invoice-info-row { grid-template-columns: 1fr; gap: 15px; }
}
/* ============================================================
   BÖLÜM 20: NET OKUNABİLİR KART TASARIMI (v56.0)
   ============================================================ */

/* 1. ARKA PLAN VE GENEL YAPI */
.portal-body {
    /* Koyu degrade arka plan (Koruyoruz) */
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%) !important;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    padding-bottom: 60px;
    color: #334155;
}

.faq-item {
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 0;
    background: transparent;
    border-radius: 0;
    transition: background 0.3s;
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
    padding: 15px 10px;
    font-weight: 600;
    color: #334155; /* Koyu Gri Soru */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q:hover { color: #2563EB; } /* Mouse gelince mavi olsun */

.faq-a {
    padding: 0 10px 15px 10px;
    font-size: 14px;
    color: #475569; /* Cevap Rengi */
    line-height: 1.6;
    display: none; /* Gizli */
}

/* Açıkken */
.faq-item.open .faq-a { display: block; animation: slideDown 0.3s ease; }
.faq-item.open .faq-q { color: #2563EB; font-weight: 700; }
.faq-item.open { background-color: #F8FAFC; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tl-item.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.tl-item.active .tl-icon {
    border-color: #2563EB;
    background: #2563EB;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* 5. MOBİL UYUMLULUK */
@media (max-width: 480px) {
    .portal-container { padding: 0 15px; }
    .search-card, .content-card, .faq-section { padding: 20px; }
}

@media (max-width: 900px) {
    .form-layout-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   BÖLÜM 22: MOBİL UYUMLULUK (PORTAL - v17.17)
   ============================================================ */

/* TABLET VE ALT (1100px altı) */
@media (max-width: 1100px) {
    .hero-split {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        align-items: center;
    }

    .hero-split.has-results {
        align-items: stretch;
    }

    /* Sol Taraf (Arama) */
    .hero-left {
        width: 100%;
        border-right: none;
        padding: 40px 20px;
        min-height: auto;
        border-bottom: 0;
    }

    .hero-split.has-results .hero-left {
        display: none;
    }

    /* Sağ Taraf (Sonuçlar) */
    .hero-right {
        width: 100%;
        padding: 0;
        background: #f8fafc;
        display: none; /* Varsayılan gizli */
    }

    /* Eğer sonuç alanı görünürse sağ tarafı aç */
    .hero-split.has-results .hero-right,
    .hero-right:has(.portal-dash-container:not(.hidden)) {
        display: block;
        min-height: 100vh;
    }

    .hero-image-container {
        display: none; /* Mobilde arka plan resmini gizle */
    }

    .portal-dash-container {
        padding: 20px;
    }
}

/* MOBİL VE KÜÇÜK EKRANLAR (768px altı) */
@media (max-width: 768px) {
    /* Navbar */
    .nav-container {
        padding: 0 20px;
    }
    .nav-links {
        display: none; /* Menüyü mobilde sadeleştir */
    }
    .portal-nav {
        padding: 10px 0;
    }
    .logo {
        font-size: 20px;
    }

    /* Başlık Kartı (Müşteri & Tutar) */
    .dash-header-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }

    .dh-left {
        width: 100%;
        border-bottom: 1px dashed #e2e8f0;
        padding-bottom: 15px;
        margin-bottom: 0;
    }

    .dh-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .dh-right h3 {
        font-size: 15px;
    }

    /* Form ve Rehber Izgarası */
    .form-layout-grid {
        grid-template-columns: 1fr; /* Tek kolon */
        gap: 30px;
    }
    
    /* Inputlar */
    .input-floating input {
        font-size: 14px;
    }
    
    /* Timeline (Yatay Süreç) */
    .timeline-horizontal-colorful {
        overflow-x: auto; /* Taşan kısmı kaydır */
        padding-bottom: 20px;
        justify-content: flex-start;
        gap: 20px;
    }
    .tm-step {
        min-width: 90px; /* Her adımın minimum genişliği */
    }
    
    /* Alt Bilgi Çubuğu */
    .info-bar-container {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding: 0 20px;
    }
    
    /* Modallar */
    .modal-content {
        width: 95% !important;
        margin: 10px;
        padding: 20px !important;
    }
    
    /* Yeni Gönderim Rehberi */
    .shipping-guide-card {
        margin-top: 10px;
        background: #fff;
    }
    
    .guide-item {
        font-size: 12px;
    }
}
/* style.css - EN ALTA EKLE */

/* Desi Çoklu Paket Satırları */
.desi-row {
    display: grid; 
    /* GÜNCELLENDİ: Adet (60px) + En + Boy + Yükseklik + Sil Butonu (40px) */
    grid-template-columns: 60px 1fr 1fr 1fr 40px; 
    gap: 8px; 
    margin-bottom: 8px;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.desi-row input {
    margin: 0 !important;
    padding: 8px !important;
    text-align: center;
    font-size: 13px;
    height: 40px; /* Yüksekliği biraz artırıp modernleştirdik */
    min-height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s;
}

.desi-row input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Modern Silme Butonu */
.btn-remove-row {
    background: #fff; /* Varsayılan beyaz */
    color: #94a3b8;   /* Pasif gri ikon */
    border: 1px solid #e2e8f0; /* Inputlarla aynı çerçeve */
    border-radius: 8px;
    width: 40px;      /* Input yüksekliğiyle aynı */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-remove-row:hover {
    background: #fee2e2; /* Hover: Açık Kırmızı Zemin */
    color: #ef4444;      /* Hover: Kırmızı İkon */
    border-color: #fca5a5;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.1);
}

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

.desi-btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.desi-preset-btn {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-weight: 600;
    height: 38px;
    padding: 0 8px;
    white-space: nowrap;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.desi-preset-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
}

/* ============================================================
   v34.1 - DİNAMİK TALEP MODALI TASARIMI
   ============================================================ */

/* Modal Başlık ve Bilgi Alanı */
.modal-info-header {
    background: #F1F5F9;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

/* YENİ: Tek Kolon Modu (Sağ taraf gizliyken devreye girer) */
.modal-split-layout.single-mode {
    grid-template-columns: 1fr; /* Tam genişlik */
}

/* Tek kolon modunda sol panelin iç yapısını güzelleştir */
.modal-split-layout.single-mode .modal-left-panel {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dropdownları yan yana al */
    gap: 20px;
}

/* Tek kolon modunda açıklama alanı (textarea) tüm satırı kaplasın */
.modal-split-layout.single-mode .modal-left-panel .full-width-item {
    grid-column: span 2;
}

/* Ürün Seçim Listesi */
.product-select-list {
    max-height: 250px;
    overflow-y: auto;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 5px;
}

/* Sevk Fişi Tablosu */
.dispatch-table {
    width: 100%;
    font-size: 12px;
    border-collapse: collapse;
}
.dispatch-table th { background: #F1F5F9; padding: 5px; text-align: left; color: #64748B; }
.dispatch-table td { border-bottom: 1px solid #E2E8F0; padding: 5px; color: #334155; }

/* Mobilde Tek Kolona Düşür */
@media (max-width: 800px) {
    .modal-info-header { grid-template-columns: 1fr; }
    .modal-split-layout { grid-template-columns: 1fr !important; }
    .modal-split-layout.single-mode .modal-left-panel { grid-template-columns: 1fr; }
    .modal-split-layout.single-mode .modal-left-panel .full-width-item { grid-column: span 1; }
}

/* Tekil Buton Stili */
.type-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 5px; /* Padding azaltıldı, sığması için */
    height: 38px;
    border-radius: 8px;
    color: #64748B;
    font-weight: 600;
    font-size: 13px; /* Mobilde taşmasın diye 14px'den 13px'e çektim */
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap; /* Yazı alt satıra inmesin */
}

.type-btn:hover { background: rgba(255,255,255,0.6); color: #334155; }

.type-btn.active {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transform: scale(1.02);
}

/* Türlere Göre Aktif Renkler */
.type-btn[data-val="iade"].active { color: #3B82F6; } /* Mavi */
.type-btn[data-val="eksik"].active { color: #D97706; } /* Kehribar */
.type-btn[data-val="yanlis"].active { color: #DB2777; } /* Fuşya */
.type-btn[data-val="degisim"].active { color: #F59E0B; } /* Turuncu */
.type-btn[data-val="iptal"].active { color: #EF4444; } /* Kırmızı */

/* Talep Modalındaki Select Kutusunu da Eşitle */
#modalReturnStatus {
    height: 50px !important; 
    min-height: 50px !important;
    font-size: 14px;
    width: 100%; /* Kapsayıcıyı doldur */
}

.type-btn i { font-size: 15px; }

/* ============================================================
   BÖLÜM 23: MODERN SAYFALAMA (PAGINATION) - v16.4
   ============================================================ */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px; /* Butonlar arası boşluk */
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #E2E8F0; /* Üstüne ince bir çizgi */
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #E2E8F0;
    background: #ffffff;
    color: #64748B; /* Pasif yazı rengi */
    border-radius: 8px; /* Modern yuvarlak köşeler */
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); /* Hafif gölge */
}

/* Mouse ile üzerine gelince */
.page-btn:hover:not(:disabled):not(.active) {
    border-color: #BFDBFE;
    color: #2563EB;
    background: #EFF6FF;
    transform: translateY(-2px); /* Hafif yukarı kalkma efekti */
}

/* Aktif Sayfa (Seçili Olan) */
.page-btn.active {
    background: #3B82F6; /* Alfais Mavisi */
    color: #ffffff;
    border-color: #3B82F6;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.4); /* Mavi parlama efekti */
    cursor: default;
    pointer-events: none; /* Tıklanmasın */
}

/* Pasif Butonlar (İlk sayfadayken Geri butonu vb.) */
.page-btn:disabled {
    background: #F1F5F9;
    color: #CBD5E1;
    border-color: #F1F5F9;
    cursor: not-allowed;
    box-shadow: none;
}

/* ... (Noktalar) için stil */
.pagination-container span {
    color: #94A3B8;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0 5px;
}
 /* ============================================================
   BÖLÜM 24 GÜNCELLEME (v16.12) - GLOBAL FLOATING TABLE
   ============================================================ */

/* 1. Tablo Taşıyıcı (Wrapper) Temizliği */
/* Tablonun bulunduğu kutunun çizgilerini ve arka planını kaldırır */
.table-responsive.clean-mode {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important; /* Gölgelerin kesilmemesi için */
}

/* 2. Floating Table Genel Yapısı */
.modern-floating-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px; /* Kartlar arası boşluk */
    margin-top: -10px;
}

/* Başlıklar */
.modern-floating-table thead th {
    background: transparent;
    border: none;
    font-size: 11px;
    font-weight: 800;
    color: #94A3B8;
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left; /* Varsayılan sola yaslı */
}

/* Satır Kartları */
.modern-floating-table tbody tr {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(148, 163, 184, 0.08); /* Hafif gölge */
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 12px;
}

.modern-floating-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(148, 163, 184, 0.15);
    position: relative;
    z-index: 10;
}

/* Hücreler */
.modern-floating-table tbody td {
    border: none;
    padding: 18px 20px;
    vertical-align: middle;
    color: #334155;
    font-size: 14px;
    background: #ffffff; /* Satır rengini hücreye ver */
}

/* Yuvarlak Köşeler (Satırın başı ve sonu) */
.modern-floating-table tbody td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.modern-floating-table tbody td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Tablo İçi Rozet (Badge) Düzeltmeleri */
.modern-floating-table .badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Küçük butonlar için ayar */
.modern-floating-table .btn-sm {
    border-radius: 8px;
    padding: 6px 12px;
}
/* ============================================================
   BÖLÜM 26: DESİ TABLOSU İÇERİK STİLLERİ (v16.16)
   ============================================================ */

/* Tarih Kutusu */
.ft-date-box {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.ft-day { font-weight: 700; color: #0F172A; font-size: 13px; }
.ft-time { font-size: 11px; color: #94A3B8; }

/* Müşteri Alanı */
.ft-customer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #334155;
}
.ft-customer-icon {
    width: 32px; height: 32px;
    background: #F1F5F9; color: #64748B;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}

/* Değer Kutuları (Bizim/Kargo Desi) */
.ft-val-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ft-val-label { 
    font-size: 9px; 
    color: #94A3B8; 
    text-transform: uppercase; 
    font-weight: 700; 
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.ft-val-num { 
    font-weight: 800; 
    font-size: 16px; 
    letter-spacing: -0.5px;
}

/* Fark Rozetleri */
.ft-diff-badge {
    padding: 6px 12px; 
    border-radius: 8px; 
    font-weight: 700; 
    font-size: 13px;
    display: inline-block; 
    min-width: 70px; 
    text-align: center;
}
.diff-pos { background: #FEF2F2; color: #EF4444; border: 1px solid #FECACA; } /* Kırmızı (Fark var) */
.diff-neg { background: #ECFDF5; color: #10B981; border: 1px solid #A7F3D0; } /* Yeşil (Biz daha az ölçmüşüz) */
.diff-zero { background: #F8FAFC; color: #94A3B8; border: 1px solid #E2E8F0; } /* Gri (Eşit) */

/* Ölçü Badge */
.ft-dims-badge {
    background: #F8FAFC;       /* Çok açık gri zemin */
    color: #475569;            /* Koyu gri yazı */
    border: 1px solid #E2E8F0; /* İnce gri çerçeve */
    border-radius: 20px; 
    padding: 5px 12px; 
    font-weight: 700; 
    font-size: 11px;           /* Fontu biraz kibarlaştırdık */
    letter-spacing: 0.3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
/* ============================================================
   BRAND / LOGO STİLİ
   ============================================================ */
.brand {
    font-size: 24px;       /* Okunaklı boyut */
    font-weight: 800;      /* Extra Bold (Çok Kalın) */
    color: #ffffff;        /* evaletim kısmı BEYAZ */
    letter-spacing: -1px;  /* Harfleri sıkılaştır (Modern görünüm) */
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    cursor: default;       /* Üzerine gelince imleç değişmesin */
}

.brand span {
    color: #3B82F6;        /* .com kısmı MAVİ (Primary Rengi) */
    font-weight: 800;      /* O da kalın */
}

/* Opsiyonel: Hafif bir parlama efekti istersen bunu da ekle */
.brand:hover span {
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5); /* Mavi parlama */
    transition: all 0.3s ease;
}

/* v17.6.1 - Zarif Sipariş No Kopyalama Butonu */
.btn-copy-sm {
    background: transparent;
    border: none;
    color: #CBD5E1; /* Varsayılan: Çok açık gri, neredeyse görünmez */
    cursor: pointer;
    padding: 0;
    border-radius: 50%; /* Tam daire */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Yumuşak, modern geçiş */
    margin-left: 8px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;  /* Sabit boyut */
    height: 26px;
    opacity: 0.6; /* Biraz şeffaflık */
}

/* Başarı (Kopyalandı) durumu */
.btn-copy-sm.copied {
    color: #059669 !important; /* Koyu Yeşil */
    background-color: #D1FAE5 !important; /* Açık yeşil arka plan */
    box-shadow: none;
    transform: none;
    opacity: 1;
}
/* style.css içine en alta ekleyebilirsiniz */

.hover-row {
    cursor: pointer;
    transition: background-color 0.2s;
}

/* Modal içindeki basit tablo için */
.simple-table {
    width: 100%;
    border-collapse: collapse;
}
.simple-table th, .simple-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.simple-table th {
    font-size: 12px;
    color: #64748B;
    background: #fff;
}
/* --- MODERN PAGINATION TASARIMI --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid #f1f5f9;
    background: #fff;
    border-radius: 0 0 12px 12px; /* Tablonun altına yapışık dursun */
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.pagination-btn:hover:not(:disabled) {
    border-color: #bfdbfe;
    color: #2563eb;
    background: #eff6ff;
    transform: translateY(-1px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #f1f5f9;
    box-shadow: none;
}

.pagination-info {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}
