/* ==========================================================================
   KOLAY BOYKOT - BARKOD TARAYICI (2026 WEB & MOBİL ENTEGRASYONU)
   ========================================================================== */

:root {
    --kb-barcode-primary: #00704a;
    --kb-barcode-primary-dark: #005638;
    --kb-barcode-primary-light: #e6f4ef;
    --kb-barcode-danger: #dc2626;
    --kb-barcode-danger-bg: #fef2f2;
    --kb-barcode-danger-border: #fecaca;
    --kb-barcode-warning: #ea580c;
    --kb-barcode-warning-bg: #fff7ed;
    --kb-barcode-warning-border: #fed7aa;
    --kb-barcode-success: #16a34a;
    --kb-barcode-success-bg: #f0fdf4;
    --kb-barcode-success-border: #bbf7d0;
    --kb-barcode-neutral: #475569;
    --kb-barcode-neutral-bg: #f8fafc;
    --kb-barcode-neutral-border: #e2e8f0;
}

/* 1. MOBİL ALT TOOLBAR YÜKSELTİLMİŞ BARKOD BUTONU (Flutter Benzeri) */
.tf-toolbar-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 4px 8px;
}

.tf-toolbar-bottom .toolbar-item {
    flex: 1;
    text-align: center;
}

.tf-toolbar-bottom .toolbar-item-barcode {
    position: relative;
    top: -14px;
    z-index: 1000;
}

.tf-toolbar-bottom .toolbar-item-barcode a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.tf-toolbar-bottom .toolbar-icon-barcode {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00875a 0%, #005638 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 112, 74, 0.38), 0 0 0 4px #ffffff;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.tf-toolbar-bottom .toolbar-item-barcode:active .toolbar-icon-barcode,
.tf-toolbar-bottom .toolbar-item-barcode:hover .toolbar-icon-barcode {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 112, 74, 0.48), 0 0 0 4px #ffffff;
}

.tf-toolbar-bottom .toolbar-icon-barcode svg {
    width: 28px;
    height: 28px;
    stroke: #ffffff;
}

.tf-toolbar-bottom .toolbar-item-barcode .toolbar-label {
    font-size: 11px;
    font-weight: 700;
    color: #00704a;
    margin-top: 2px;
}

/* 2. HEADER, HERO & SEARCH BAR BARKOD ENTEGRASYONLARI */

/* Navbar İkon Öğesi */
#header .nav-icon .nav-barcode-link {
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.15s ease;
}

#header .nav-icon .nav-barcode-link:hover {
    color: var(--primary, #00704a);
    transform: translateY(-1px);
}

#header .nav-icon .nav-barcode-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    display: block;
}

/* Masaüstü Header Arama Çubuğu İçi Barkod Butonu */
.tf-form-search .search-box input {
    padding-right: 125px !important;
}

.header-search__barcode-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 92px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    z-index: 2;
}

.header-search__barcode-btn:hover {
    color: #16a34a;
    background: #f0fdf4;
    border-color: #86efac;
    transform: translateY(-50%) scale(1.08);
}

.header-search__barcode-btn svg {
    width: 17px;
    height: 17px;
}

/* Ana Sayfa Hero Arama Çubuğu İçi Buton */
.home-hero__barcode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-right: 8px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.home-hero__barcode-btn:hover {
    color: #16a34a;
    background: #f0fdf4;
    border-color: #86efac;
    transform: scale(1.06);
}

.home-hero__barcode-btn svg {
    width: 20px;
    height: 20px;
}

/* Mobil Drawer Arama Çubuğu İçi Buton */
.tf-mini-search-frm input {
    padding-right: 48px !important;
}

.canvas-search__barcode-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    z-index: 2;
}

.canvas-search__barcode-btn:hover {
    color: #16a34a;
    background: #f0fdf4;
    border-color: #86efac;
}

.canvas-search__barcode-btn svg {
    width: 18px;
    height: 18px;
}

/* Mobil Search Drawer Hızlı Aksiyon Kartı */
.mobile-search-barcode-box {
    padding: 12px 16px 8px;
}

.mobile-search-barcode-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.mobile-search-barcode-link:hover {
    background: #f0fdf4;
    border-color: #86efac;
    transform: translateY(-1px);
}

.mobile-search-barcode-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    flex-shrink: 0;
}

.mobile-search-barcode-icon svg {
    width: 20px;
    height: 20px;
}

.mobile-search-barcode-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mobile-search-barcode-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.mobile-search-barcode-text span {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.3;
}

