/* Vendor Program Manager CSS - Premium Overhaul */

/* Header Layout Alignment */
.app-header {
    padding: 25px 4px !important;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-right .header-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
}

.header-right .header-actions .logout-button {
    margin-bottom: 0;
    margin-right: 0;
}

/* Search Card */
.search-card {
    margin-bottom: 1.5rem;
    background: var(--card-bg, #1a1a25);
    border: 1px solid var(--border, #3a3a4a);
}

.top-search-wrapper {
    margin-top: 10px;
}

.full-search-input-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.search-icon-inside {
    position: absolute;
    left: 18px;
    color: #8bb33c;
    font-size: 1.25rem;
    pointer-events: none;
    z-index: 2;
}

.full-search-input-box input {
    width: 100%;
    padding: 0.95rem 1rem 0.95rem 3.2rem;
    border-radius: 12px;
    border: 2px solid #3a3a4a;
    background: #13131c;
    color: #e0e0ff;
    font-size: 1.05rem;
    font-weight: 500;
    transition: var(--transition, all 0.3s ease);
}

.full-search-input-box input:focus {
    outline: none;
    border-color: #8bb33c;
    box-shadow: 0 0 20px rgba(139, 179, 60, 0.4);
}

.full-search-input-box #search-clear-btn {
    height: 48px;
    padding: 0 1.25rem;
    white-space: nowrap;
    border-radius: 10px;
}

/* Drop Zone */
.file-upload-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drop-zone {
    border: 2px dashed rgba(139, 179, 60, 0.4);
    border-radius: 14px;
    padding: 1.8rem 1rem;
    text-align: center;
    background: rgba(25, 25, 37, 0.7);
    cursor: pointer;
    transition: var(--transition, all 0.3s ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: #8bb33c;
    background: rgba(139, 179, 60, 0.15);
    box-shadow: 0 8px 25px rgba(139, 179, 60, 0.25);
}

.drop-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(139, 179, 60, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    border: 1px solid rgba(139, 179, 60, 0.3);
}

.drop-zone-icon {
    font-size: 1.8rem;
    color: #8bb33c;
}

.drop-zone-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.drop-zone-subtext {
    font-size: 0.78rem;
    color: #94a3b8;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.stat-box {
    background: linear-gradient(135deg, rgba(30, 30, 45, 0.8), rgba(20, 20, 30, 0.9));
    border-radius: 14px;
    padding: 1.25rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition, all 0.3s ease);
}

.stat-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.lajree-stat {
    border-left: 4px solid #e11d48;
    box-shadow: 0 4px 20px rgba(225, 29, 72, 0.15);
}

.silkfolks-stat {
    border-left: 4px solid #d97706;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.15);
}

.stat-title {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.lajree-stat .stat-count {
    font-size: 2rem;
    font-weight: 700;
    color: #fb7185;
    text-shadow: 0 0 12px rgba(251, 113, 133, 0.4);
}

.silkfolks-stat .stat-count {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

.program-actions-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.actions-info {
    min-width: 250px;
    flex: 1;
}

.btn-pdf {
    background: #4f46e5;
    color: white;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: all 0.2s ease;
}

.btn-pdf:hover {
    background: #ffffff;
    color: #3730a3;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    filter: brightness(1.1);
}

.actions-right-column {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Sleek Live Metrics Display - Non-Button UI */
.program-live-stats {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stat-metric-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.15);
}

.metric-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.stat-lajree-metric .metric-dot {
    background: #fb7185;
    box-shadow: 0 0 8px #fb7185;
}

.stat-silkfolks-metric .metric-dot {
    background: #fbbf24;
    box-shadow: 0 0 8px #fbbf24;
}

.metric-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
}

.metric-number {
    font-size: 1.15rem;
    font-weight: 800;
}

.stat-lajree-metric .metric-number {
    color: #fb7185;
    text-shadow: 0 0 10px rgba(251, 113, 133, 0.35);
}

.stat-silkfolks-metric .metric-number {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.35);
}

.action-buttons-inline {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.action-buttons-inline .btn {
    white-space: nowrap;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.35rem;
}

.stat-logo-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    object-fit: contain;
    padding: 2px;
    border: 2px solid #8bb33c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Badges for Program Source - Matched to Logo Colors */
.badge-lajree {
    background: rgba(225, 29, 72, 0.15);
    color: #fb7185;
    border: 1px solid rgba(225, 29, 72, 0.4);
    padding: 0.25rem 0.35rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.badge-silkfolks {
    background: rgba(217, 119, 6, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(217, 119, 6, 0.4);
    padding: 0.25rem 0.35rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.table-store-logo {
    width: auto;
    height: 30px;
    border-radius: 23px;
    background: #ffffff;
    object-fit: contain;
    padding: 1px 18px;
    border: 1.5px solid currentColor;
}

/* Table Header & Filter Toggle Button */
.table-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.filter-toggle-btn {
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    background: #1d1d2b;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-toggle-btn:hover {
    background: #28283a;
    border-color: #8bb33c;
    color: #ffffff;
}

.filter-toggle-btn.active {
    background: #8bb33c !important;
    color: #ffffff !important;
    border-color: #8bb33c !important;
    box-shadow: 0 0 12px rgba(139, 179, 60, 0.4);
}

.modified-count-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
}

.filter-toggle-btn.active .modified-count-badge {
    background: #ffffff !important;
    color: #8bb33c !important;
}

/* Premium Quantity History Badge */
.qty-history-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.35rem 0.9rem;
    border-radius: 25px;
    background: rgba(139, 179, 60, 0.12);
    border: 1px solid rgba(139, 179, 60, 0.35);
    font-weight: 700;
}

.qty-orig-val {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.95rem;
}

.qty-line-arrow {
    display: inline-block;
    vertical-align: middle;
    margin: 0 4px;
}

.qty-to-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #8bb33c;
    background: rgba(139, 179, 60, 0.22);
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(139, 179, 60, 0.4);
}

.qty-val-highlight {
    color: #8bb33c;
    font-size: 1.15rem;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(139, 179, 60, 0.35);
}

/* Quantity Input Field for Manual Editing */
.qty-input {
    width: 80px;
    height: 46px;
    background: #191924;
    border: 1px solid #3a3a4a;
    border-radius: 10px;
    color: #8bb33c;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: all 0.2s ease;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input:focus {
    border-color: #8bb33c;
    box-shadow: 0 0 10px rgba(139, 179, 60, 0.4);
    background: #232332;
}

/* Round & Solid Colored +/- Quantity Buttons */
.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    border: none !important;
}

.qty-btn i {
    font-size: 0.85rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn-minus {
    background: #d32b39;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(211, 43, 57, 0.4);
}

.qty-btn-minus:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.7);
    transform: scale(1.08);
}

