/* ═══════════════════════════════════════════════════════════════════════════
   Seri Takas — FE-CSS-001 · Eksik sınıf tanımları (ADDITIVE FIX)
   ───────────────────────────────────────────────────────────────────────────
   Bu dosyadaki HER seçici, denetim öncesinde projede HİÇBİR yerde tanımlı
   DEĞİLDİ (ne wwwroot/css/*.css içinde, ne de ilgili .razor dosyasının kendi
   <style> bloğunda). Yani bu sınıflar markup'ta kullanılıyor ama hiçbir kurala
   eşleşmiyordu → ilgili bileşenler "yapısal olarak var ama stilsiz" render
   oluyordu (fiyatlandırma kartları, herkese açık profil, teklif zaman çizelgesi,
   boş-durum ekranları, skeleton yükleyiciler, reklam slider'ı vb.).

   REGRESYON RİSKİ YOK: hiçbir mevcut kural değiştirilmedi/ezilmedi. Buradaki
   seçiciler şu an sıfır elemana uyuyor; tanımlandıklarında yalnızca daha önce
   boş kalan yerleri doldururlar. Bir sayfa kendi <style> bloğunda aynı sınıfı
   sonradan tanımlarsa (DOM'da <link>'ten sonra geldiği için) o kazanır.

   Tüm değerler tokens.css değişkenlerinden türetilir → light/dark otomatik uyumlu.
   Yükleme sırası: _Host.cshtml'de EN SON (special-themes.css'ten sonra).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────────────────
   1) REKLAM SLIDER'I (Shared/Components/AdSlider.razor)
   Bileşenin tüm sınıfları tanımsızdı → reklam alanı stilsiz/bozuk çıkıyordu.
   ─────────────────────────────────────────────────────────────────────────── */
.promo-carousel-wrapper {
    padding: var(--space-6) 0;
}

.promo-carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.promo-item {
    position: relative;
    display: block;
    text-decoration: none;
    line-height: 0; /* görselin altındaki inline boşluğu kaldırır */
}

.promo-carousel .promo-pic {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: cover;
    display: block;
    transition: transform var(--duration-normal) var(--ease-out);
}

.promo-item:hover .promo-pic {
    transform: scale(1.02);
}

.promo-carousel .promo-tag {
    position: absolute;
    top: var(--space-3);
    inset-inline-end: var(--space-3);
    z-index: 2;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--text-on-accent);
    background: var(--accent);
    line-height: 1.6;
}

.promo-indicators {
    position: absolute;
    bottom: var(--space-3);
    inset-inline-start: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
    z-index: 2;
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.promo-indicator-btn {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.promo-indicator-btn:hover { background: rgba(255, 255, 255, 0.85); }

.promo-indicator-btn.active {
    background: var(--accent-bright);
    width: 22px;
}

@media (max-width: 767.98px) {
    .promo-carousel .promo-pic { max-height: 160px; }
}

/* ───────────────────────────────────────────────────────────────────────────
   2) SKELETON YÜKLEYİCİLER
   .skeleton yalnızca Shared/Components/UI/Skeleton.razor'un kendi <style>
   bloğunda tanımlıydı; 18 sayfa ise bileşeni kullanmadan düz
   class="skeleton skeleton-text-short" yazıyor → o sayfalarda hiçbir stil
   uygulanmıyordu. Buraya taşındı + eksik varyantlar eklendi.
   ─────────────────────────────────────────────────────────────────────────── */
.skeleton {
    background-color: var(--bg-surface-3, #e2e8f0);
    display: inline-block;
    width: 100%;
    min-height: 10px;
    border-radius: var(--radius-xs);
    animation: skeleton-loading 1.5s infinite ease-in-out;
}

.skeleton-animated { animation: skeleton-loading 1.5s infinite ease-in-out; }

.skeleton-title {
    height: 1.6em;
    width: 45%;
    margin-bottom: var(--space-3);
    border-radius: var(--radius-sm);
}

.skeleton-text-short {
    height: 1em;
    width: 60%;
    margin-bottom: var(--space-2);
}

.skeleton-text-long {
    height: 1em;
    width: 100%;
    margin-bottom: var(--space-2);
}

@keyframes skeleton-loading {
    0%   { opacity: 0.6; }
    50%  { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* ───────────────────────────────────────────────────────────────────────────
   3) BOŞ DURUM (EMPTY STATE) — 7+ sayfada kullanılıyordu, hiç tanımlı değildi
   ─────────────────────────────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: var(--space-12) var(--space-4);
    color: var(--text-subtle);
}

.empty-icon,
.empty-state-icon {
    font-size: var(--text-5xl);
    line-height: 1;
    color: var(--text-disabled);
    margin-bottom: var(--space-4);
    display: block;
}

.empty-state-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: var(--space-2);
}

.empty-state-description {
    font-size: var(--text-sm);
    color: var(--text-subtle);
    max-width: 46ch;
    margin: 0 auto var(--space-5);
    line-height: var(--leading-normal);
}

.empty-state-cta { margin-top: var(--space-4); }

/* ───────────────────────────────────────────────────────────────────────────
   4) ÜYELİK FİYATLANDIRMA (Pages/MembershipPricing.razor)
   Sayfanın tüm kart yapısı tanımsızdı → düz liste gibi görünüyordu.
   ─────────────────────────────────────────────────────────────────────────── */
.section-subtitle {
    color: var(--text-subtle);
    font-size: var(--text-lg);
    max-width: 60ch;
    margin: 0 auto;
}

.billing-toggle {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
}

.billing-toggle-btn {
    border: none;
    background: transparent;
    color: var(--text-body);
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.billing-toggle-btn:hover { color: var(--text-heading); }

.billing-toggle-btn.active {
    background: var(--accent);
    color: var(--text-on-accent);
    box-shadow: var(--shadow-sm);
}

.save-badge {
    display: inline-block;
    margin-inline-start: var(--space-2);
    padding: 0.1rem 0.5rem;
    border-radius: var(--radius-full);
    background: var(--success-soft);
    color: var(--success);
    font-size: var(--text-xs);
    font-weight: 700;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    padding: var(--space-6) var(--space-5) var(--space-5);
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-header-gradient {
    background: var(--accent-gradient);
    color: var(--text-on-accent);
    border-bottom-color: transparent;
}

.pricing-header-gradient .pricing-name,
.pricing-header-gradient .pricing-amount,
.pricing-header-gradient .currency,
.pricing-header-gradient .period,
.pricing-header-gradient .pricing-subtitle { color: var(--text-on-accent); }

.pricing-icon {
    font-size: var(--text-3xl);
    line-height: 1;
    margin-bottom: var(--space-3);
    display: block;
}

.pricing-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: var(--space-1);
}

.pricing-subtitle {
    font-size: var(--text-sm);
    color: var(--text-subtle);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin: var(--space-3) 0 0;
    color: var(--text-heading);
}

.pricing-amount .amount {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1;
}

.pricing-amount .currency { font-size: var(--text-xl); font-weight: 600; }
.pricing-amount .period   { font-size: var(--text-sm); color: var(--text-subtle); }

.pricing-annual-total {
    font-size: var(--text-xs);
    color: var(--text-subtle);
    margin-top: var(--space-2);
}

.pricing-badge {
    position: absolute;
    top: var(--space-4);
    inset-inline-end: var(--space-4);
    z-index: 2;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    background: var(--accent);
    color: var(--text-on-accent);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.pricing-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: var(--space-5);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-5);
    flex: 1 1 auto;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--text-body);
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-features li:last-child { border-bottom: none; }

/* ───────────────────────────────────────────────────────────────────────────
   5) HERKESE AÇIK PROFİL (Pages/PublicProfile.razor)
   ─────────────────────────────────────────────────────────────────────────── */
.profile-hero {
    padding: var(--space-10) 0 var(--space-6);
    background: var(--bg-surface-2);
    border-bottom: 1px solid var(--border);
}

.profile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--bg-surface);
    box-shadow: var(--shadow-md);
    background: var(--bg-surface-3);
}

