/**
 * @project yin_device_support
 * @file front.css
 * @author Mariusz Opach
 * @copyright © 2026 Mariusz Opach. Wszelkie prawa zastrzeżone.
 * @license Custom Proprietary License
 */

:root {
    --yin-primary: #00A1ED;
    --yin-primary-dark: #0082be;
    --yin-primary-light: #e6f6fd;
    --yin-primary-subtle: #bce3fa;
}

/* Fallback dla nowszych ikon Google (np. qr_code_scanner) */
.material-icons {
    font-family: 'Material Symbols Outlined', 'Material Icons' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   SELF-CONTAINED UTILITY CLASSES (INDEPENDENT OF THEME BOOTSTRAP)
   ========================================== */
.yin-support-container .d-flex,
.yin-modal .d-flex,
#yinSoftGateModal .d-flex,
#yinScannerModal .d-flex,
.d-flex {
    display: flex !important;
}

.yin-support-container .d-inline-flex,
.yin-modal .d-inline-flex,
#yinSoftGateModal .d-inline-flex,
#yinScannerModal .d-inline-flex,
.d-inline-flex {
    display: inline-flex !important;
}

.yin-support-container .d-block,
.d-block {
    display: block !important;
}

.yin-support-container .d-none,
.d-none {
    display: none !important;
}

.yin-support-container .flex-column,
.flex-column {
    flex-direction: column !important;
}

.yin-support-container .flex-row,
.flex-row {
    flex-direction: row !important;
}

.yin-support-container .flex-wrap,
.flex-wrap {
    flex-wrap: wrap !important;
}

.yin-support-container .flex-nowrap,
.flex-nowrap {
    flex-wrap: nowrap !important;
}

.yin-support-container .flex-grow-1,
.flex-grow-1 {
    flex-grow: 1 !important;
}

.yin-support-container .flex-shrink-0,
.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.yin-support-container .align-items-start,
.align-items-start {
    align-items: flex-start !important;
}

.yin-support-container .align-items-center,
.align-items-center {
    align-items: center !important;
}

.yin-support-container .align-items-end,
.align-items-end {
    align-items: flex-end !important;
}

.yin-support-container .align-items-stretch,
.align-items-stretch {
    align-items: stretch !important;
}

.yin-support-container .justify-content-start,
.justify-content-start {
    justify-content: flex-start !important;
}

.yin-support-container .justify-content-center,
.justify-content-center {
    justify-content: center !important;
}

.yin-support-container .justify-content-between,
.justify-content-between {
    justify-content: space-between !important;
}

.yin-support-container .justify-content-end,
.justify-content-end {
    justify-content: flex-end !important;
}

.yin-support-container .gap-1,
.gap-1 {
    gap: 0.25rem !important;
}

.yin-support-container .gap-2,
.gap-2 {
    gap: 0.5rem !important;
}

.yin-support-container .gap-3,
.gap-3 {
    gap: 1rem !important;
}

.yin-support-container .gap-4,
.gap-4 {
    gap: 1.5rem !important;
}

/* Margins */
.yin-support-container .m-0,
.m-0 {
    margin: 0 !important;
}

.yin-support-container .m-1,
.m-1 {
    margin: 0.25rem !important;
}

.yin-support-container .m-2,
.m-2 {
    margin: 0.5rem !important;
}

.yin-support-container .m-3,
.m-3 {
    margin: 1rem !important;
}

.yin-support-container .m-4,
.m-4 {
    margin: 1.5rem !important;
}

.yin-support-container .m-5,
.m-5 {
    margin: 3rem !important;
}

.yin-support-container .mx-auto,
.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.yin-support-container .mx-0,
.mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.yin-support-container .mx-1,
.mx-1 {
    margin-left: 0.25rem !important;
    margin-right: 0.25rem !important;
}

.yin-support-container .mx-2,
.mx-2 {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
}

.yin-support-container .mx-3,
.mx-3 {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}

.yin-support-container .mx-4,
.mx-4 {
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.yin-support-container .my-0,
.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.yin-support-container .my-1,
.my-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

.yin-support-container .my-2,
.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.yin-support-container .my-3,
.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.yin-support-container .my-4,
.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.yin-support-container .mt-0,
.mt-0 {
    margin-top: 0 !important;
}

.yin-support-container .mt-1,
.mt-1 {
    margin-top: 0.25rem !important;
}

.yin-support-container .mt-2,
.mt-2 {
    margin-top: 0.5rem !important;
}

.yin-support-container .mt-3,
.mt-3 {
    margin-top: 1rem !important;
}

.yin-support-container .mt-4,
.mt-4 {
    margin-top: 1.5rem !important;
}

.yin-support-container .mt-5,
.mt-5 {
    margin-top: 3rem !important;
}

.yin-support-container .mb-0,
.mb-0 {
    margin-bottom: 0 !important;
}

.yin-support-container .mb-1,
.mb-1 {
    margin-bottom: 0.25rem !important;
}

.yin-support-container .mb-2,
.mb-2 {
    margin-bottom: 0.5rem !important;
}

.yin-support-container .mb-3,
.mb-3 {
    margin-bottom: 1rem !important;
}

.yin-support-container .mb-4,
.mb-4 {
    margin-bottom: 1.5rem !important;
}

.yin-support-container .mb-5,
.mb-5 {
    margin-bottom: 3rem !important;
}

.yin-support-container .mr-1,
.mr-1 {
    margin-right: 0.25rem !important;
}

.yin-support-container .mr-2,
.mr-2 {
    margin-right: 0.5rem !important;
}

.yin-support-container .mr-3,
.mr-3 {
    margin-right: 1rem !important;
}

.yin-support-container .mr-4,
.mr-4 {
    margin-right: 1.5rem !important;
}

.yin-support-container .ml-1,
.ml-1 {
    margin-left: 0.25rem !important;
}

.yin-support-container .ml-2,
.ml-2 {
    margin-left: 0.5rem !important;
}

.yin-support-container .ml-3,
.ml-3 {
    margin-left: 1rem !important;
}

.yin-support-container .ml-4,
.ml-4 {
    margin-left: 1.5rem !important;
}

/* Paddings */
.yin-support-container .p-0,
.p-0 {
    padding: 0 !important;
}

.yin-support-container .p-1,
.p-1 {
    padding: 0.25rem !important;
}

.yin-support-container .p-2,
.p-2 {
    padding: 0.5rem !important;
}

.yin-support-container .p-3,
.p-3 {
    padding: 1rem !important;
}

.yin-support-container .p-4,
.p-4 {
    padding: 1.5rem !important;
}

.yin-support-container .p-5,
.p-5 {
    padding: 3rem !important;
}

.yin-support-container .px-0,
.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.yin-support-container .px-1,
.px-1 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

.yin-support-container .px-2,
.px-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.yin-support-container .px-3,
.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.yin-support-container .px-4,
.px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.yin-support-container .py-0,
.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.yin-support-container .py-1,
.py-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.yin-support-container .py-2,
.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.yin-support-container .py-3,
.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.yin-support-container .py-4,
.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.yin-support-container .pt-0,
.pt-0 {
    padding-top: 0 !important;
}

.yin-support-container .pt-1,
.pt-1 {
    padding-top: 0.25rem !important;
}

.yin-support-container .pt-2,
.pt-2 {
    padding-top: 0.5rem !important;
}

.yin-support-container .pt-3,
.pt-3 {
    padding-top: 1rem !important;
}

.yin-support-container .pt-4,
.pt-4 {
    padding-top: 1.5rem !important;
}

.yin-support-container .pb-0,
.pb-0 {
    padding-bottom: 0 !important;
}

.yin-support-container .pb-1,
.pb-1 {
    padding-bottom: 0.25rem !important;
}

.yin-support-container .pb-2,
.pb-2 {
    padding-bottom: 0.5rem !important;
}

.yin-support-container .pb-3,
.pb-3 {
    padding-bottom: 1rem !important;
}

.yin-support-container .pb-4,
.pb-4 {
    padding-bottom: 1.5rem !important;
}

.yin-support-container .w-100,
.w-100 {
    width: 100% !important;
}

.yin-support-container .h-100,
.h-100 {
    height: 100% !important;
}

.yin-support-container .text-center,
.text-center {
    text-align: center !important;
}

.yin-support-container .font-weight-bold,
.font-weight-bold {
    font-weight: 700 !important;
}

.yin-support-container .text-muted,
.text-muted {
    color: #64748b !important;
}

.yin-support-container .text-dark,
.text-dark {
    color: #1e293b !important;
}

/* ==========================================
   SUPPORT BANNER ON PRODUCT PAGE
   ========================================== */
.yin-device-support-banner {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--yin-primary);
    border-radius: 6px;
}

.yin-device-support-banner .yin-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.yin-device-support-banner .yin-banner-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.yin-device-support-banner .yin-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--yin-primary-light);
    color: var(--yin-primary);
    flex-shrink: 0;
}

