/* ============================================================
   BABUL - Custom Styles
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #f0f9ff 100%);
    min-height: 100vh;
    color: #1e293b;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #93c5fd, #3b82f6); border-radius: 10px; }

/* Header */
.header-glass {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

.top-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}
.nav-tab {
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    color: #475569;
    padding: 9px 14px;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.nav-tab:hover,
.nav-tab.is-active {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
}
.nav-tab span {
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
}

.babul-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.babul-mark {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1d4ed8;
    box-shadow: inset 0 0 0 1px rgba(29,78,216,0.12), 0 8px 24px rgba(37,99,235,0.12);
}
.babul-mark svg {
    width: 34px;
    height: 34px;
}
.babul-road {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: babul-road-scan 2.8s ease-in-out infinite;
}
.babul-dot {
    transform-origin: 34px 17px;
    animation: babul-dot-pulse 2.8s ease-in-out infinite;
}
.babul-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: 0;
}
.babul-ara {
    color: #0f172a;
    font-size: 2.65rem;
    letter-spacing: 0;
}
.babul-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-top: 2px;
}
.babul-part {
    display: inline-block;
    font-size: 1.05rem;
    line-height: 0.9;
    animation-duration: 2.4s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
.babul-part-ba {
    color: #1d4ed8;
    animation-name: babul-ba-glow;
}
.babul-part-bul {
    color: #0f172a;
    animation-name: babul-bul-glow;
}

@keyframes babul-ba-glow {
    0%, 42%, 100% {
        color: #1d4ed8;
        text-shadow: 0 0 0 rgba(37,99,235,0);
    }
    14%, 28% {
        color: #2563eb;
        text-shadow: 0 0 16px rgba(37,99,235,0.45);
    }
}
@keyframes babul-bul-glow {
    0%, 46%, 100% {
        color: #0f172a;
        text-shadow: 0 0 0 rgba(14,165,233,0);
    }
    62%, 80% {
        color: #0284c7;
        text-shadow: 0 0 16px rgba(14,165,233,0.42);
    }
}
@keyframes babul-road-scan {
    0% { stroke-dashoffset: 48; opacity: 0.5; }
    35%, 68% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -48; opacity: 0.55; }
}
@keyframes babul-dot-pulse {
    0%, 100% { transform: scale(0.88); opacity: 0.65; }
    36%, 66% { transform: scale(1.08); opacity: 1; }
}

/* Search Card */
.dashboard-hero,
.watchlist-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: 22px;
    padding: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 62%, #0891b2 100%);
    color: white;
    box-shadow: 0 18px 50px rgba(15,23,42,0.18);
}
.dashboard-hero h2,
.watchlist-head h2 {
    font-size: clamp(1.55rem, 3vw, 2.45rem);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: 0;
}
.dashboard-hero p,
.watchlist-head p {
    color: #dbeafe;
    max-width: 680px;
    margin-top: 8px;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
}
.news-slider,
.dashboard-side,
.criteria-panel,
.search-sidebar .sidebar-panel {
    border-radius: 18px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(226,232,240,0.8);
    box-shadow: 0 10px 34px rgba(15,23,42,0.07);
}
.news-slider {
    overflow: hidden;
    padding: 18px;
}
.slider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.slider-head h3,
.criteria-panel h3 {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 900;
}
.slider-controls {
    display: flex;
    gap: 8px;
}
.slider-controls button {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 900;
}
.news-track {
    display: flex;
    transition: transform 0.35s ease;
}
.news-card {
    min-width: 100%;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    overflow: hidden;
}
.news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: #e2e8f0;
}
.news-content {
    padding: 22px 24px 24px;
}
.news-card:hover h4 {
    color: #1d4ed8;
}
.news-card span,
.panel-label {
    display: block;
    color: #2563eb;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.news-card h4 {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 950;
    margin-bottom: 8px;
}
.news-card p {
    color: #64748b;
    line-height: 1.6;
}
.dashboard-side {
    display: grid;
    gap: 12px;
    padding: 14px;
}
.mini-panel {
    border-radius: 14px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.mini-panel strong {
    display: block;
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 950;
}
.mini-panel p {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 650;
}
.market-list {
    display: grid;
    gap: 8px;
}
.market-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid #e2e8f0;
}
.market-row span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 800;
}
.market-row strong {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 950;
    text-align: right;
}
.muted-line {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.45;
}
.market-link {
    display: inline-flex;
    margin-top: 10px;
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 900;
}