.profile-avatar-fallback {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: var(--text-on-accent);
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    border: 3px solid var(--bg-surface);
    box-shadow: var(--shadow-md);
}

.profile-name {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-heading);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-1);
}

.profile-bio {
    color: var(--text-body);
    line-height: var(--leading-normal);
    max-width: 65ch;
    margin-bottom: var(--space-3);
}

.profile-location,
.profile-since {
    font-size: var(--text-sm);
    color: var(--text-subtle);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    margin-top: var(--space-4);
}

.profile-stat {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.profile-stat strong {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--text-heading);
}

.profile-stat span {
    font-size: var(--text-xs);
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.profile-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.profile-rating-star { color: var(--accent-bright); }

.profile-auction-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
    background: var(--bg-surface-3);
}

/* ───────────────────────────────────────────────────────────────────────────
   6) TEKLİF ZAMAN ÇİZELGESİ (Shared/Components/BidTimeline.razor)
   Dikey çizgi + nokta yapısı tamamen tanımsızdı → düz liste görünüyordu.
   ─────────────────────────────────────────────────────────────────────────── */
.bid-timeline-wrapper { position: relative; }

.bid-timeline {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bid-timeline-item {
    position: relative;
    padding-inline-start: var(--space-8);
    padding-bottom: var(--space-5);
}

.bid-timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    inset-inline-start: 0;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--accent);
    border: 2px solid var(--bg-surface);
    box-shadow: 0 0 0 2px var(--accent-soft);
    z-index: 1;
}

.timeline-line,
.timeline-connector {
    position: absolute;
    inset-inline-start: 5px;
    top: 16px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.bid-timeline-item:last-child .timeline-line,
.bid-timeline-item:last-child .timeline-connector { display: none; }

.timeline-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-4);
}

/* ───────────────────────────────────────────────────────────────────────────
   7) ÜYELİK ÖDEME ADIMLARI (Pages/MembershipCheckout.razor)
   ─────────────────────────────────────────────────────────────────────────── */
.checkout-container { max-width: 960px; margin: 0 auto; }

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-subtle);
}

.checkout-step.active { color: var(--accent); }
.checkout-step.completed { color: var(--success); }

.step-num {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
    background: var(--bg-surface-2);
    border: 2px solid var(--border);
    color: inherit;
}

.checkout-step.active .step-num {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-on-accent);
}

.checkout-step.completed .step-num {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.step-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    font-weight: 600;
}

.checkout-step-line {
    flex: 0 1 80px;
    height: 2px;
    background: var(--border);
    margin-bottom: 18px;
}

.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-3);
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.payment-method-card:hover { border-color: var(--border-strong); }

.payment-method-card.active,
.payment-method-card.selected {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.payment-icon {
    font-size: var(--text-2xl);
    line-height: 1;
    color: var(--accent);
}

.tier-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: var(--text-xl);
}

/* ───────────────────────────────────────────────────────────────────────────
   8) İHALE DETAY panelleri (Pages/AuctionDetail.razor)
   Format'a özel paneller ve fiyat bölümü tanımsızdı.
   ─────────────────────────────────────────────────────────────────────────── */
.price-section {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
}

.current-price {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1;
    color: var(--text-heading);
}

.countdown-section {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    background: var(--danger-soft);
    color: var(--danger);
    font-weight: 600;
}

.deposit-info-box,
.driver-info-box,
.info-box {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    background: var(--info-soft);
    border: 1px solid var(--border-subtle);
    color: var(--text-body);
    font-size: var(--text-sm);
}

.dutch-panel,
.japanese-panel {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--accent-soft-hover);
    background: var(--accent-soft);
}