.yin-device-support-banner .yin-banner-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    color: #212529;
}

.yin-device-support-banner .yin-banner-text {
    flex: 1 1 240px;
}

.yin-device-support-banner .yin-banner-desc {
    margin: 0;
    font-size: 0.85rem;
    color: #6c757d;
}

.yin-device-support-banner .yin-banner-btn {
    background-color: var(--yin-primary) !important;
    border-color: var(--yin-primary) !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.yin-device-support-banner .yin-banner-btn:hover {
    background-color: var(--yin-primary-dark) !important;
    border-color: var(--yin-primary-dark) !important;
}

/* ==========================================
   KARTA WSPARCIA URZĄDZENIA (SUPPORT CARD)
   ========================================== */
.yin-support-container {
    max-width: 1140px;
    margin: 0 auto;
    color: #212529;
    font-family: inherit;
}

/* Górna belka nawigacyjna na karcie produktu */
.yin-top-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: 0 0.25rem;
}

.yin-btn-toggle-search {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    color: var(--yin-primary);
    border: 1px solid var(--yin-primary);
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
}

.yin-btn-toggle-search:hover,
.yin-btn-toggle-search.active {
    background-color: var(--yin-primary);
    color: #ffffff;
    border-color: var(--yin-primary);
    box-shadow: 0 2px 6px rgba(0, 161, 237, 0.25);
}

.yin-btn-toggle-search i {
    font-size: 18px;
}

.yin-btn-view-product {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    color: var(--yin-primary);
    border: 1px solid var(--yin-primary);
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
}

.yin-btn-view-product:hover {
    background-color: var(--yin-primary);
    color: #ffffff;
    border-color: var(--yin-primary);
    box-shadow: 0 2px 6px rgba(0, 161, 237, 0.25);
}

.yin-btn-view-product i {
    font-size: 18px;
}

/* Standardowe, spójne kafelki (Karty) */
.yin-card-box,
.yin-search-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.yin-card-box {
    padding: 1.75rem;
}

.yin-search-card {
    padding: 0.5rem 2rem;
    background: #ffffff;
    transition: all 0.3s ease-in-out;
}