.search-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.search-sidebar {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 118px;
}
.sidebar-panel {
    padding: 16px;
}
.side-metric {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #e2e8f0;
}
.side-metric span,
.side-help {
    color: #64748b;
    font-size: 0.83rem;
    font-weight: 650;
}
.side-metric strong {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 900;
    text-align: right;
}
.filter-panel {
    display: grid;
    gap: 12px;
}
.filter-panel details {
    border-top: 1px solid #e2e8f0;
    padding-top: 10px;
}
.filter-panel summary {
    color: #0f172a;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 900;
    list-style: none;
}
.filter-panel summary::-webkit-details-marker {
    display: none;
}
.filter-panel summary::after {
    content: '+';
    float: right;
    color: #2563eb;
    font-weight: 900;
}
.filter-panel details[open] summary::after {
    content: '-';
}
.filter-grid,
.filter-stack {
    display: grid;
    gap: 9px;
    margin-top: 10px;
}
.filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.filter-panel .custom-select,
.filter-panel .custom-input {
    min-height: 42px;
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 0.84rem;
}
.sidebar-action {
    width: 100%;
    margin-top: 12px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.84rem;
    font-weight: 900;
}
.sidebar-action:hover {
    background: #dbeafe;
}

.watch-btn {
    width: 100%;
    margin-top: 12px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 10px;
    padding: 9px 10px;
    font-size: 0.82rem;
    font-weight: 900;
}
.watch-btn:hover {
    background: #dbeafe;
}
.criteria-panel {
    padding: 18px;
    margin: 18px 0;
}
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 10px;
    margin-top: 12px;
}
.custom-input {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    color: #334155;
    padding: 12px 14px;
    font-size: 0.92rem;
    font-weight: 650;
}
.custom-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}
.watchlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.watch-card,
.empty-watch {
    border-radius: 18px;
    padding: 18px;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 28px rgba(15,23,42,0.07);
}
.watch-card span {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 9px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 900;
}
.watch-card h3 {
    margin-top: 10px;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
}
.watch-card p,
.watch-card small,
.empty-watch {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.5;
}
.watch-card small {
    display: block;
    margin-top: 10px;
}
.watch-card button {
    margin-top: 12px;
    color: #dc2626;
    font-weight: 900;
    font-size: 0.82rem;
}
.eyebrow,
.stats-eyebrow {
    display: block;
    color: #38bdf8;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.search-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 10px rgba(59,130,246,0.05);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}
.search-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.search-card-title svg {
    color: #3b82f6;
    flex-shrink: 0;
}
.search-card:hover {
    box-shadow: 0 12px 50px rgba(0,0,0,0.1), 0 4px 15px rgba(59,130,246,0.1);
}
.vehicle-type-picker {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 6px auto 22px;
    max-width: 880px;
}
.vehicle-type-card {
    width: 150px;
    min-height: 118px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    color: #334155;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 10px;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}
.vehicle-type-card:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
    box-shadow: 0 14px 32px rgba(37,99,235,0.12);
}
.vehicle-type-card.is-active {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
    box-shadow: 0 14px 34px rgba(37,99,235,0.16);
}
.vehicle-type-card span {
    font-size: 1.55rem;
    line-height: 1;
}
.vehicle-type-card strong {
    color: inherit;
    font-size: 0.95rem;
    font-weight: 950;
}
.vehicle-type-card small {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
}
.quick-search-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.search-actions-row {
    display: flex;
    align-items: end;
    gap: 12px;
}

/* Custom Select */
.custom-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    transition: all 0.2s ease;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    background-color: #fff;
}
.custom-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}
.custom-select:disabled {
    background-color: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59,130,246,0.3);
    position: relative;
    overflow: hidden;
}
.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59,130,246,0.4);
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover:not(:disabled)::after { left: 100%; }