.dutch-price {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.yankee-banner {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    background: var(--warning-soft);
    color: var(--warning);
    font-weight: 600;
}

.bid-tabs {
    display: flex;
    gap: var(--space-1);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-4);
}

.proxy-rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-body);
}

.proxy-rules-list li {
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--border-subtle);
}

/* ───────────────────────────────────────────────────────────────────────────
   9) TAMAMLANAN İHALELER kart yapısı (Pages/CompletedAuctions.razor)
   ─────────────────────────────────────────────────────────────────────────── */
.auction-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--bg-surface-3);
}

.auction-body { padding: var(--space-4); }

.auction-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.auction-info {
    font-size: var(--text-sm);
    color: var(--text-subtle);
}

/* ───────────────────────────────────────────────────────────────────────────
   10) MAĞAZA (Storefront / StoreDirectory)
   ─────────────────────────────────────────────────────────────────────────── */
.storefront-header {
    padding: var(--space-8) 0;
    background: var(--bg-surface-2);
    border-bottom: 1px solid var(--border);
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ───────────────────────────────────────────────────────────────────────────
   11) FİYAT SAPMA rozetleri (PriceDriftIndicator / DriftWidget)
   ─────────────────────────────────────────────────────────────────────────── */
.drift-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    background: var(--bg-surface-2);
    color: var(--text-body);
    border: 1px solid var(--border);
}

.drift-meta {
    font-size: var(--text-xs);
    color: var(--text-subtle);
}

.stretched-link-child { position: relative; z-index: 2; }

/* ───────────────────────────────────────────────────────────────────────────
   12) GİRİŞ / KAYIT ekranı
   ─────────────────────────────────────────────────────────────────────────── */
.login-left-panel {
    background: var(--accent-gradient);
    color: var(--text-on-accent);
    padding: var(--space-12) var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input-field,
.input {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-body);
    font-size: var(--text-base);
    transition: border-color var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-fast) var(--ease-out);
}

.input-field:focus,
.input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--text-subtle);
    margin-bottom: var(--space-1);
}

.password-rules {
    list-style: none;
    padding: 0;
    margin: var(--space-2) 0 0;
    font-size: var(--text-xs);
    color: var(--text-subtle);
}

.password-rules li { padding: 2px 0; }

/* ───────────────────────────────────────────────────────────────────────────
   13) YÜKLEME / ÖNİZLEME kutuları
   ─────────────────────────────────────────────────────────────────────────── */
.upload-container { position: relative; }

.upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: var(--space-3);
}

.upload-preview-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-surface-2);
    aspect-ratio: 1 / 1;
}

.upload-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-display {
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    background: var(--bg-surface-2);
}

.payment-card-preview {
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    background: var(--brand-navy);
    color: #fff;
    box-shadow: var(--shadow-md);
}

/* ───────────────────────────────────────────────────────────────────────────
   14) ONAY DİYALOĞU iptal butonu (ConfirmDialog.razor)
   .swal-btn tanımlıydı ama .cancel varyantı yoktu → iptal butonu onay
   butonuyla aynı görünüyordu.
   ─────────────────────────────────────────────────────────────────────────── */
.swal-btn.cancel {
    background: var(--bg-surface-2);
    color: var(--text-body);
    border: 1px solid var(--border);
}

.swal-btn.cancel:hover {
    background: var(--bg-surface-3);
    color: var(--text-heading);
}

/* ───────────────────────────────────────────────────────────────────────────
   15) DÜZEN / YARDIMCI sınıflar (markup'ta kullanılıp tanımsız kalanlar)
   ─────────────────────────────────────────────────────────────────────────── */
.legal-document {
    line-height: var(--leading-relaxed);
    color: var(--text-body);
}

.legal-document h2,
.legal-document h3 {
    font-family: var(--font-display);
    color: var(--text-heading);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
}

.admin-footer,
.seller-footer {
    padding: var(--space-4) 0;
    border-top: 1px solid var(--border);
    color: var(--text-subtle);
    font-size: var(--text-sm);
}

.notification-wrapper { position: relative; }

.sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: var(--space-3) 0;
    border: none;
}

.premium-link { color: var(--accent) !important; }

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-body);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.theme-toggle:hover {
    background: var(--bg-surface-2);
    color: var(--text-heading);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: var(--text-2xl);
}

/* Küçük yardımcılar */
.cursor-pointer      { cursor: pointer; }
.transition-all      { transition: all var(--duration-normal) var(--ease-out); }
.white-space-normal  { white-space: normal !important; }
.ws-pre-wrap         { white-space: pre-wrap; }
.ws-pre-line, .cms-content { white-space: pre-line; word-break: break-word; line-height: 1.85; }
.cms-content p { margin-bottom: 1.25rem; }
.cms-content h2, .cms-content h3, .cms-content h4 { color: var(--text-heading); font-weight: 700; margin-top: 1.75rem; margin-bottom: 0.75rem; }
.z-index-1           { z-index: 1; }
.fallback-hidden     { display: none; }
.tracking-tight      { letter-spacing: var(--tracking-tight); }
.tracking-wider      { letter-spacing: var(--tracking-wider); }
.tracking-widest     { letter-spacing: 0.14em; }

/* WCAG: görsel olarak gizli ama ekran okuyucuya açık */
.wcag-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ───────────────────────────────────────────────────────────────────────────
   16) İKİNCİ TUR — kalan gerçek eksikler
   (.badge-status varyantları, navbar avatarları, sayfa sarmalayıcıları ve
    yalnızca BAŞKA bir sayfanın <style> bloğunda tanımlı olduğu için o sayfa
    render edilmediğinde kaybolan "kırılgan" sınıflar globale taşındı.)
   ─────────────────────────────────────────────────────────────────────────── */

/* .badge-status tanımlıydı; renk varyantları değildi → rozetler renksiz çıkıyordu. */
.status-active {
    background: var(--success-soft);
    color: var(--success);
}

.status-info {
    background: var(--info-soft);
    color: var(--info);
}