.yin-search-header h2 {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.yin-search-header p {
    font-size: 0.95rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Wyszukiwarka Hero - precyzyjny układ 52px */
.yin-search-bar-wrap {
    display: flex;
    align-items: center;
    border: 2px solid var(--yin-primary);
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
    height: 52px;
    margin: 1.5rem auto 0.75rem auto;
    max-width: 680px;
    box-shadow: 0 2px 8px rgba(0, 161, 237, 0.12);
}

.yin-search-icon-box {
    width: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    background: #ffffff;
}

.yin-search-icon-box i {
    font-size: 24px;
}

.yin-search-input {
    flex: 1 1 auto;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 10px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #212529 !important;
    background: transparent !important;
}

.yin-search-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.yin-search-actions {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.btn-icon-camera {
    width: 48px;
    flex: 0 0 48px;
    height: 100%;
    border: none;
    background: #f8f9fa;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
    padding: 0;
}

.btn-icon-camera:hover {
    background: #e9ecef;
    color: var(--yin-primary-dark);
}

.btn-icon-camera i {
    font-size: 22px;
    display: inline-block;
    color: var(--yin-primary);
    animation: yinCameraPulse 2.6s infinite ease-in-out;
    transform-origin: center center;
    will-change: transform, opacity;
}

.btn-icon-camera:hover i {
    animation: none;
    transform: scale(1.12);
}

@keyframes yinCameraPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.82;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
        filter: drop-shadow(0 0 3px rgba(0, 161, 237, 0.45));
    }
}

.yin-btn-search {
    height: 100%;
    border-radius: 0 !important;
    padding: 0 24px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: var(--yin-primary) !important;
    border-color: var(--yin-primary) !important;
    color: #ffffff !important;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s;
}

.yin-btn-search:hover {
    background-color: var(--yin-primary-dark) !important;
    border-color: var(--yin-primary-dark) !important;
}

.yin-btn-search i {
    font-size: 20px;
}

.yin-skip-link {
    font-size: 0.88rem;
    color: #6c757d;
    text-decoration: underline;
    display: inline-block;
    margin-top: 0.5rem;
}

.yin-skip-link:hover {
    color: var(--yin-primary);
}

/* Karta Produktu - Górny Nagłówek */
.yin-product-header-card {
    border-top: 4px solid var(--yin-primary);
}

.yin-product-thumb {
    max-height: 160px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 6px;
}

.yin-product-no-img {
    width: 140px;
    height: 140px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
}

/* Pasek Statusu Głównego */
.yin-status-banner {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* STAN 1: Niebieski (Aktywne wsparcie gwarancyjne) */
.status-active-coverage,
.status-service-action {
    background-color: var(--yin-primary-light);
    border: 1px solid var(--yin-primary-subtle);
    color: #005f8d;
}

.status-active-coverage .status-icon-badge,
.status-service-action .status-icon-badge {
    color: var(--yin-primary);
}

/* STAN 2: Przyjazny, stonowany chłodny błękit/slate (Po gwarancji, dostępne aktualizacje) */
.status-extended-support {
    background-color: #f0f7f9;
    border: 1px solid #bfe0e7;
    color: #154d5b;
}

.status-extended-support .status-icon-badge {
    color: #0d9488;
}

/* STAN 3: Bursztynowy (Niezarejestrowany w BCN) */
.status-unregistered-amber {
    background-color: #fff8e1;
    border: 1px solid #ffe082;
    color: #856404;
}

.status-unregistered-amber .status-icon-badge {
    color: #f57f17;
}

/* STAN 4: Bursztynowy (Brak odpowiedzi API / Aktywne utrzymanie) */
.status-maintenance-amber,
.status-update-required {
    background-color: #fff8e1;
    border: 1px solid #ffe082;
    color: #856404;
}

.status-maintenance-amber .status-icon-badge,
.status-update-required .status-icon-badge {
    color: #f57f17;
}

/* STAN 5: W stronę czerwonego (Wyszukanie tylko po modelu, brak SN) */
.status-model-reddish {
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    color: #9b2c2c;
}

.status-model-reddish .status-icon-badge {
    color: #e53e3e;
}

.status-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.status-sub-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    opacity: 0.85;
    margin-bottom: 2px;
}

.status-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.warranty-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    background: #ffffff;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.warranty-valid {
    border: 1px solid #c3e6cb;
    color: #155724;
}

.warranty-expired {
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.warranty-badge i {
    font-size: 18px;
}

/* Kontekstowy badge oprogramowania (Tailored to SN vs General version) */
.yin-context-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.yin-context-badge i {
    font-size: 16px;
    vertical-align: middle;
}

.yin-context-badge.badge-tailored {
    background: var(--yin-primary-light);
    color: var(--yin-primary-dark);
    border-color: var(--yin-primary-subtle);
}

.yin-context-badge.badge-tailored i {
    color: var(--yin-primary);
}

.yin-context-badge.badge-general {
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}

/* Baner Informacyjny / Lojalnościowy */
.yin-loyalty-notice {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 3px solid var(--yin-primary);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    color: #495057;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s ease, background-color 0.2s ease !important;
}

.yin-loyalty-notice:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0, 161, 237, 0.12) !important;
    border-color: var(--yin-primary-subtle);
    background-color: #ffffff;
}

.yin-loyalty-notice i {
    color: var(--yin-primary) !important;
}

.yin-loyalty-notice .yin-notice-arrow {
    transition: transform 0.2s ease;
}

.yin-loyalty-notice:hover .yin-notice-arrow {
    transform: scale(1.15);
}

a.yin-loyalty-notice {
    text-decoration: none !important;
    color: #495057 !important;
}

a.yin-loyalty-notice:hover {
    color: var(--yin-primary-dark) !important;
    text-decoration: none !important;
}

/* Sekcja Firmware & CRA */
.cra-alert-card {
    background: #ffffff;
    border: 1px solid #f5c6cb;
    border-left: 4px solid #dc3545;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.yin-safe-banner {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 4px;
    padding: 1rem;
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.yin-safe-banner i {
    font-size: 26px;
    margin-right: 12px;
    color: #2e7d32;
}

/* Kafelek pobierania Firmware */
.firmware-tile {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.firmware-icon {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--yin-primary-light);
    color: var(--yin-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.firmware-icon i {
    font-size: 24px;
    color: var(--yin-primary) !important;
}

/* Przydatne pliki */
.yin-doc-list {
    display: flex;
    flex-direction: column;
}

.yin-doc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.yin-doc-row:last-child {
    border-bottom: none;
}

.yin-doc-row i {
    font-size: 24px;
    margin-right: 10px;
}

/* Karta Certyfikatu */
.yin-cert-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cert-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #2e7d32;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.cert-icon-wrap i {
    font-size: 32px;
}

/* Przyciski główne z kolorem #00A1ED */
.yin-support-container .btn-primary,
.yin-support-container .btn-primary:focus {
    background-color: var(--yin-primary) !important;
    border-color: var(--yin-primary) !important;
    color: #ffffff !important;
}

.yin-support-container .btn-primary:hover,
.yin-support-container .btn-primary:active {
    background-color: var(--yin-primary-dark) !important;
    border-color: var(--yin-primary-dark) !important;
    color: #ffffff !important;
}

.yin-support-container .btn-outline-primary {
    color: var(--yin-primary) !important;
    border-color: var(--yin-primary) !important;
    background-color: transparent !important;
}

.yin-support-container .btn-outline-primary:hover,
.yin-support-container .btn-outline-primary:active {
    background-color: var(--yin-primary) !important;
    border-color: var(--yin-primary) !important;
    color: #ffffff !important;
}

.yin-support-container .text-primary {
    color: var(--yin-primary) !important;
}

/* Formularz Kontaktowy */
.yin-contact-form .form-group {
    margin-bottom: 1rem;
}

.yin-contact-form label {
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
    color: #495057;
}

.yin-contact-form .form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
}

.yin-contact-form .form-control:focus {
    border-color: var(--yin-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 161, 237, 0.25);
}

@media (max-width: 768px) {

    .yin-search-card,
    .yin-card-box {
        padding: 1.25rem 1rem;
    }

    .yin-top-nav-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .yin-search-bar-wrap {
        height: auto;
        flex-direction: column;
        border-radius: 6px;
        padding: 6px;
    }

    .yin-search-input {
        width: 100%;
        padding: 8px 10px !important;
        text-align: center;
    }

    .yin-search-actions {
        width: 100%;
        margin-top: 8px;
    }

    .yin-btn-search {
        flex: 1 1 auto;
        justify-content: center;
        border-radius: 4px !important;
        padding: 10px !important;
    }

    .btn-icon-camera {
        border-radius: 4px;
        height: 42px;
    }

    .yin-status-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================
   YIN SOFT GATE MODAL FIXES
   ========================================== */
/* Wbudowane, niezawodne przyciemnienie tła na poziomie samego okna modalnego */
#yinSoftGateModal.modal,
#yinScannerModal.modal {
    z-index: 10050 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
    cursor: pointer;
}

#yinSoftGateModal .modal-dialog,
#yinScannerModal .modal-dialog {
    z-index: 10051 !important;
    position: relative !important;
    cursor: default;
}