.btn-reset {
    background: #f1f5f9;
    color: #64748b;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-reset:hover { background: #e2e8f0; color: #475569; }

/* Listing Card - GENİŞ LİSTE GÖRÜNÜMÜ */
.results-list {
    display: grid;
    gap: 12px;
}
.listing-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(226,232,240,0.8);
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
}
.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    border-color: rgba(59,130,246,0.3);
}
.listing-card:hover .listing-image { transform: scale(1.05); }

.listing-image-wrapper {
    overflow: hidden;
    position: relative;
    height: 100%;
    min-height: 176px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}
.listing-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 28px rgba(15,23,42,0.06);
}
.pagination-bar button {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 12px;
    padding: 9px 13px;
    font-size: 0.84rem;
    font-weight: 900;
}
.pagination-bar button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.pagination-bar span {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 900;
}

/* Badges */
.source-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.source-arabam { background: #dcfce7; color: #166534; }
.source-sahibinden { background: #dbeafe; color: #1e40af; }

.year-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
}

.price-tag {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
}

/* Detail Info Tags */
.info-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
}
.info-tag svg { width: 12px; height: 12px; flex-shrink: 0; }

/* Modal / Detail Panel */
.detail-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}
.detail-panel {
    background: white;
    border-radius: 20px;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    animation: slideUp 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.detail-panel::-webkit-scrollbar { width: 6px; }
.detail-panel::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

/* Image Gallery in Detail */
.detail-gallery {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #f1f5f9;
}
.detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.2s;
    z-index: 5;
}
.gallery-nav:hover { background: white; transform: translateY(-50%) scale(1.1); }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.gallery-thumbs {
    display: flex;
    gap: 6px;
    padding: 10px 16px;
    overflow-x: auto;
    background: #f8fafc;
}
.gallery-thumb {
    width: 64px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s;
    flex-shrink: 0;
}
.gallery-thumb:hover { opacity: 0.9; }
.gallery-thumb.active { border-color: #3b82f6; opacity: 1; }

/* Properties Table */
.prop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}
.prop-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.85rem;
}
.prop-item .prop-key { color: #64748b; font-weight: 500; }
.prop-item .prop-val { color: #1e293b; font-weight: 600; }

/* Equipment Tags */
.equip-tag {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    margin: 2px;
}

/* Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Loading Spinner */
.empty-panel {
    text-align: center;
    padding: 72px 20px;
}
.empty-visual {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    color: #2563eb;
    background: #eff6ff;
}
.empty-visual svg {
    width: 58px;
    height: 58px;
}
.empty-panel h3 {
    color: #334155;
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 8px;
}
.empty-panel p {
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
}
.empty-hints {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.empty-hints span {
    border-radius: 999px;
    padding: 7px 11px;
    background: white;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 0.78rem;
    font-weight: 700;
}
.live-search-panel {
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(191,219,254,0.85);
    box-shadow: 0 10px 32px rgba(37,99,235,0.08);
}
.live-search-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}
.live-search-head h3 {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 900;
}
.live-found-counter {
    min-width: 92px;
    border-radius: 14px;
    padding: 10px 12px;
    background: #eff6ff;
    color: #1d4ed8;
    text-align: center;
}
.live-found-counter strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 900;
}
.live-found-counter span {
    font-size: 0.72rem;
    font-weight: 800;
}
.scan-progress {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
    margin-bottom: 14px;
}
.scan-progress div {
    width: 4%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    transition: width 0.55s ease;
}
.scan-events {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}
.scan-event {
    border-radius: 10px;
    padding: 8px 10px;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 0.83rem;
    font-weight: 650;
    animation: fadeInUp 0.25s ease-out;
}
.source-scan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.source-scan-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}
.source-scan-card.is-active {
    background: #eff6ff;
    border-color: #93c5fd;
    box-shadow: 0 8px 22px rgba(37,99,235,0.08);
}
.source-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #94a3b8;
    flex-shrink: 0;
}
.source-scan-card.is-active .source-dot {
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34,197,94,0.12);
    animation: source-pulse 1s ease-in-out infinite;
}
.source-scan-card strong {
    color: #334155;
    font-size: 0.9rem;
}
.source-scan-card p {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}
@keyframes source-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