.status-neutral {
    background: var(--bg-surface-3);
    color: var(--text-subtle);
}

/* Navbar kullanıcı avatarları (Shared/MainLayout.razor) */
.profile-avatar-small,
.profile-avatar-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    color: var(--text-on-accent);
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-avatar-small {
    width: 34px;
    height: 34px;
    font-size: var(--text-sm);
}

.profile-avatar-large {
    width: 52px;
    height: 52px;
    font-size: var(--text-lg);
}

.profile-avatar-small img,
.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* İhale detay sayfası sarmalayıcıları */
.auction-detail-container { position: relative; }

.auction-detail-info { background: var(--bg-surface); }

/* Admin anasayfa bekleyen-onay kartı */
.pending-card {
    background: var(--bg-surface);
    border: 1px solid var(--warning-soft);
    border-inline-start: 3px solid var(--warning);
    border-radius: var(--radius-md);
}

.pending-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
    font-weight: 600;
    color: var(--text-heading);
}

/* Kırılgan bağımlılıklar: yalnızca Deposit* / Iletisim sayfalarının kendi
   <style> bloklarında tanımlıydılar; aynı sınıfı kullanan diğer sayfalarda
   (CompletedAuctions, Index) hiçbir stil uygulanmıyordu. */
.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: var(--text-sm);
}

.info-row:last-child { border-bottom: none; }

.custom-hover-card {
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}

.custom-hover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ───────────────────────────────────────────────────────────────────────────
   17) ÜÇÜNCÜ TUR — FE-CSS-002 · İki gerçek kırık bileşen
   ─────────────────────────────────────────────────────────────────────────── */

/* (a) ONAY DİYALOĞU (Shared/Components/ConfirmDialog.razor)
   DÜZELTME NOTU: 14. bölümdeki "swal-btn tanımlıydı" ifadesi HATALIYDI.
   Doğrulandı: .swal-overlay / .swal-modal / .swal-icon / .swal-title /
   .swal-text / .swal-buttons / .swal-btn hiçbir CSS dosyasında ve hiçbir
   razor <style> bloğunda tanımlı DEĞİL (ConfirmDialog.razor'un <style> bloğu
   hiç yok). Sonuç: her onay diyaloğu overlay'siz, ortalanmamış, kutusuz —
   sayfanın içine düz metin gibi akıyordu. Uygulamanın her yerinde görünen
   bir hata. Aşağıdaki kurallar bileşenin gerçek markup'ına birebir uyar. */
.swal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;                      /* Bootstrap modal (1055) üstünde */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    animation: swal-fade var(--duration-fast) var(--ease-out);
}

.swal-modal {
    width: 100%;
    max-width: 420px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-8) var(--space-6) var(--space-6);
    text-align: center;
    animation: swal-pop var(--duration-normal) var(--ease-spring);
}

.swal-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    line-height: 1;
}

.swal-icon.success { background: var(--success-soft); color: var(--success); }
.swal-icon.danger  { background: var(--danger-soft);  color: var(--danger);  }
.swal-icon.info    { background: var(--info-soft);    color: var(--info);    }
.swal-icon.warning { background: var(--warning-soft); color: var(--warning); }

.swal-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: var(--space-2);
}

.swal-text {
    color: var(--text-body);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-6);
}