/* Całkowite ukrycie zewnętrznego modal-backdrop, aby nie wchodził w konflikt z motywem */
.modal-backdrop,
.modal-backdrop.modal-stack,
.modal-backdrop.fade,
.modal-backdrop.in,
.modal-backdrop.show {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

#yinSoftGateModal .modal-header,
#yinScannerModal .modal-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1.25rem !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

#yinSoftGateModal .yin-modal-header-left,
#yinScannerModal .yin-modal-header-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

#yinSoftGateModal .modal-icon-badge,
#yinScannerModal .modal-icon-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 50% !important;
    background: #fef3c7 !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

#yinScannerModal .modal-icon-badge.scanner-badge {
    background: var(--yin-primary-light) !important;
}

#yinScannerModal .modal-icon-badge.scanner-badge i {
    color: var(--yin-primary) !important;
}

#yinSoftGateModal .modal-icon-badge i,
#yinScannerModal .modal-icon-badge i {
    font-size: 22px !important;
    color: #d97706 !important;
    line-height: 0.95 !important;
    margin: 0 !important;
}

#yinSoftGateModal .modal-title,
#yinScannerModal .modal-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

#yinSoftGateModal button.close,
#yinScannerModal button.close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 !important;
    margin: 0 0 0 10px !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
    color: #64748b !important;
    opacity: 0.8 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

#yinSoftGateModal button.close:hover,
#yinScannerModal button.close:hover {
    color: #0f172a !important;
    opacity: 1 !important;
}

/* Skaner Laser & Nakładka kamery */
.scanner-viewport-box {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    border: 2px solid #1e293b !important;
    background: #000000 !important;
    width: 100% !important;
    max-width: 400px !important;
    height: 300px !important;
    margin: 0 auto !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

.scanner-viewport-box video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    background: #000000 !important;
    border-radius: 8px !important;
}

.scanner-viewport-box canvas.drawingBuffer {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 20 !important;
    pointer-events: none !important;
}

.scanner-laser {
    position: absolute !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 161, 237, 0.8) 15%, #ffffff 50%, rgba(0, 161, 237, 0.8) 85%, transparent 100%) !important;
    box-shadow: 0 0 16px 3px rgba(0, 161, 237, 0.95), 0 0 6px #ffffff !important;
    animation: yinLaserScan 2.2s infinite alternate ease-in-out !important;
    z-index: 25 !important;
    border-radius: 3px !important;
    pointer-events: none !important;
}

@keyframes yinLaserScan {
    0% {
        top: 6%;
        opacity: 0.85;
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }

    100% {
        top: 92%;
        opacity: 0.85;
    }
}

.scanner-frame-overlay {
    position: absolute !important;
    top: 12% !important;
    left: 8% !important;
    width: 84% !important;
    height: 76% !important;
    border: 2px dashed rgba(255, 255, 255, 0.6) !important;
    border-radius: 10px !important;
    pointer-events: none !important;
    z-index: 15 !important;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4) !important;
}

#yinScannerModal .modal-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.85rem 1.25rem !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

#yinScannerModal .yin-modal-btn-close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: #64748b !important;
    border: none !important;
    color: #ffffff !important;
    padding: 0.55rem 1.5rem !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

#yinScannerModal .yin-modal-btn-close:hover {
    background: #475569 !important;
    color: #ffffff !important;
}

#yinSoftGateModal .modal-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    padding: 1rem 1.25rem !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

#yinSoftGateModal .yin-modal-btn-back {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 1 1 auto !important;
    width: auto !important;
    margin: 0 12px 0 0 !important;
    background-color: var(--yin-primary) !important;
    border-color: var(--yin-primary) !important;
    color: #ffffff !important;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 4px rgba(0, 161, 237, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
    white-space: nowrap !important;
}

#yinSoftGateModal .yin-modal-btn-back:hover {
    background-color: var(--yin-primary-dark) !important;
    border-color: var(--yin-primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 161, 237, 0.3) !important;
}

#yinSoftGateModal .yin-modal-btn-back i {
    font-size: 18px !important;
    line-height: 1 !important;
}

#yinSoftGateModal .yin-modal-btn-model {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    padding: 0.6rem 1.15rem !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease-in-out !important;
    white-space: nowrap !important;
}

#yinSoftGateModal .yin-modal-btn-model:hover {
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

#yinSoftGateModal .yin-modal-btn-model i {
    font-size: 18px !important;
    line-height: 1 !important;
    color: #64748b !important;
}

#yinMainSearchCard,
#yinModelSection {
    scroll-margin-top: 100px;
}

/* ==========================================
   CHOSEN SELECT MODERN STYLING (MODEL SEARCH)
   ========================================== */
#yinModelSection .chosen-container {
    width: 100% !important;
    font-size: 0.95rem !important;
    position: relative !important;
    display: inline-block !important;
    vertical-align: middle !important;
    user-select: none !important;
}

#yinModelSection .chosen-container-single .chosen-single {
    height: 48px !important;
    line-height: 46px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 0 40px 0 16px !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    display: block !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

#yinModelSection .chosen-container-active.chosen-with-drop .chosen-single,
#yinModelSection .chosen-container-single .chosen-single:focus {
    border-color: var(--yin-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 161, 237, 0.2) !important;
    background: #ffffff !important;
}

#yinModelSection .chosen-container-single .chosen-single span {
    margin-right: 20px !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #334155 !important;
    font-size: 0.95rem !important;
}

#yinModelSection .chosen-container-single .chosen-default span {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

#yinModelSection .chosen-container-single .chosen-single div {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 100% !important;
}

#yinModelSection .chosen-container-single .chosen-single div b {
    display: inline-block !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top: 6px solid #64748b !important;
    border-bottom: none !important;
    background: none !important;
    transition: transform 0.2s ease !important;
}

