/* 
   ==========================================================================
   SMART LABEL PRO - COMPONENTS (CLEANED)
   - Standardized UI Elements (Cards, Buttons, Modals, Tables)
   ========================================================================== */

/* --- Cards --- */
.card {
    background: var(--white);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 18px;
    overflow: hidden;
}

.section-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 18px;
}

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

.clinical-page-root {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.clinical-main-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 18px;
    margin-bottom: 0 !important;
}

.clinical-scroll-area {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

/* --- Headers & Titles --- */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--slim-height);
    margin: 18px 0;
}

.card-title,
.page-title,
.modal-header-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--slim-height);
    line-height: var(--slim-height);
}

.card-title .sl-icon,
.page-title .sl-icon,
.modal-header-title .sl-icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: var(--text-muted);
}

/* --- Search & Inputs --- */
.search-bar {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.search-container {
    position: relative;
    flex: 1;
}

.search-input {
    height: var(--slim-height);
    border: 1px solid var(--border-color);
    border-radius: var(--slim-radius);
    padding: 0 12px;
    font-size: 0.7rem;
    font-family: inherit;
    background-color: var(--white);
    color: var(--text-main);
    transition: .2s;
    outline: none;
    display: inline-flex;
    align-items: center;
}

select.search-input {
    appearance: none;
    -webkit-appearance: none;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center !important;
    padding-right: 30px !important;
    cursor: pointer;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.1);
}

.search-input[readonly],
.search-input:disabled,
select.search-input:disabled {
    background-color: var(--bg-color) !important;
    color: var(--text-muted) !important;
    opacity: 0.7;
    cursor: not-allowed;
}

.search-input.input-invalid {
    border-color: var(--status-danger) !important;
    background-color: #fff5f5 !important;
    color: var(--status-danger) !important;
}

.input-imported {
    background-color: #64748b !important;
    color: #ffffff !important;
    border-color: #475569 !important;
    font-weight: 700 !important;
}

.input-imported option,
.input-imported option:checked,
select option:checked {
    background-color: #64748b !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.input-imported option:not(:checked) {
    color: rgba(255, 255, 255, 0.7) !important;
}

.input-file-slim {
    padding: 0 !important;
    display: flex;
    align-items: center;
    color: var(--text-main);
    font-size: 0.75rem;
}

.input-file-slim::file-selector-button,
.input-file-slim::-webkit-file-upload-button {
    height: calc(var(--slim-height) - 2px);
    margin: 0;
    margin-right: 12px;
    padding: 0 12px;
    border: none;
    border-right: 1px solid var(--border-color);
    background: #f8fafc;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: 0.2s;
}

.input-with-unit {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-unit input {
    padding-right: 42px !important;
}


.input-unit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.7rem;
    pointer-events: none;
    font-weight: 700;
}

/* --- Buttons --- */
.btn {
    height: var(--slim-height);
    min-width: 105px;
    padding: 0 12px;
    border-radius: var(--slim-radius);
    border: 1px solid var(--border-color);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: .7rem;
    font-family: inherit;
    transition: .2s;
    background: #f9fafb;
    color: var(--text-muted);
    white-space: nowrap;
}

.btn:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    color: var(--text-main);
}

.btn-primary {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background: #475569 !important;
}

.btn-secondary {
    background: var(--white) !important;
    color: var(--text-muted) !important;
}

.btn-dark-grey {
    background: #334155 !important;
    border-color: #334155 !important;
    color: #fff !important;
}

.btn-header {
    width: 130px;
    justify-content: center;
    flex-shrink: 0;
}

.btn-icon,
.btn-square {
    min-width: var(--slim-height) !important;
    width: var(--slim-height) !important;
    padding: 0 !important;
    justify-content: center !important;
    flex-shrink: 0;
}

.btn-red {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border-color: #fecdd3 !important;
}

.btn-red:hover {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
}

.btn-green {
    background: #dcfce7 !important;
    color: #166534 !important;
    border-color: #bbf7d0 !important;
}

.btn-green:hover {
    background: #f0fdf4 !important;
    border-color: #22c55e !important;
}

.btn-slim {
    height: 28px !important;
    padding: 0 10px !important;
    min-width: 80px !important;
    font-size: 0.65rem !important;
}

.btn-dashed {
    border-style: dashed !important;
    border-width: 1.5px !important;
}