.qty-btn-plus {
    background: #8bb33c;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(139, 179, 60, 0.4);
}

.qty-btn-plus:hover {
    background: #9cc647;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(156, 198, 71, 0.7);
    transform: scale(1.08);
}

.sku-name-text {
    font-weight: 600;
    font-family: unset;
    font-size: 1.1rem;
    color: #e0e0ff;
}

.no-data {
    text-align: center;
    padding: 3rem 1rem !important;
    color: #8bb33c;
    font-size: 1rem;
    font-weight: 600;
}

/* Pagination Wrapper & Controls */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #3a3a4a;
}

.page-info-text {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination button {
    height: 36px;
    min-width: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: #232332;
    color: #e0e0ff;
    border: 1px solid #3a3a4a;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination button:hover:not(:disabled) {
    background: #8bb33c;
    border-color: #8bb33c;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(139, 179, 60, 0.4);
}

.pagination button.active {
    background: #8bb33c;
    border-color: #8bb33c;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(139, 179, 60, 0.5);
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* SKU Image Thumbnail Styling (Portrait Aspect Ratio) */
.sku-img-wrapper {
    width: 45px;
    height: 68px;
    border-radius: 5px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: solid 1.5px #a3a3a3;
}

.sku-img-wrapper:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    border-color: #8bb33c;
    z-index: 5;
}

.sku-img-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sku-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 1.25rem;
    background: rgba(239, 68, 68, 0.12);
}

.sku-no-img {
    border-color: rgba(239, 68, 68, 0.4) !important;
}

.sku-no-img:hover {
    border-color: #ef4444 !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35) !important;
}

/* Table Header Compact Padding for /program */
.inventory-list th {
    padding: 6px !important;
}

/* Spacing Gap Between Image and SKU Name Columns */
#program-sku-table th:nth-child(1),
#program-sku-table td:nth-child(1) {
    padding-left: 1rem !important;
    padding-right: 1.2rem !important;
    text-align: center;
}

#program-sku-table th:nth-child(2),
#program-sku-table td:nth-child(2) {
    padding-left: 1.8rem !important;
}

#program-sku-table th:nth-child(5),
#program-sku-table td:nth-child(5) {
    padding-left: 2.2rem !important;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

/* Restore standard browser cursor on /program */
body {
    cursor: auto !important;
}

.cursor-dot,
.cursor-ring {
    display: none !important;
}

/* SKU Image Clickable Zoom Cursor */
.sku-img-thumb {
    cursor: zoom-in !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sku-img-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(139, 179, 60, 0.4) !important;
}