#yinModelSection .chosen-container-active.chosen-with-drop .chosen-single div b {
    border-top: none !important;
    border-bottom: 6px solid var(--yin-primary) !important;
}

#yinModelSection .chosen-container .chosen-drop {
    position: absolute !important;
    top: 100% !important;
    left: -9999px !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1.5px solid var(--yin-primary) !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
    margin-top: 2px !important;
    z-index: 1050 !important;
    box-sizing: border-box !important;
}

#yinModelSection .chosen-container.chosen-with-drop .chosen-drop {
    left: 0 !important;
}

#yinModelSection .chosen-container .chosen-search {
    padding: 10px 12px !important;
    position: relative !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

#yinModelSection .chosen-container .chosen-search input[type="text"] {
    width: 100% !important;
    height: 38px !important;
    padding: 6px 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 0.92rem !important;
    color: #1e293b !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}

#yinModelSection .chosen-container .chosen-search input[type="text"]:focus {
    border-color: var(--yin-primary) !important;
    box-shadow: 0 0 0 2px rgba(0, 161, 237, 0.2) !important;
}

#yinModelSection .chosen-container .chosen-results {
    max-height: 260px !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    list-style: none !important;
}

#yinModelSection .chosen-container .chosen-results li {
    padding: 9px 16px !important;
    line-height: 1.4 !important;
    color: #334155 !important;
    font-size: 0.92rem !important;
    cursor: pointer !important;
    transition: background-color 0.15s, color 0.15s !important;
    margin: 0 !important;
}

#yinModelSection .chosen-container .chosen-results li.highlighted {
    background-color: var(--yin-primary) !important;
    background-image: none !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}

#yinModelSection .chosen-container .chosen-results li.result-selected {
    font-weight: 700 !important;
    color: var(--yin-primary) !important;
    background-color: var(--yin-primary-light) !important;
}

#yinModelSection .chosen-container .chosen-results li.no-results {
    color: #94a3b8 !important;
    background: #ffffff !important;
    padding: 14px 16px !important;
    text-align: center !important;
    font-style: italic !important;
}

#yinModelSection.yin-model-section {
    max-width: 100% !important;
    width: 100% !important;
}

#yinModelSection .yin-model-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.35 !important;
    margin-bottom: 1.25rem !important;
}

#yinModelSection .yin-model-form {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

#yinModelSection .yin-model-select-wrap {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 12px 0 0 !important;
}

#yinModelSection .btn-model-submit {
    height: 48px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    padding: 0 1.5rem !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    #yinModelSection .yin-model-form {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    #yinModelSection .yin-model-select-wrap {
        margin: 0 0 10px 0 !important;
        width: 100% !important;
    }

    #yinModelSection .btn-model-submit {
        width: 100% !important;
    }
}

/* =========================================
   PREMIUM UI REDESIGN (Glassmorphism & Neumorphism)
   ========================================= */

.yin-premium-ui {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    padding: 10px 0 !important;
}

.yin-glass-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.yin-glass-modal {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
}

/* Gradient text */
.yin-gradient-text {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Hover lift */
.yin-hover-lift {
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.yin-hover-lift:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

/* Hero background orbs */
.yin-gradient-orb {
    position: absolute !important;
    border-radius: 50% !important;
    filter: blur(60px) !important;
    z-index: 1 !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
}

.orb-1 {
    width: 300px !important;
    height: 300px !important;
    background: rgba(0, 161, 237, 0.15) !important;
    top: -100px !important;
    left: -100px !important;
}

.orb-2 {
    width: 400px !important;
    height: 400px !important;
    background: rgba(34, 197, 94, 0.1) !important;
    bottom: -150px !important;
    right: -150px !important;
}

/* Alerts */
.yin-alert {
    display: flex !important;
    align-items: flex-start !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    border: none !important;
}

.yin-alert .alert-icon {
    font-size: 26px !important;
    margin-right: 16px !important;
    margin-top: 2px !important;
}

.yin-alert-danger {
    background: #fef2f2 !important;
    color: #991b1b !important;
}

.yin-alert-danger .alert-icon {
    color: #dc2626 !important;
}

.yin-alert-warning {
    background: #fffbeb !important;
    color: #92400e !important;
}

.yin-alert-warning .alert-icon {
    color: #d97706 !important;
}

.yin-alert-success {
    background: #f0fdf4 !important;
    color: #166534 !important;
}

.yin-alert-success .alert-icon {
    color: #16a34a !important;
}

.yin-alert-info {
    background: #f0f9ff !important;
    color: #075985 !important;
}

.yin-alert-info .alert-icon {
    color: #0284c7 !important;
}

/* Search Bar */
.yin-neu-inset {
    background: #f8fafc !important;
    border-radius: 50px !important;
    padding: 6px 6px 6px 20px !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #e2e8f0 !important;
}

.yin-search-input-glass {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 1.1rem !important;
    padding-left: 12px !important;
}

.yin-search-input-glass:focus {
    box-shadow: none !important;
    background: transparent !important;
    outline: none !important;
}

.btn-icon-camera-pulse {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
}

.btn-icon-camera-pulse:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.yin-btn-search-premium {
    border-radius: 40px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
}

.yin-skip-link-premium {
    color: #64748b !important;
    font-size: 0.9rem !important;
    text-decoration: underline !important;
}

.yin-skip-link-premium:hover {
    color: #0f172a !important;
}

/* Product Header */
.yin-product-thumb-premium {
    border-radius: 12px !important;
    max-height: 180px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1)) !important;
}

.yin-product-no-img-premium {
    width: 140px !important;
    height: 140px !important;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0) !important;
    border-radius: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
}

.yin-product-no-img-premium i {
    font-size: 40px !important;
    margin-bottom: 5px !important;
}