.swal-buttons {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

.swal-btn {
    min-width: 118px;
    padding: 0.6rem 1.4rem;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.swal-btn:disabled { opacity: 0.65; cursor: not-allowed; }

.swal-btn.confirm { background: var(--accent);  color: var(--text-on-accent); }
.swal-btn.success { background: var(--success); color: #fff; }
.swal-btn.danger  { background: var(--danger);  color: #fff; }
.swal-btn.confirm:hover:not(:disabled) { background: var(--accent-hover); }
.swal-btn.success:hover:not(:disabled),
.swal-btn.danger:hover:not(:disabled)  { filter: brightness(1.08); }

@keyframes swal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes swal-pop {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* (b) ROL SIDEBAR TEMALARI
   .premium-sidebar dashboard.css'te tanımlı, ancak ona eşlik eden rol
   varyantları (trader/buyer/auditor/support-theme) hiçbir yerde yoktu →
   dört rolün sidebar'ı birbirinin aynısı görünüyordu. Her rol kendi vurgu
   rengiyle ayrışsın; sadece vurgu değişir, yapı aynı kalır. */
.premium-sidebar.trader-theme  { --sidebar-accent: var(--accent); }
.premium-sidebar.buyer-theme   { --sidebar-accent: var(--info); }
.premium-sidebar.auditor-theme { --sidebar-accent: var(--success); }
.premium-sidebar.support-theme { --sidebar-accent: var(--support-accent); }

.premium-sidebar[class*="-theme"] {
    border-inline-start: 3px solid var(--sidebar-accent, var(--accent));
}

.premium-sidebar[class*="-theme"] .nav-link.active,
.premium-sidebar[class*="-theme"] .sidebar-link.active {
    background: color-mix(in srgb, var(--sidebar-accent, var(--accent)) 14%, transparent);
    color: var(--sidebar-accent, var(--accent));
}

.premium-sidebar[class*="-theme"] .sidebar-brand i,
.premium-sidebar[class*="-theme"] .sidebar-role-badge {
    color: var(--sidebar-accent, var(--accent));
}

/* ───────────────────────────────────────────────────────────────────────────
   18) QR-BRAND-001 · Firma QR kodu (Shared/Components/FirmaQrKod.razor)
   QR görseli her zaman BEYAZ zeminde durur — karanlık temada da kontrast
   bozulmasın, telefon kamerası okuyabilsin.
   ─────────────────────────────────────────────────────────────────────────── */
.sac-qr-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
}

.sac-qr-canvas-wrap {
    display: inline-block;
    position: relative;   /* CIRCUIT-CRASH-002: spinner artık kardeş — üzerine bindirmek için */
    padding: var(--space-2);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: #ffffff;              /* tema ne olursa olsun beyaz */
    box-shadow: var(--shadow-sm);
    line-height: 0;
}

.sac-qr-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 180px;
}

.sac-qr-img {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: var(--radius-md);
}

.sac-qr-placeholder {
    /* CIRCUIT-CRASH-002: artık .sac-qr-container'ın KARDEŞİ (çocuğu değil) —
       JS o konteynerin içeriğini serbestçe yönetebilsin diye Blazor'ın
       render ağacından tamamen çıkarıldı. Konumlandırma burada telafi
       ediliyor: konteynerin üzerine bindirilip aynı görsel sonucu veriyor. */
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-disabled);
    font-size: var(--text-2xl);
    line-height: 1;
    pointer-events: none;
}

.sac-qr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.sac-qr-help {
    font-size: var(--text-xs);
    color: var(--text-subtle);
    margin: 0;
    max-width: 46ch;
    line-height: var(--leading-normal);
}

@media print {
    .sac-qr-actions,
    .sac-qr-help { display: none; }
}

/* QR-BRAND-001 · Public profildeki QR paneli (Pages/PublicProfile.razor) */
.profile-qr-panel {
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border-subtle);
    animation: qr-panel-in var(--duration-normal) var(--ease-out);
}

@keyframes qr-panel-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   19) v70 — KURUMSAL B2B RENK ROLLERİ
   ───────────────────────────────────────────────────────────────────────────
   ROL AYRIMI (bu bölümün varlık sebebi):
   Eski temada `--primary` doğrudan `--accent`'e (altın) bağlıydı. Yani birincil
   aksiyon rengi ile "öne çıkan/premium" etiketi AYNI renkti. Kullanıcı bir altın
   öğe gördüğünde bunun "tıkla" mı yoksa "bu ilan öne çıkarılmış" mı demek
   olduğunu ayırt edemiyordu. v70'te ayrıldılar:

     primary (lacivert) = AKSİYON        — buton, link, nav
     accent  (altın)    = ÖNE ÇIKAN      — yalnızca rozet/etiket, asla CTA

   ERİŞİLEBİLİRLİK (WCAG 2.1):
   · Altın zemin üzerine BEYAZ metin AA'yı geçmez (3.78:1). Bu yüzden accent
     rozetleri koyu metinle (accent-dark) eşlenir, beyazla değil.
   · Her rozet, aynı ailenin *-light zemini + *-dark metni ile kurulur;
     tinted zemine düz siyah/gri metin konmaz.
   · Renk tek sinyal değildir: her rozet metin etiketiyle birlikte gelir.
     Yalnızca renge veya ikona dayalı durum göstergesi YAPILMAZ — bu tonların
     bir kısmı renk körü kullanıcılar için birbirine yeterince yakın.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Birincil aksiyon ─────────────────────────────────────────────────── */
.btn-primary,
.btn.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-on-primary);
}

.btn-primary:hover,
.btn.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--text-on-primary);
}

.btn-primary:active,
.btn.btn-primary:active { background-color: var(--primary-active); }

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary-border);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-on-primary);
}

a:not(.btn):not(.nav-link):not(.sidebar-link) { color: var(--primary); }
a:not(.btn):not(.nav-link):not(.sidebar-link):hover { color: var(--primary-hover); }

/* ── İhale durum rozetleri ────────────────────────────────────────────────
   Her durum kendi renk ailesini kullanır; hiçbir aile iki durumu paylaşmaz.
   Metin etiketi ZORUNLUDUR (renk tek sinyal olamaz). */
.tender-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.tender-badge--draft     { background: var(--bg-surface-3);            color: var(--text-body); }
.tender-badge--open      { background: rgb(var(--color-primary-100));  color: rgb(var(--color-primary-800)); }
.tender-badge--closing   { background: rgb(var(--color-warning-light));color: rgb(var(--color-warning-dark)); }
.tender-badge--pending   { background: rgb(var(--color-pending-light));color: rgb(var(--color-pending-dark)); }
.tender-badge--awarded   { background: rgb(var(--color-success-light));color: rgb(var(--color-success-dark)); }
.tender-badge--rejected  { background: rgb(var(--color-danger-light)); color: rgb(var(--color-danger-dark)); }

/* Öne çıkan/premium — CTA DEĞİL, yalnızca etiket.
   Altın üstüne beyaz metin AA'yı geçmediği için koyu altın metin kullanılır. */
.tender-badge--featured  { background: rgb(var(--color-accent-light)); color: rgb(var(--color-accent-dark)); }

.tender-featured-label {
    color: rgb(var(--color-accent-dark));
    font-weight: 700;
    font-size: var(--text-xs);
    letter-spacing: 0.02em;
}