/* Lightbox Fullscreen Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInLightbox 0.25s ease-out forwards;
}

@keyframes fadeInLightbox {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 16, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    width: min(520px, 85vw);
    height: min(720px, 82vh);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: #14141f;
    border: 1px solid rgba(139, 179, 60, 0.45);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(139, 179, 60, 0.25);
    transform: scale(0.95);
    animation: scaleInLightbox 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
}

@keyframes scaleInLightbox {
    from { transform: scale(0.92); }
    to { transform: scale(1); }
}

.lightbox-close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #e0e0ff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 5;
}

.lightbox-close-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    transform: scale(1.1) rotate(90deg);
}

.lightbox-image-wrapper {
    position: relative;
    width: 100%;
    height: calc(100% - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.lightbox-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: #8bb33c;
    font-size: 2.8rem;
}

.lightbox-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-caption {
    margin-top: 0.6rem;
    background: rgba(26, 26, 37, 0.95);
    border: 1px solid rgba(139, 179, 60, 0.4);
    padding: 0.6rem 1.6rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    max-width: 95%;
}

.lightbox-sku-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Interactive Full-Screen PDF Generator Modal */
.pdf-modal-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.pdf-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 16, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pdf-modal-container {
    position: relative;
    z-index: 2;
    width: 95vw;
    max-width: 1350px;
    height: 90vh;
    background: #14141f;
    border: 1px solid rgba(139, 179, 60, 0.45);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(139, 179, 60, 0.2);
    overflow: hidden;
}

.pdf-modal-header {
    padding: 1.2rem 1.8rem;
    background: #1a1a28;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pdf-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdf-header-title h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.pdf-badge {
    background: rgba(139, 179, 60, 0.18);
    border: 1px solid rgba(139, 179, 60, 0.4);
    color: #8bb33c;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pdf-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdf-modal-close {
    background: transparent;
    border: none;
    color: #a0a0c0;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    margin-left: 10px;
    transition: color 0.2s ease;
}

.pdf-modal-close:hover {
    color: #ef4444;
}

.pdf-modal-toolbar {
    padding: 0.8rem 1.8rem;
    background: #181824;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pdf-search-filter {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.pdf-search-filter i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.pdf-search-filter input {
    width: 100%;
    background: #101018;
    border: 1px solid #2d2d3f;
    border-radius: 8px;
    padding: 8px 12px 8px 38px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
}

.pdf-search-filter input:focus {
    border-color: #8bb33c;
}

.pdf-quick-stats {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.9rem;
    color: #b0b0d0;
}

.stat-missing-alert {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.pdf-grid-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.8rem;
}

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

.pdf-editor-table th {
    position: sticky;
    top: 0;
    background: #1e1e2d;
    color: #8bb33c;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    border-bottom: 2px solid #2d2d3f;
    z-index: 5;
}

.pdf-editor-table td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
    font-size: 0.92rem;
}

.pdf-editor-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.pdf-row-missing-img {
    background: rgba(239, 68, 68, 0.12) !important;
}

.pdf-row-missing-img td {
    border-bottom-color: rgba(239, 68, 68, 0.3) !important;
}

.pdf-vendor-select {
    background: #101018;
    border: 1px solid #3a3a4e;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    outline: none;
    width: 100%;
    cursor: pointer;
}

.pdf-vendor-select:focus {
    border-color: #8bb33c;
}

.pdf-sku-input {
    background: transparent;
    border: 1px solid transparent;
    color: #ffffff;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
}

.pdf-sku-input:focus {
    background: #101018;
    border-color: #8bb33c;
    outline: none;
}

.pdf-qty-input {
    background: #101018;
    border: 1px solid #3a3a4e;
    color: #8bb33c;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    width: 70px;
}

.pdf-qty-input:focus {
    border-color: #8bb33c;
    outline: none;
}

/* Generated Files Download List */
.pdf-files-list-container {
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.pdf-file-card {
    background: #141420;
    border: 1px solid rgba(139, 179, 60, 0.25);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.pdf-file-card:hover {
    border-color: #8bb33c;
    background: #181826;
    transform: translateY(-1px);
}

.pdf-file-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pdf-file-icon {
    font-size: 1.6rem;
    color: #ef4444;
}

.pdf-file-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.pdf-file-meta {
    font-size: 0.8rem;
    color: #9090b0;
}

.btn-pdf-download {
    background: linear-gradient(135deg, #8bb33c, #00b894);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-pdf-download:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 12px rgba(139, 179, 60, 0.35);
}

/* Changed From Sheet Live Badge */
.badge-changed-from-sheet {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 6px;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
    vertical-align: middle;
    animation: pulseGlowSheet 2s infinite;
}

@keyframes pulseGlowSheet {
    0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(2, 132, 199, 0); }
    100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}