.yin-product-no-img-premium span {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.yin-lifecycle-badge {
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

.yin-sn-badge {
    background: #f1f5f9 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-family: monospace !important;
    border: 1px solid #e2e8f0 !important;
    font-weight: 700 !important;
}

/* Status Banners */
.yin-status-banner-premium {
    border-radius: 12px !important;
    padding: 20px 24px !important;
    background: #f8fafc !important;
    border-left: 4px solid transparent !important;
}

.yin-status-banner-premium.status-service-action {
    background: #fffbeb !important;
    border-left-color: #d97706 !important;
}

.yin-status-banner-premium.status-service-action .status-icon-premium {
    color: #d97706 !important;
    background: rgba(217, 119, 6, 0.1) !important;
}

.yin-status-banner-premium.status-update-required {
    background: #f0fdf4 !important;
    border-left-color: #16a34a !important;
}

.yin-status-banner-premium.status-update-required .status-icon-premium {
    color: #16a34a !important;
    background: rgba(22, 163, 74, 0.1) !important;
}

.status-icon-premium {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.status-icon-premium i {
    font-size: 28px !important;
}

.warranty-badge-premium {
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid #f1f5f9 !important;
}

.warranty-icon i {
    font-size: 32px !important;
}

.warranty-valid .warranty-icon {
    color: #00A1ED !important;
}

.warranty-expired .warranty-icon {
    color: #94a3b8 !important;
}

/* Firmware & Docs */
.section-icon-bg {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.bg-primary-light {
    background: rgba(0, 161, 237, 0.1) !important;
}

.bg-success-light {
    background: rgba(34, 197, 94, 0.1) !important;
}

.bg-warning-light {
    background: rgba(245, 158, 11, 0.1) !important;
}

.yin-context-badge {
    background: #f1f5f9 !important;
    color: #475569 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.yin-context-badge i {
    font-size: 16px !important;
}

.cra-alert-card-premium {
    border-radius: 12px !important;
    border: 1px solid #fee2e2 !important;
    background: #fff !important;
    padding: 20px !important;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.05) !important;
    border-left: 4px solid #ef4444 !important;
}

.alert-icon-left i {
    font-size: 36px !important;
}

.yin-safe-banner-premium {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 12px !important;
}

.safe-icon-left i {
    font-size: 36px !important;
}

.firmware-tile-premium {
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.firmware-icon-premium i {
    font-size: 40px !important;
    color: #00A1ED !important;
}

.yin-doc-item-premium {
    border-radius: 10px !important;
    border: 1px solid #f1f5f9 !important;
    background: #fff !important;
}

.doc-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.pdf-icon {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

.doc-icon-gray {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

.btn-download-icon {
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.yin-cert-card-premium {
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.cert-icon-wrap {
    width: 52px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(34, 197, 94, 0.1) !important;
}

.pulse-ring {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    border-radius: 50% !important;
    background: rgba(34, 197, 94, 0.2) !important;
    animation: certPulseBreath 2.5s infinite ease-in-out !important;
}

@keyframes certPulseBreath {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Contact Form */
.yin-input-premium {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    transition: all 0.2s !important;
}

.yin-input-premium:focus {
    border-color: #00A1ED !important;
    box-shadow: 0 0 0 3px rgba(0, 161, 237, 0.1) !important;
    outline: none !important;
}

.tracking-wider {
    letter-spacing: 0.05em !important;
}


/* =========================================
   DARK TECH DASHBOARD (v4)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

.yin-dark-ui {
    background-color: #050a15 !important;
    color: #e2e8f0 !important;
    padding: 20px 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.yin-font-mono {
    font-family: 'Share Tech Mono', monospace !important;
    letter-spacing: 0.5px !important;
}

.text-cyan {
    color: #00f0ff !important;
}

.text-amber {
    color: #ffb800 !important;
}

.text-emerald {
    color: #00ff66 !important;
}

.text-light {
    color: #f8fafc !important;
}

.text-muted-light {
    color: #94a3b8 !important;
}

.border-top-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-bottom-dark {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Cards & Modals */
.yin-dark-card {
    background: #0a1122 !important;
    border: 1px solid #1a2942 !important;
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.02) !important;
    border-radius: 4px !important;
}

.yin-dark-modal {
    background: #0a1122 !important;
    border: 1px solid #1a2942 !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8) !important;
    border-radius: 4px !important;
    position: relative !important;
}

.yin-cyber-border-top {
    height: 3px !important;
    background: #ffb800 !important;
    box-shadow: 0 0 10px rgba(255, 184, 0, 0.5) !important;
}

.yin-cyber-border-top-cyan {
    height: 3px !important;
    background: #00f0ff !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5) !important;
}

.yin-neon-text {
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4) !important;
}

.yin-tech-label {
    font-family: 'Share Tech Mono', monospace !important;
    color: #00f0ff !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    padding: 2px 8px !important;
    background: rgba(0, 240, 255, 0.05) !important;
}

.yin-tech-subtext {
    font-family: 'Share Tech Mono', monospace !important;
    color: #94a3b8 !important;
}

/* Background Grid */
.yin-cyber-grid-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px) !important;
    background-size: 30px 30px !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Buttons */
.yin-cyber-btn-outline {
    background: transparent !important;
    border: 1px solid #00f0ff !important;
    color: #00f0ff !important;
    font-family: 'Share Tech Mono', monospace !important;
    border-radius: 0 !important;
    transition: all 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
}

.yin-cyber-btn-outline:hover {
    background: rgba(0, 240, 255, 0.1) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3) !important;
}

.yin-cyber-btn-outline-amber {
    background: transparent !important;
    border: 1px solid #ffb800 !important;
    color: #ffb800 !important;
    font-family: 'Share Tech Mono', monospace !important;
    border-radius: 0 !important;
    transition: all 0.2s !important;
}

.yin-cyber-btn-outline-amber:hover {
    background: rgba(255, 184, 0, 0.1) !important;
    box-shadow: 0 0 15px rgba(255, 184, 0, 0.3) !important;
}

.yin-cyber-btn-outline-danger {
    background: transparent !important;
    border: 1px solid #ff003c !important;
    color: #ff003c !important;
    font-family: 'Share Tech Mono', monospace !important;
    border-radius: 0 !important;
    transition: all 0.2s !important;
}

.yin-cyber-btn-outline-danger:hover {
    background: rgba(255, 0, 60, 0.1) !important;
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.3) !important;
    color: #fff !important;
}

.yin-cyber-btn-solid {
    background: #00f0ff !important;
    border: none !important;
    color: #050a15 !important;
    font-family: 'Share Tech Mono', monospace !important;
    border-radius: 0 !important;
    transition: all 0.2s !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.4) !important;
    display: inline-flex !important;
    align-items: center !important;
}

.yin-cyber-btn-solid:hover {
    background: #fff !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6) !important;
}

.yin-cyber-btn-ghost {
    background: transparent !important;
    color: #94a3b8 !important;
    border: none !important;
    font-family: 'Share Tech Mono', monospace !important;
}

.yin-cyber-btn-ghost:hover {
    color: #fff !important;
}

.yin-cyber-btn-ghost-danger {
    background: transparent !important;
    color: #ff003c !important;
    border: none !important;
    font-family: 'Share Tech Mono', monospace !important;
}

.yin-cyber-btn-ghost-danger:hover {
    background: rgba(255, 0, 60, 0.1) !important;
}

/* Alerts */
.yin-alert-cyber {
    display: flex !important;
    align-items: flex-start !important;
    padding: 15px 20px !important;
    font-family: 'Share Tech Mono', monospace !important;
    border-left: 4px solid transparent !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.yin-alert-cyber-danger {
    border-left-color: #ff003c !important;
    color: #ff003c !important;
}

.yin-alert-cyber-warning {
    border-left-color: #ffb800 !important;
    color: #ffb800 !important;
}

.yin-alert-cyber-info {
    border-left-color: #00f0ff !important;
    color: #00f0ff !important;
}

.yin-alert-cyber-success {
    border-left-color: #00ff66 !important;
    color: #00ff66 !important;
}

.yin-alert-cyber .alert-icon {
    font-size: 24px !important;
    margin-right: 15px !important;
}

/* Search Inputs */
.yin-search-bar-wrap-dark {
    background: #050a15 !important;
    border: 1px solid #1a2942 !important;
    padding: 6px 6px 6px 15px !important;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5) !important;
}

.yin-search-input-dark {
    background: transparent !important;
    border: none !important;
    color: #00f0ff !important;
    font-family: 'Share Tech Mono', monospace !important;
    font-size: 1.1rem !important;
    box-shadow: none !important;
}

.yin-search-input-dark:focus {
    background: transparent !important;
    color: #00f0ff !important;
    box-shadow: none !important;
    outline: none !important;
}

.yin-btn-icon-scanner-dark {
    width: 44px !important;
    height: 44px !important;
    background: rgba(0, 240, 255, 0.1) !important;
    color: #00f0ff !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    border-radius: 0 !important;
}

.yin-btn-icon-scanner-dark:hover {
    background: rgba(0, 240, 255, 0.3) !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5) !important;
}

.yin-skip-link-dark {
    color: #475569 !important;
    font-family: 'Share Tech Mono', monospace !important;
    text-decoration: none !important;
    transition: 0.2s !important;
}

.yin-skip-link-dark:hover {
    color: #00f0ff !important;
}

/* Selection */
.yin-select-dark {
    background: #050a15 !important;
    color: #00f0ff !important;
    border: 1px solid #1a2942 !important;
    font-family: 'Share Tech Mono', monospace !important;
    border-radius: 0 !important;
}

/* Modals & Scanner */
.modal-icon-badge-dark {
    display: flex !important;
    align-items: center !important;
}

.scanner-viewport-box-dark {
    position: relative !important;
    padding: 5px !important;
    background: #000 !important;
    border: 1px solid #1a2942 !important;
}

.cyber-corner {
    position: absolute !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #00f0ff !important;
}

.cyber-corner.top-left {
    top: -2px !important;
    left: -2px !important;
    border-right: none !important;
    border-bottom: none !important;
}

.cyber-corner.top-right {
    top: -2px !important;
    right: -2px !important;
    border-left: none !important;
    border-bottom: none !important;
}

.cyber-corner.bottom-left {
    bottom: -2px !important;
    left: -2px !important;
    border-right: none !important;
    border-top: none !important;
}

.cyber-corner.bottom-right {
    bottom: -2px !important;
    right: -2px !important;
    border-left: none !important;
    border-top: none !important;
}

/* Result Header */
.yin-cyber-img-wrap {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 10px !important;
    background: #050a15 !important;
}

.yin-product-thumb-dark {
    max-height: 160px !important;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.2)) !important;
}