/* Koyu temada tinted zeminler ışık saçmasın; ton korunur, parlaklık düşer. */
[data-theme="dark"] .tender-badge--open     { background: rgb(var(--color-primary-600) / 0.28);  color: rgb(var(--color-primary-200)); }
[data-theme="dark"] .tender-badge--closing  { background: rgba(239, 129, 64, 0.20);              color: #f5a878; }
[data-theme="dark"] .tender-badge--pending  { background: rgba(155, 134, 232, 0.20);             color: #c3b6f2; }
[data-theme="dark"] .tender-badge--awarded  { background: rgba(52, 201, 138, 0.18);              color: #7fdcb4; }
[data-theme="dark"] .tender-badge--rejected { background: rgba(239, 106, 98, 0.18);              color: #f4a09b; }
[data-theme="dark"] .tender-badge--featured { background: rgba(240, 180, 41, 0.18);              color: #f0c46a; }

/* ── İkincil metin okunabilirliği ─────────────────────────────────────────
   neutral-500 beyaz üzerinde AA'yı yalnızca büyük metin/ikon/kenarlık için
   geçer (4.25:1). Okunması gereken yardımcı metin neutral-600 (6.60:1) olmalı. */
.text-secondary-readable { color: rgb(var(--color-neutral-600)); }

/* ═══════════════════════════════════════════════════════════════════════════
   20) WALL-001 — KURUMSAL GÜVEN KARTI (Kapalı Bahçe)
   ───────────────────────────────────────────────────────────────────────────
   Tasarım ilkesi: firmanın DIŞARIDAKİ kimliği değil, PLATFORMDAKİ gücü
   gösterilir. Sakin, veri odaklı, süssüz — B2B alıcısı rozete değil rakama
   bakar. Renk yalnızca anlam taşıdığı yerde kullanılır.
   ═══════════════════════════════════════════════════════════════════════════ */

.trust-card {
    margin: var(--space-5) 0;
    padding: var(--space-5);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

/* ── Rozetler ─────────────────────────────────────────────────────────── */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

/* Her rozet kendi ailesinin light zemini + dark metni ile — tinted zemine
   düz gri/siyah konmaz. Metin etiketi her zaman var: renk tek sinyal değil. */
.trust-badge--verified { background: rgb(var(--color-success-light)); color: rgb(var(--color-success-dark)); }
.trust-badge--payout   { background: rgb(var(--color-primary-100));   color: rgb(var(--color-primary-800)); }
.trust-badge--tier     { background: rgb(var(--color-accent-light));  color: rgb(var(--color-accent-dark)); }
.trust-badge--tenure   { background: var(--bg-surface-2);             color: var(--text-body); }

[data-theme="dark"] .trust-badge--verified { background: rgba(52,201,138,.16);  color: #7fdcb4; }
[data-theme="dark"] .trust-badge--payout   { background: rgb(var(--color-primary-600) / .28); color: rgb(var(--color-primary-200)); }
[data-theme="dark"] .trust-badge--tier     { background: rgba(240,180,41,.16);  color: #f0c46a; }
[data-theme="dark"] .trust-badge--tenure   { background: var(--bg-surface-2);   color: var(--text-body); }

/* ── Metrikler ────────────────────────────────────────────────────────────
   Sabit sütun yerine auto-fit: 3 metrikte de 4 metrikte de dengeli durur. */
.trust-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-4);
}

.trust-metric {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-surface-2);
    border-radius: var(--radius-md);
}

.trust-metric__value {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-heading);
    font-variant-numeric: tabular-nums;   /* rakamlar hizalı kalsın */
}

.trust-metric__label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-body);
}

/* Yardımcı satır neutral-600 — AA geçer (6.60:1). neutral-500 bu boyutta yetersizdi. */
.trust-metric__sub {
    font-size: var(--text-xs);
    color: var(--text-subtle);
}

/* Başlık metriği (teslimat başarısı) vurgulanır ama BAĞIRMAZ:
   ince bir sol şerit, dolu renkli zemin değil. */
.trust-metric--headline {
    border-inline-start: 3px solid var(--success);
    background: rgb(var(--color-success-light) / 0.55);
}
.trust-metric--headline .trust-metric__value { color: rgb(var(--color-success-dark)); }

[data-theme="dark"] .trust-metric--headline {
    background: rgba(52,201,138,.10);
    border-inline-start-color: var(--success);
}
[data-theme="dark"] .trust-metric--headline .trust-metric__value { color: #7fdcb4; }

/* Geçmişi olmayan satıcı: ceza gibi görünmemeli — nötr ve davetkâr. */
.trust-metric--new { border-inline-start: 3px solid var(--border-strong); }
.trust-metric--new .trust-metric__value { font-size: var(--text-xl); color: var(--text-subtle); }

/* ── Kapalı bahçe notu ────────────────────────────────────────────────── */
.trust-note {
    margin: var(--space-4) 0 0;
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-subtle);
    font-size: var(--text-xs);
    color: var(--text-subtle);
    line-height: var(--leading-normal);
}
.trust-note i { color: var(--primary); margin-inline-end: 0.35rem; }

@media (max-width: 575.98px) {
    .trust-card { padding: var(--space-4); }
    .trust-metrics { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: var(--space-3); }
}

/* WALL-003: sektör rozeti + canlılık göstergesi */
.trust-badge--sector { background: rgb(var(--color-neutral-100)); color: rgb(var(--color-neutral-700)); }
[data-theme="dark"] .trust-badge--sector { background: var(--bg-surface-3); color: var(--text-body); }

.trust-badge__share {
    margin-inline-start: 0.3rem;
    padding: 0.05rem 0.35rem;
    border-radius: var(--radius-full);
    background: rgb(var(--color-neutral-0) / 0.7);
    font-size: 0.68rem;
    font-weight: 700;
}
[data-theme="dark"] .trust-badge__share { background: rgb(0 0 0 / 0.3); }

.trust-activity {
    margin: var(--space-4) 0 0;
    font-size: var(--text-xs);
    color: var(--text-subtle);
}
/* Renk tek sinyal DEĞİL — metin zaten "3 gün önce" diyor, nokta destekliyor. */
.trust-activity .activity-dot--fresh { color: var(--success); }
.trust-activity .activity-dot--warm  { color: var(--warning); }
.trust-activity .activity-dot--cold  { color: var(--text-disabled); }
.trust-activity i { font-size: 0.5rem; margin-inline-end: 0.4rem; vertical-align: middle; }

/* WALL-004: canlılık satırı — açık ihale + son işlem yan yana */
.trust-activity__live { font-weight: 600; color: var(--text-body); }
.trust-activity__sep  { margin: 0 0.4rem; opacity: 0.5; }

/* ═══════════════════════════════════════════════════════════════════════
   HOME-STATS-001 / HOME-CATS-001 / HOME-HOWITWORKS-001
   Anasayfa genişletmesi — mevcut token sistemi (tokens.css) kullanılıyor,
   yeni renk/font TANIMLANMADI. "Refined Industrial Luxury" diline sadık:
   Fraunces başlık, amber vurgu YALNIZCA rakamlarda (CTA değil, "öne çıkan
   bilgi" rolünde — tokens.css'teki rol ayrımına uygun).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── İstatistik Şeridi ────────────────────────────────────────────────── */
.home-stats-strip {
    background: var(--bg-surface-2);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-8) 0;
}
.home-stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-10) var(--space-16);
    text-align: center;
}
.home-stat-value {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--accent);
    line-height: var(--leading-tight);
}
.home-stat-label {
    font-size: var(--text-sm);
    color: var(--text-subtle);
    margin-top: var(--space-1);
}