.loading-spinner {
    display: inline-block;
    width: 20px; height: 20px;
    border: 3px solid rgba(59,130,246,0.2);
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Animations */
@keyframes float {
    0%,100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.animate-float { animation: float 3s ease-in-out infinite; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeInUp 0.5s ease-out forwards; opacity: 0; }
.stagger-1 { animation-delay: 0.03s; }
.stagger-2 { animation-delay: 0.06s; }
.stagger-3 { animation-delay: 0.09s; }
.stagger-4 { animation-delay: 0.12s; }
.stagger-5 { animation-delay: 0.15s; }
.stagger-6 { animation-delay: 0.18s; }
.stagger-7 { animation-delay: 0.21s; }
.stagger-8 { animation-delay: 0.24s; }
.stagger-9 { animation-delay: 0.27s; }
.stagger-10 { animation-delay: 0.30s; }

/* Stats Bar */
.stats-bar {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 28px rgba(15,23,42,0.07);
    border: 1px solid rgba(226,232,240,0.6);
}
.stats-bar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.stats-bar-head h3 {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 900;
}
.result-count-pill {
    flex-shrink: 0;
    border-radius: 999px;
    padding: 8px 12px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.82rem;
    font-weight: 900;
}
.result-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.result-metric {
    border-radius: 14px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.result-metric span {
    display: block;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.result-metric strong {
    display: block;
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.25;
}

/* Toast */
.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    animation: slideIn 0.4s ease-out;
    max-width: 380px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.toast-success { background: linear-gradient(135deg, #10b981, #059669); color: white; }
.toast-error { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
.toast-warning { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
@keyframes slideIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100px); }
}

/* Close button */
.close-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.close-btn:hover { background: #e2e8f0; color: #334155; }

/* Kur değişim okları */
.rate-up   { color: #16a34a; font-weight: 900; }
.rate-down { color: #dc2626; font-weight: 900; }

/* Kredi Hesaplama */
.kredi-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.kredi-tab {
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    color: #475569;
    padding: 9px 20px;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}
.kredi-tab:hover,
.kredi-tab.is-active {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
}
.kredi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}
.kredi-rate-card,
.kredi-calc-card {
    border-radius: 18px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(226,232,240,0.8);
    box-shadow: 0 10px 34px rgba(15,23,42,0.07);
    padding: 20px;
}
.kredi-form {
    display: grid;
    gap: 14px;
    margin: 16px 0;
}
.kredi-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
}
.kredi-sonuc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}
.kredi-metric {
    border-radius: 12px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.kredi-metric span {
    display: block;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.kredi-metric strong {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 950;
}
.kredi-highlight { color: #1d4ed8 !important; font-size: 1.15rem !important; }
.kredi-faiz-val  { color: #dc2626 !important; }
.kredi-metric-highlight { border: 1.5px solid #bfdbfe; background: #eff6ff !important; }

/* Faiz oranları yan yana satırı */
.kredi-rates-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.kredi-sifir-label  { color: #16a34a !important; }
.kredi-ikinci-label { color: #dc2626 !important; }

/* Market değer grubu (kur + ok) */
.market-val-group {
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: right;
}
.market-val-group strong { font-size: 0.92rem; }
.rate-unit {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

/* Kredi boş durum ipucu */
.kredi-empty-hint {
    border-radius: 14px;
    padding: 28px 20px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    text-align: center;
    color: #64748b;
    font-size: 0.86rem;
    margin-top: 16px;
}

/* ============================================================
   Mobile Filter Drawer
   ============================================================ */

/* Toggle button — only visible on mobile */
.filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1.5px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease;
}
.filter-toggle-btn:hover {
    background: #dbeafe;
}

/* Backdrop overlay */
.filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    z-index: 199;
    transition: opacity 0.25s ease;
}
.filter-backdrop.hidden {
    display: none;
}

/* Drawer close button row — hidden on desktop */
.sidebar-drawer-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 4px;
}
.sidebar-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.sidebar-close-btn:hover {
    background: #e2e8f0;
    color: #334155;
}

/* Responsive */
@media (max-width: 768px) {

    /* Header */
    .babul-mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
    .babul-logo { gap: 6px; }
    .babul-ara { font-size: 2.05rem; }
    .babul-part { font-size: 0.86rem; }

    /* Dashboard hero / watchlist head */
    .dashboard-hero,
    .watchlist-head {
        flex-direction: column;
        align-items: stretch;
    }

    /* Dashboard grid: news full width, side panels in 2-col grid */
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        display: grid;
    }

    /* Search layout: sidebar becomes a drawer, only content column shows */
    .search-layout {
        grid-template-columns: 1fr;
    }
    .filter-toggle-btn {
        display: inline-flex;
    }

    /* Sidebar drawer behavior */
    .search-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 300px;
        max-width: 88vw;
        z-index: 200;
        overflow-y: auto;
        background: #fff;
        box-shadow: 4px 0 32px rgba(15, 23, 42, 0.18);
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0;
        padding-top: 0;
    }
    .search-sidebar.is-open {
        transform: translateX(0);
    }
    .sidebar-drawer-header {
        display: flex;
    }
    /* Remove sticky positioning on mobile */
    .search-sidebar { top: 0; }

    /* Search form grid stacks to 1 col on mobile */
    .criteria-grid,
    .quick-search-grid {
        grid-template-columns: 1fr;
    }
    .search-actions-row {
        align-items: stretch;
    }

    /* Result count pill full width */
    .result-count-pill {
        width: 100%;
        text-align: center;
    }

    /* Live search / stats bar */
    .live-search-head,
    .stats-bar-head {
        flex-direction: column;
    }

    /* Scan grid and result metrics */
    .source-scan-grid,
    .result-metrics {
        grid-template-columns: 1fr;
    }

    /* Kredi page */
    .kredi-grid,
    .kredi-sonuc,
    .kredi-rates-row {
        grid-template-columns: 1fr;
    }

    /* Cards */
    .search-card { border-radius: 16px; }
    .listing-card {
        border-radius: 12px;
        grid-template-columns: 1fr;
    }
    .listing-image-wrapper { height: 210px; }

    /* Detail modal */
    .detail-gallery { height: 250px; }
    .detail-panel { width: 98%; border-radius: 16px; }
}

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #0891b2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}
.splash-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.splash-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Car SVG */
.splash-car {
    width: 220px;
    animation: splash-drive 1.4s ease-in-out infinite alternate;
    filter: drop-shadow(0 12px 28px rgba(59,130,246,0.35));
}
.splash-car svg { width: 100%; height: auto; }
.splash-body { filter: drop-shadow(0 0 12px rgba(59,130,246,0.5)); }
.splash-wheel-front { animation: splash-spin 0.7s linear infinite; transform-origin: 140px 62px; }
.splash-wheel-rear  { animation: splash-spin 0.7s linear infinite; transform-origin: 55px 62px; }

@keyframes splash-spin {
    to { transform: rotate(360deg); }
}
@keyframes splash-drive {
    0%   { transform: translateX(-8px); }
    100% { transform: translateX(8px); }
}

/* Road line */
.splash-road {
    width: 240px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 4px;
    margin-bottom: 24px;
}
.splash-road-line {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    border-radius: inherit;
    animation: splash-road-sweep 1.2s ease-in-out infinite;
}
@keyframes splash-road-sweep {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(300%); }
}

/* Text */
.splash-brand {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.splash-sub {
    color: #93c5fd;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
}

/* Loading dots */
.splash-dots {
    display: flex;
    gap: 8px;
}
.splash-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    animation: splash-dot-bounce 1s ease-in-out infinite;
}
.splash-dots span:nth-child(2) { animation-delay: 0.15s; }
.splash-dots span:nth-child(3) { animation-delay: 0.30s; }
@keyframes splash-dot-bounce {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
    40%            { transform: scale(1.2); opacity: 1; }
}

/* Search card title */
.search-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 20px;
}
.search-card-title svg { color: #3b82f6; flex-shrink: 0; }