.yin-product-no-img-dark {
    width: 140px !important;
    height: 140px !important;
    border: 1px dashed rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #475569 !important;
    font-family: 'Share Tech Mono', monospace !important;
}

.yin-product-no-img-dark i {
    font-size: 40px !important;
    margin-bottom: 5px !important;
}

.yin-tech-badge-cyan {
    background: rgba(0, 240, 255, 0.1) !important;
    border: 1px solid #00f0ff !important;
    color: #00f0ff !important;
    padding: 2px 8px !important;
    font-family: 'Share Tech Mono', monospace !important;
    font-size: 0.8rem !important;
}

.yin-tech-badge-emerald {
    background: rgba(0, 255, 102, 0.1) !important;
    border: 1px solid #00ff66 !important;
    color: #00ff66 !important;
    padding: 4px 12px !important;
    font-family: 'Share Tech Mono', monospace !important;
    font-size: 0.8rem !important;
}

.yin-tech-params-grid {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.tech-param-box {
    border-left: 2px solid rgba(255, 255, 255, 0.1) !important;
    padding-left: 10px !important;
    font-family: 'Share Tech Mono', monospace !important;
}

.param-label {
    display: block !important;
    font-size: 0.75rem !important;
    color: #64748b !important;
}

.param-val {
    font-size: 1.1rem !important;
    font-weight: bold !important;
    color: #f8fafc !important;
}

/* Status banners dark */
.yin-status-banner-dark {
    border: 1px solid #1a2942 !important;
    background: #050a15 !important;
    padding: 20px !important;
}

.yin-status-banner-dark.status-amber {
    border-left: 4px solid #ffb800 !important;
}

.yin-status-banner-dark.status-amber .status-icon-dark {
    color: #ffb800 !important;
}

.yin-status-banner-dark.status-emerald {
    border-left: 4px solid #00ff66 !important;
}

.yin-status-banner-dark.status-emerald .status-icon-dark {
    color: #00ff66 !important;
}

.status-icon-dark i {
    font-size: 32px !important;
}

.warranty-badge-dark {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    padding: 10px 15px !important;
    min-width: 150px !important;
}

.yin-loyalty-notice-dark {
    background: rgba(0, 240, 255, 0.05) !important;
    border: 1px solid rgba(0, 240, 255, 0.2) !important;
}

/* Files / Firmware */
.section-icon-bg-dark {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid currentColor !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.yin-context-badge-dark {
    font-family: 'Share Tech Mono', monospace !important;
    color: #94a3b8 !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
}

.cra-alert-card-dark {
    border: 1px solid #ff003c !important;
    background: rgba(255, 0, 60, 0.05) !important;
    padding: 20px !important;
}

.yin-safe-banner-dark {
    border: 1px solid #00ff66 !important;
    background: rgba(0, 255, 102, 0.05) !important;
}

.firmware-tile-dark {
    border: 1px dashed rgba(0, 240, 255, 0.3) !important;
    background: #050a15 !important;
}

.yin-doc-list-dark {
    display: flex !important;
    flex-direction: column !important;
}

.yin-doc-item-dark {
    border-bottom: 1px solid #1a2942 !important;
    transition: 0.2s !important;
}

.yin-doc-item-dark:hover {
    background: rgba(255, 255, 255, 0.02) !important;
}

.doc-icon-dark i {
    font-size: 28px !important;
}

.yin-btn-icon-dark {
    color: #94a3b8 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
}

.yin-btn-icon-dark:hover {
    color: #00f0ff !important;
    border-color: #00f0ff !important;
}

/* Forms */
.yin-input-dark {
    background: #050a15 !important;
    border: 1px solid #1a2942 !important;
    color: #00f0ff !important;
    border-radius: 0 !important;
}

.yin-input-dark:focus {
    border-color: #00f0ff !important;
    box-shadow: inset 0 0 5px rgba(0, 240, 255, 0.2) !important;
    color: #fff !important;
    background: #050a15 !important;
}

.yin-input-dark-readonly {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #1a2942 !important;
    color: #64748b !important;
    border-radius: 0 !important;
}

/* =========================================
   MINIMALIST CORPORATE / CLEAN SAAS (v5)
   ========================================= */

.yin-v5-ui {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    background-color: transparent !important;
}

/* Cards & Containers */
.yin-v5-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    border-radius: 8px !important;
}

.yin-v5-modal {
    background: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Typography */
.text-slate-900 {
    color: #0f172a !important;
}

.text-slate-700 {
    color: #334155 !important;
}

.text-slate-500 {
    color: #64748b !important;
}

.text-slate-300 {
    color: #cbd5e1 !important;
}

/* Buttons */
.yin-v5-btn-primary {
    background: #00A1ED !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    transition: background 0.15s !important;
    box-shadow: none !important;
}

.yin-v5-btn-primary:hover {
    background: #008fcd !important;
    color: #ffffff !important;
}

.yin-v5-btn-secondary {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    transition: all 0.15s !important;
}

.yin-v5-btn-secondary:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.yin-v5-btn-ghost {
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    transition: color 0.15s !important;
    padding: 8px 16px !important;
}

.yin-v5-btn-ghost:hover {
    color: #00A1ED !important;
}

/* Search Hero */
.yin-v5-search-wrap {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 4px 4px 4px 16px !important;
    background: #ffffff !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.yin-v5-search-wrap:focus-within {
    border-color: #00A1ED !important;
    box-shadow: 0 0 0 3px rgba(0, 161, 237, 0.1) !important;
}

.yin-v5-search-input {
    border: none !important;
    background: transparent !important;
    color: #0f172a !important;
    box-shadow: none !important;
    font-size: 1.05rem !important;
    padding-left: 10px !important;
}

.yin-v5-search-input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.yin-v5-btn-scanner {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    width: 42px !important;
    height: 42px !important;
}

.yin-v5-btn-scanner:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

/* Badges & Alerts */
.yin-v5-alert {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    display: flex !important;
    align-items: flex-start !important;
}

.yin-v5-alert-warning {
    background: #fffbeb !important;
    border-color: #fde68a !important;
}

.yin-v5-alert-danger {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

.yin-v5-alert-success {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}

.yin-v5-badge-outline {
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #475569 !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
}

.yin-v5-badge-success {
    background: #dcfce7 !important;
    color: #166534 !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
}

.yin-v5-badge-danger {
    background: #fee2e2 !important;
    color: #991b1b !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
}

/* Status Banners */
.yin-v5-status-banner {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    padding: 16px 20px !important;
}

.yin-v5-status-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.yin-v5-status-icon-amber {
    background: #fef3c7 !important;
    color: #d97706 !important;
}

.yin-v5-status-icon-emerald {
    background: #dcfce7 !important;
    color: #15803d !important;
}

/* Lists & Tiles */
.yin-v5-file-list {
    display: flex !important;
    flex-direction: column !important;
}

.yin-v5-file-item {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 12px 0 !important;
}

.yin-v5-file-item:last-child {
    border-bottom: none !important;
}

.yin-v5-file-icon {
    color: #cbd5e1 !important;
}

.yin-v5-file-icon.pdf {
    color: #ef4444 !important;
}

/* Form inputs */
.yin-v5-input {
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    padding: 10px 14px !important;
    color: #0f172a !important;
    transition: all 0.2s !important;
    font-size: 1rem !important;
}

.yin-v5-input:focus {
    border-color: #00A1ED !important;
    box-shadow: 0 0 0 3px rgba(0, 161, 237, 0.1) !important;
    outline: none !important;
}

.yin-v5-input[readonly] {
    background: #f8fafc !important;
    color: #64748b !important;
}

/* Advisory Pill Button */
.yin-advisory-pill-btn {
    display: inline-flex !important;
    align-items: center !important;
    padding: 7px 18px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 50px !important;
    color: #1e293b !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.yin-advisory-pill-btn:hover {
    background: #f8fafc !important;
    border-color: #f59e0b !important;
    color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15) !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

.yin-advisory-pill-icon {
    font-size: 18px !important;
    margin-right: 7px !important;
    color: #d97706 !important;
    transition: transform 0.2s ease !important;
}

.yin-advisory-pill-btn:hover .yin-advisory-pill-icon {
    transform: scale(1.15) rotate(-10deg) !important;
}

/* Older Firmware Versions Toggle & Container */
.yin-toggle-older-firmware {
    color: #64748b !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    padding: 6px 16px !important;
    border-radius: 50px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.yin-toggle-older-firmware:hover,
.yin-toggle-older-firmware.active {
    color: var(--yin-primary, #0284c7) !important;
    background: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
    text-decoration: none !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

.yin-older-firmware-container {
    animation: yinFadeSlideDown 0.25s ease-out;
}

@keyframes yinFadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yin-older-firmware-item {
    transition: all 0.2s ease !important;
}

.yin-older-firmware-item:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    border-color: #cbd5e1 !important;
}

.yin-cctv-guide-btn {
    color: var(--yin-primary, #00A1ED) !important;
    background-color: transparent !important;
    border-color: var(--yin-primary, #00A1ED) !important;
    transition: all 0.2s ease-in-out !important;
}

.yin-cctv-guide-btn:hover,
.yin-cctv-guide-btn:focus,
.yin-cctv-guide-btn:active {
    background-color: var(--yin-primary, #00A1ED) !important;
    color: #ffffff !important;
    border-color: var(--yin-primary, #00A1ED) !important;
}