/* ── Kategori Hızlı Erişim ────────────────────────────────────────────── */
.home-cats-section { padding: var(--space-16) 0; }
.home-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--space-4);
}
.home-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-6) var(--space-3);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    text-decoration: none;
    color: var(--text-heading);
    transition: border-color .15s ease, transform .15s ease;
}
.home-cat-card:hover {
    border-color: var(--primary-border);
    transform: translateY(-2px);
    color: var(--text-heading);
}
.home-cat-icon { font-size: var(--text-3xl); line-height: 1; }
.home-cat-name { font-size: var(--text-sm); font-weight: 600; }

/* ── Nasıl Çalışır ────────────────────────────────────────────────────── */
.home-how-section { padding: var(--space-20) 0; }
.home-how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-10);
}
.home-how-step { text-align: center; padding: 0 var(--space-4); }
.home-how-number {
    width: 44px; height: 44px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-full);
    background: var(--primary-soft);
    border: 1px solid var(--primary-border);
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-xl);
    display: flex; align-items: center; justify-content: center;
}
.home-how-step h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}
.home-how-step p {
    color: var(--text-subtle);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    max-width: 32ch;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .home-stats-row { gap: var(--space-8); }
    .home-stat-value { font-size: var(--text-3xl); }
}

/* ═══ CLOCK-STYLE-001 — üst çubuktaki İstanbul saati ═══════════════════════
   Önceki hâl: yalın Bootstrap sınıfları + satır içi font-size, kendi stili
   yoktu. İki somut sorun vardı:
   1) Rakamlar orantılı genişlikteydi — saniye her değiştiğinde metnin eni
      değişiyor, saatin yanındaki her şey minik bir sıçrama yapıyordu.
      `font-variant-numeric: tabular-nums` bunu tamamen bitirir.
   2) Yanındaki TRY/TR düğmeleri "çip" görünümündeyken saat çıplak
      duruyordu — aynı dile getirildi.                                      */
.istanbul-clock {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    background: var(--bg-surface-2);
    color: var(--text-subtle);
    line-height: 1;
    white-space: nowrap;
}
.istanbul-clock i {
    font-size: var(--text-sm);
    opacity: 0.75;
}
.istanbul-clock__time {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-body);
    /* Sabit genişlikli rakamlar — saniye ilerlerken başlık titremez. */
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}
/* Dar ekranda saat, panel/profil düğmelerinin yerini daraltmasın. */
@media (max-width: 991px) {
    .istanbul-clock { display: none; }
}

/* ═══ HEADER-OVERFLOW-001 — dar ekranda panel/profil kaybolması ═══════════
   BELİRTİ: Pencere daraltıldığında "Firma Paneli" düğmesi ve profil
   bölümü kayboluyordu.
   GERÇEK SEBEP: Öğeler CSS ile GİZLENMİYOR — üst çubuk o genişlikte
   TAŞIYOR. Navbar `navbar-expand-xl` olduğundan 1200px'in ÜSTÜNDE menü
   bağlantıları satır içi duruyor; yanına saat + tema + para birimi + dil
   + panel + profil eklenince toplam genişlik kabı aşıyor ve sondaki
   öğeler görünür alanın dışına itiliyor. Gizlenmiş gibi görünmelerinin
   sebebi bu — bu yüzden "d-none" aramak sonuç vermiyordu.
   ÇÖZÜM: Sağdaki eylem grubu asla küçülmesin (flex-shrink: 0), orta
   menü ise gerektiğinde daralsın. Böylece taşma orta menüde soğurulur,
   panel ve profil HER ZAMAN görünür kalır. */
#mainNav .navbar-nav {
    min-width: 0;          /* flex öğesinin içeriğinden küçülebilmesi için şart */
}
#mainNav .navbar-nav .nav-link {
    white-space: nowrap;
}
#mainNav > .container-fluid > .d-flex:last-child,
#mainNav .navbar-actions {
    flex-shrink: 0;
}
@media (min-width: 1200px) and (max-width: 1450px) {
    /* Bu aralıkta menü satır içi duruyor ama yer dar — menüyü sıkıştır,
       eylem düğmelerine dokunma. */
    #mainNav .navbar-nav .nav-link {
        padding-inline: 0.45rem;
        font-size: 0.925rem;
    }
}

/* ═══ HOME-STATS-002 / HOME-CATS-002 — yeni anasayfa öğeleri ══════════════ */

/* Aciliyet vurgusu: "24 saatte kapanıyor" sayısı diğerlerinden ayrışmalı —
   ziyaretçinin gözü önce oraya gitsin diye. Kırmızı DEĞİL amber kullanıldı;
   kırmızı bu arayüzde hata/iptal rengi, burada hata yok, aciliyet var. */