/* --- Badges & Status --- */
.alert-badge {
    height: 18px;
    min-width: 24px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.alert-red {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecdd3 !important;
}

.alert-orange {
    background: #ffedd5 !important;
    color: #9a3412 !important;
    border: 1px solid #fed7aa !important;
}

.alert-green {
    background: #dcfce7 !important;
    color: #166534 !important;
    border: 1px solid #bbf7d0 !important;
}

.alert-blue {
    background: #f1f5f9 !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border-color) !important;
}

.alert-info {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}

.alert-soft-blue {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #dbeafe !important;
}

.status-cartouche {
    width: fit-content;
    padding: 0 8px;
    border-radius: 10px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    height: var(--slim-height);
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* --- Metrics --- */
.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.metric-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
    opacity: 0.8;
}

.scanner-status-cartouche {
    width: 100%;
    height: var(--slim-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--slim-radius);
    color: var(--text-muted);
    font-size: 0.75rem;
}


/* --- Tables --- */
.table-responsive {
    width: 100%;
    overflow: auto;
    border-radius: 10px;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.data-table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

.data-table thead th {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #f8fafc;
    color: var(--text-muted);
    font-size: 0.70rem;
    font-weight: 700;
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.data-table thead th:first-child {
    border-left: 1px solid var(--border-color);
    border-top-left-radius: 10px;
}

.data-table thead th:last-child {
    border-top-right-radius: 10px;
}

.data-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-family: 'IBM Plex Mono', monospace;
    white-space: nowrap;
    vertical-align: middle;
}

.data-table td:first-child {
    border-left: 1px solid var(--border-color);
}

.data-table tbody tr:nth-child(odd) {
    background: var(--white);
}

.data-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.data-table tr:hover {
    background: #f1f5f9;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.page-btn {
    min-width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--white);
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.table-footer-row {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* --- Borderless Tables --- */
.borderless-table-wrap {
    margin-bottom: 0 !important;
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--border-color);
}

.borderless-footer {
    padding: 12px 0 !important;
    justify-content: flex-start !important;
    gap: 12px;
}

/* --- Modals --- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-backdrop.modal-visible {
    display: flex !important;
}


.modal {
    background: var(--white);
    border-radius: 12px;
    padding: 18px;
    max-width: 900px;
    max-height: 98vh;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    animation: modalSlideUp 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

.modal-lg {
    width: 850px;
}

.modal-600 {
    width: 600px;
}

.modal-450 {
    width: 450px;
}

.modal-fit {
    width: fit-content !important;
    min-width: 450px;
}

.w-130 {
    width: 130px !important;
    flex-shrink: 0;
}

.w-278 {
    width: 278px !important;
    flex-shrink: 0;
}

.w-110 {
    width: 110px !important;
    flex-shrink: 0;
}

.w-100 {
    width: 100px !important;
    flex-shrink: 0;
}

.w-240 {
    width: 240px;
}

.w-366 {
    width: 366px !important;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.modal-close {
    width: var(--slim-height);
    height: var(--slim-height);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
}

.modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecdd3;
}

.modal-close .sl-icon {
    font-size: 0.85rem;
}

.modal-footer,
.modal-footer-naked {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

.modal-footer {
    padding-top: 0;
    border-top: none;
}

.modal-body-scrollable {
    max-height: calc(98vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
}

/* --- Clinical Tab System --- */
.clinical-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding: 0 4px;
}

.tab-item {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
    font-size: 0.85rem;
}

.tab-item:hover {
    color: var(--text-main);
}

.tab-item.active {
    color: var(--primary-color);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.tab-item .sl-icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

/* --- Specialized Components --- */
.camera-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-preview video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    position: relative;
    z-index: 5;
}

.scanner-init-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #000;
    color: #fff;
    z-index: 10;
    transition: opacity 0.3s;
}

.scanner-init-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border-radius: 16px;
    background: var(--white);
    color: var(--text-main);
    font-weight: 700;
    border: 1px solid var(--border-color);
    transition: .2s;
    text-decoration: none !important;
}

.google-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