.mobile-search-barcode-arrow {
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.mobile-search-barcode-link:hover .mobile-search-barcode-arrow {
    color: #16a34a;
    transform: translateX(2px);
}

/* 3. BARKOD SAYFASI VE MODAL KAPLAYICI YAPISI */
.kb-barcode-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

.kb-barcode-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    position: relative;
}

.kb-barcode-header {
    background: linear-gradient(135deg, #00704a 0%, #004d33 100%);
    color: #ffffff;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kb-barcode-header__title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kb-barcode-header__title svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}

.kb-barcode-header__subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin: 4px 0 0;
}

.kb-barcode-close-btn {
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.kb-barcode-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 4. KAMERA ALANI & LAZER VİZYÖRÜ */
.kb-scanner-viewport {
    position: relative;
    background: #090d16;
    min-height: 320px;
    height: 360px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb-scanner-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #090d16;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    z-index: 4;
}

#barcode-page-reader,
#barcode-modal-reader {
    width: 100% !important;
    height: 100% !important;
    min-height: 320px;
    border: none !important;
    position: relative;
    background: transparent !important;
}

#barcode-page-reader video,
#barcode-modal-reader video {
    width: 100% !important;
    height: 100% !important;
    min-height: 320px !important;
    object-fit: cover !important;
    border-radius: 0;
    display: block !important;
}

#barcode-page-reader canvas,
#barcode-modal-reader canvas {
    max-width: 100% !important;
    max-height: 100% !important;
}

/* Özel Lazer Hedef Çerçevesi (Viewfinder Overlay) */
.kb-scanner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 200px;
    border-radius: 18px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    z-index: 10;
}

/* Tap-to-Focus halkası */
.kb-focus-ring {
    position: absolute;
    width: 64px;
    height: 64px;
    border: 2px solid #22c55e;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
    pointer-events: none;
    z-index: 25;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
    transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.22s ease;
}

.kb-focus-ring.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Köşe vizör çizgileri */
.kb-scanner-corner {
    position: absolute;
    width: 26px;
    height: 26px;
    border-color: #22c55e;
    border-style: solid;
    border-width: 0;
}

.kb-scanner-corner--tl {
    top: -2px;
    left: -2px;
    border-top-width: 4px;
    border-left-width: 4px;
    border-top-left-radius: 12px;
}

.kb-scanner-corner--tr {
    top: -2px;
    right: -2px;
    border-top-width: 4px;
    border-right-width: 4px;
    border-top-right-radius: 12px;
}

.kb-scanner-corner--bl {
    bottom: -2px;
    left: -2px;
    border-bottom-width: 4px;
    border-left-width: 4px;
    border-bottom-left-radius: 12px;
}

.kb-scanner-corner--br {
    bottom: -2px;
    right: -2px;
    border-bottom-width: 4px;
    border-right-width: 4px;
    border-bottom-right-radius: 12px;
}

/* Kırmızı/Yeşil animasyonlu lazer ışını */
.kb-scanner-laser {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 3px;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0) 0%, #22c55e 50%, rgba(34, 197, 94, 0) 100%);
    box-shadow: 0 0 12px 2px #22c55e;
    animation: kbLaserScan 2s ease-in-out infinite alternate;
}

@keyframes kbLaserScan {
    0% {
        top: 15px;
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: calc(100% - 18px);
        opacity: 0.8;
    }
}

.kb-scanner-hint {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 999px;
    z-index: 12;
    white-space: nowrap;
    pointer-events: none;
}

/* 5. KAMERA KONTROL ŞERİDİ */
.kb-camera-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.kb-control-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.kb-control-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.kb-control-btn.is-active {
    background: #00704a;
    border-color: #00704a;
    color: #ffffff;
}