.home-stat--urgent .home-stat-value {
    color: var(--warning, #f0a500);
}
.home-stat--urgent .home-stat-label {
    color: var(--warning, #f0a500);
    opacity: 0.85;
}

/* Kategori kartı üstünde aktif ihale sayısı rozeti — kartın "boş mu dolu mu"
   olduğunu tıklamadan gösterir. */
.home-cat-card { position: relative; }
.home-cat-badge {
    position: absolute;
    top: 0.45rem;
    inset-inline-end: 0.45rem;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--primary-soft);
    border: 1px solid var(--primary-border);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.home-cats-all {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}
.home-cats-all:hover { text-decoration: underline; }

/* CLAIMS-001: güven bandındaki öğe sayısı 3–5 arası değişir; sabit 4 sütun beşinci öğeyi tek başına alt satıra düşürüyordu. */
.trust-grid.trust-grid--auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.5rem; }
a.trust-item { color: inherit; }
a.trust-item:hover h6, a.trust-item:focus-visible h6 { text-decoration: underline; }

/* TESTIMONIAL-001: firma yorumları */
.testimonial-card .verified-trade { font-size: .75rem; }
.testimonial-card blockquote { margin: 0; }

/* COOKIE-CONSENT-001: Detaylı çerez yönetimi — banner ve tercihler modalı */
.cookie-consent {
  position: fixed; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; z-index: 1080;
  max-width: 860px; margin: 0 auto;
  display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 1.1rem 1.4rem; border-radius: 1rem;
  background: rgba(15, 23, 42, 0.96); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45); font-size: 0.88rem;
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent__content { flex: 1 1 360px; }
.cookie-consent__title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; color: #fff; display: flex; align-items: center; }
.cookie-consent__text { line-height: 1.5; color: #cbd5e1; font-size: 0.84rem; }
.cookie-consent a { color: #fbbf24; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent a:hover { color: #f59e0b; }
.cookie-consent__actions { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.cookie-consent__btn {
  padding: 0.48rem 0.95rem; border-radius: 999px; font-weight: 600; font-size: 0.82rem;
  cursor: pointer; transition: all 0.18s ease; display: inline-flex; align-items: center; justify-content: center;
}
.cookie-consent__btn--link {
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); color: #cbd5e1;
}
.cookie-consent__btn--link:hover {
  background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.4);
}
.cookie-consent__btn--secondary {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff;
}
.cookie-consent__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.16); color: #fff;
}
.cookie-consent__btn--primary {
  background: #f59e0b; border: 1px solid #f59e0b; color: #0f172a; font-weight: 700;
}
.cookie-consent__btn--primary:hover {
  background: #d97706; border-color: #d97706; color: #fff;
}

/* Çerez Tercihleri Modalı */
.cookie-modal-backdrop {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(4px);
  z-index: 1089;
}
.cookie-modal-backdrop[hidden] { display: none !important; }
.cookie-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 2rem); max-width: 680px; max-height: 88vh;
  background: #0f172a; border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.25rem; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  z-index: 1090; display: flex; flex-direction: column; overflow: hidden;
  color: #e2e8f0; animation: cookieModalFadeIn 0.2s ease-out;
}
.cookie-modal[hidden] { display: none !important; }
@keyframes cookieModalFadeIn {
  from { opacity: 0; transform: translate(-50%, -47%) scale(0.97); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal__header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; align-items: center;
}
.cookie-modal__heading { margin: 0; font-size: 1.15rem; font-weight: 700; color: #fff; display: flex; align-items: center; }
.cookie-modal__close {
  background: transparent; border: none; font-size: 1.6rem; color: #94a3b8;
  cursor: pointer; line-height: 1; padding: 0 0.25rem; transition: color 0.15s ease;
}
.cookie-modal__close:hover { color: #fff; }
.cookie-modal__body {
  padding: 1.25rem 1.5rem; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 1rem;
}
.cookie-modal__desc { font-size: 0.88rem; color: #94a3b8; line-height: 1.55; margin-bottom: 0.5rem; }
.cookie-category-item {
  background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem; padding: 1rem 1.15rem; transition: border-color 0.15s ease;
}
.cookie-category-item:hover { border-color: rgba(255, 255, 255, 0.18); }
.cookie-category-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; gap: 1rem;
}
.cookie-category-title-wrap { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.cookie-category-title { font-weight: 600; font-size: 0.95rem; color: #f8fafc; }
.cookie-category-desc { font-size: 0.82rem; color: #94a3b8; line-height: 1.5; margin: 0; }
.cookie-category-desc code { color: #fbbf24; background: rgba(0, 0, 0, 0.25); padding: 0.1rem 0.35rem; border-radius: 4px; }
.cookie-modal__policy-note {
  font-size: 0.82rem; color: #64748b; margin-top: 0.5rem; text-align: center;
}
.cookie-modal__policy-note a { color: #fbbf24; text-decoration: underline; }
.cookie-modal__footer {
  padding: 1.1rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem;
  background: rgba(15, 23, 42, 0.95);
}

@media (max-width: 640px) {
  .cookie-consent { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 1rem; }
  .cookie-consent__actions { width: 100%; }
  .cookie-consent__btn { flex: 1 1 calc(50% - 0.25rem); }
  .cookie-consent__btn--link { flex-basis: 100%; }
  .cookie-modal { width: calc(100% - 1rem); max-height: 94vh; }
  .cookie-modal__footer { flex-direction: column; }
  .cookie-modal__footer > button, .cookie-modal__footer > div { width: 100%; }
  .cookie-modal__footer > div { display: flex; gap: 0.5rem; }
  .cookie-modal__footer > div > button { flex: 1; }
}

/* BLAZOR-UI-TR-002: Türkçe yeniden bağlanma penceresi */
.reconnect-modal { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .45); align-items: center; justify-content: center; }
.reconnect-modal.components-reconnect-show, .reconnect-modal.components-reconnect-failed, .reconnect-modal.components-reconnect-rejected { display: flex; }
.reconnect-modal__box { background: #111827; color: #f3f4f6; padding: 1rem 1.25rem; border-radius: .75rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); max-width: 90vw; }
.reconnect-modal__show, .reconnect-modal__failed, .reconnect-modal__rejected { display: none; }
.components-reconnect-show .reconnect-modal__show, .components-reconnect-failed .reconnect-modal__failed, .components-reconnect-rejected .reconnect-modal__rejected { display: block; }