/* --- LED Identity Scale --- */
.led-preview-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.led-color-name {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.led-preview {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1.5px #e2e8f0, 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.bg-color-rouge {
    background-color: #ef4444 !important;
}

.bg-color-vert {
    background-color: #22c55e !important;
}

.bg-color-bleu {
    background-color: #3b82f6 !important;
}

.bg-color-jaune {
    background-color: #f59e0b !important;
}

.bg-color-orange {
    background-color: #f97316 !important;
}

.bg-color-cyan {
    background-color: #06b6d4 !important;
}

.bg-color-violet {
    background-color: #8b5cf6 !important;
}

.bg-color-blanc {
    background-color: #f1f5f9 !important;
    border: 2px solid #e2e8f0;
}

.color-rouge {
    color: #ef4444 !important;
}

.color-vert {
    color: #10b981 !important;
}

.color-bleu {
    color: #3b82f6 !important;
}

.color-jaune {
    color: #f59e0b !important;
}

.color-orange {
    color: #f97316 !important;
}

.color-cyan {
    color: #06b6d4 !important;
}

.color-violet {
    color: #8b5cf6 !important;
}

.color-blanc {
    color: var(--text-muted) !important;
}

@keyframes led-pulse {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
        box-shadow: 0 0 10px 2px currentColor;
    }

    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.pulse-red,
.pulse-green,
.pulse-blue,
.pulse-yellow,
.pulse-orange,
.pulse-cyan,
.pulse-purple,
.pulse-white {
    animation: led-pulse 2s infinite ease-in-out;
}

/* --- Audit & History Areas (Clinical Grey-Hollowed Pattern) --- */
.audit-scroll-area,
.modal-history-content {
    max-height: 550px;
    overflow-y: auto;
    padding: 24px;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}


.audit-timeline {
    position: relative;
    padding-left: 20px;
}

/* Line is now handled per-item to ensure it stops exactly at the last icon */
.audit-item {
    position: relative;
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
}

.audit-item::before {
    content: '';
    position: absolute;
    left: -13px;
    /* Center of the 16px icon (margin-left -21px + 8px radius) */
    top: 20px;
    /* Start below the icon center */
    bottom: -28px;
    /* Extend to reach the next item's icon */
    width: 2px;
    background: #cbd5e1;
    z-index: 1;
}

.audit-item:last-child::before {
    display: none;
}


.audit-item:last-child {
    margin-bottom: 0;
}

.audit-icon {
    position: relative;
    z-index: 2;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -21px;
    /* 20 (padding) - 7 (line) + 8 (radius) = 21 */
    flex-shrink: 0;
    margin-top: 1px;
}

.audit-content {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.audit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.audit-event {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
}

.audit-user-inline {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.7rem;
}

.audit-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: 'IBM Plex Mono', monospace;
}

.audit-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.audit-meta-pill {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    font-size: 0.65rem;
}

.pill-label {
    padding: 2px 8px;
    background: #e2e8f0;
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
}

.pill-value {
    padding: 2px 8px;
    color: var(--text-main);
    font-weight: 600;
}

.audit-raw {
    background: #1e293b;
    color: #f1f5f9;
    padding: 18px;
    border-radius: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    overflow-x: auto;
    white-space: pre-wrap;
}


/* --- Global Scrollbar Utilities --- */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* --- Physical ESL Bezel & Display --- */
.esl-bezel {
    background: #f8fafc;
    border-radius: 12px;
    padding: 0;
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
    border: 1px solid #1e293b;
    position: relative;
    margin: 0 auto;
    display: block;
    box-sizing: border-box; /* Critical for padding math */
}

.esl-screen {
    background: #ffffff;
    border: 3px solid #000000;
    border-radius: 2px;
    overflow: hidden;
    position: absolute;
    display: block;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
    box-sizing: content-box;
    z-index: 10;
}

.esl-screen iframe {
    display: block;
    border: none;
    width: 100%;
    height: 100%;
}

.esl-led {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 16px !important;
    height: 8px !important;
    background: #334155;
    border-radius: 2px !important;
    z-index: 20;
    animation: esl-blink-slow 2s infinite ease-in-out;
}

@keyframes esl-blink-slow {
    0%, 100% { 
        background-color: #334155; 
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    50% { 
        background-color: #22c55e; 
        box-shadow: 0 0 15px #22c55e, 0 0 5px #22c55e;
    }
}

.esl-red {
    color: #ef4444 !important;
}

.esl-yellow-bg {
    background: #facc15 !important;
    color: #000 !important;
}

.esl-barcode-vertical {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 16px !important;
    height: 70% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 20;
}

.esl-barcode-vertical-img {
    display: block !important;
    width: 100px !important;
    height: 16px !important;
    object-fit: contain !important;
    transform: rotate(90deg) !important;
    transform-origin: center center !important;
    opacity: 1 !important;
}

.esl-info-section {
    flex: 55 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border-right: 2px solid #000 !important;
}

.esl-price-section {
    flex: 45 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 8px !important;
}

.esl-banner-top {
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 8px !important;
    font-size: 0.6rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

.esl-main-info {
    padding: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex: 1 !important;
}

.esl-product-name {
    font-size: 1rem !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    margin-bottom: 2px;
    color: #000 !important;
}

.esl-product-brand {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #000 !important;
}

.esl-product-qty {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    margin-top: 0;
    color: #000 !important;
}

.esl-price-main {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 900 !important;
    font-size: 3.5rem !important;
    letter-spacing: -2px !important;
    color: #ef4444 !important;
}

.esl-price-unit {
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    text-align: right !important;
    display: flex !important;
    flex-direction: column !important;
    color: #ef4444 !important;
}

.audit-meta-cartouche {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
    max-width: 450px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}