.kb-control-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* 6. MANUEL BARKOD GİRİŞİ ALANI */
.kb-manual-input-box {
    padding: 18px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.kb-manual-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.kb-manual-input-wrap {
    flex: 1;
    position: relative;
}

.kb-manual-input {
    width: 100%;
    height: 48px;
    padding: 10px 14px 10px 42px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kb-manual-input:focus {
    border-color: #00704a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 112, 74, 0.12);
}

.kb-manual-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.kb-manual-submit-btn {
    height: 48px;
    padding: 0 20px;
    background: #00704a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.kb-manual-submit-btn:hover {
    background: #005638;
}

.kb-manual-submit-btn:active {
    transform: scale(0.98);
}

/* 7. SONUÇ EKRANI (Flutter DialogCard Eşdeğeri) */
.kb-result-card {
    padding: 24px 20px;
    background: #ffffff;
    border-radius: 20px;
    animation: kbFadeIn 0.3s ease-out;
}

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

.kb-result-badge-card {
    border-radius: 18px;
    padding: 20px 18px;
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Durum Renk Temaları */
/* Boykot / İsrail Destekli (ItemStatus == 3) */
.kb-result-status--danger {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

/* Şüpheli / Yabancı (ItemStatus == 2) */
.kb-result-status--warning {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

/* Yerli / Güvenli (ItemStatus == 1) */
.kb-result-status--success {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

/* Bilinmiyor / Liste Dışı (ItemStatus == 0) */
.kb-result-status--neutral {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
}

.kb-result-badge-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.kb-result-status-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kb-result-status-icon svg {
    width: 28px;
    height: 28px;
    stroke: #ffffff;
}

.kb-result-badge-info {
    flex: 1;
}

.kb-result-status-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px;
    line-height: 1.25;
    color: #ffffff;
}

.kb-result-barcode-number {
    display: inline-block;
    font-family: monospace;
    font-size: 13px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.kb-result-message-text {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

/* Detay Satırları */
.kb-result-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.kb-result-detail-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.kb-detail-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kb-detail-value {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kb-brand-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #00704a;
    background: #e6f4ef;
    padding: 4px 10px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.kb-brand-link-btn:hover {
    background: #00704a;
    color: #ffffff !important;
}

/* 8. YARDIMIN GEREK FORMU (Mobil Flutter Eşdeğeri) */
.kb-help-card {
    background: #f0fdf4;
    border: 1.5px dashed #86efac;
    border-radius: 16px;
    padding: 18px 16px;
    margin-bottom: 24px;
    text-align: center;
}

.kb-help-title {
    font-size: 16px;
    font-weight: 700;
    color: #166534;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.kb-help-desc {
    font-size: 13px;
    color: #15803d;
    margin: 0 0 14px;
}

.kb-help-form {
    display: flex;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
}

.kb-help-input {
    flex: 1;
    height: 42px;
    border: 1px solid #86efac;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 14px;
    background: #ffffff;
}

.kb-help-input:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.kb-help-submit {
    height: 42px;
    padding: 0 18px;
    background: #16a34a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.kb-help-submit:hover {
    background: #15803d;
}

/* 9. ALTERNATİF YERLİ MARKALAR GRİDİ */
.kb-alternatives-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.kb-alternatives-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.kb-alternatives-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kb-alternatives-count {
    background: #e6f4ef;
    color: #00704a;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

.kb-alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.kb-alt-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.kb-alt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 112, 74, 0.1);
    border-color: #86efac;
}

.kb-alt-logo-wrap {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.kb-alt-logo-wrap img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.kb-alt-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.kb-alt-slogan {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 30px;
}

.kb-alt-action-badge {
    font-size: 11px;
    font-weight: 700;
    color: #00704a;
    background: #e6f4ef;
    padding: 3px 10px;
    border-radius: 999px;
    margin-top: auto;
}

/* 10. İŞLEM BUTONLARI (Tekrar Tara & Paylaş) */
.kb-result-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.kb-btn-rescan {
    flex: 1;
    height: 48px;
    background: linear-gradient(135deg, #00875a 0%, #005638 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kb-btn-rescan:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 112, 74, 0.3);
}

.kb-btn-share {
    height: 48px;
    padding: 0 18px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s ease;
}

.kb-btn-share:hover {
    background: #e2e8f0;
}

/* 11. BARKOD REHBERİ BİLGİ KARTLARI */
.kb-barcode-info-section {
    margin-top: 32px;
    padding: 24px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
}

.kb-barcode-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.kb-barcode-info-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
}

.kb-barcode-info-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kb-barcode-info-item p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* 12. BOOTSTRAP MODAL ÖZELLEŞTİRMELERİ */
#barcodeModal {
    z-index: 10055 !important;
}

#barcodeModal .modal-dialog {
    max-width: 620px;
    margin: 20px auto;
    z-index: 10056 !important;
    transform: translate(0, 0) !important;
}

#barcodeModal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

#barcodeModal .modal-body {
    padding: 0;
}

/* Responsive Düzenlemeler */
@media (max-width: 767.98px) {
    .kb-barcode-container {
        padding: 12px 10px 80px;
    }
    .kb-scanner-viewport {
        min-height: 290px;
    }
    .kb-scanner-overlay {
        width: 220px;
        height: 170px;
    }
    .kb-alternatives-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .kb-result-badge-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .kb-result-actions {
        flex-direction: column;
    }
    .kb-btn-share {
        justify-content: center;
    }
}
