/* =========================================================
   PERMINTAAN HARGA (RFQ) - Central Turbo WMS
   ========================================================= */

:root {
    --rfq-primary: #3b82f6;
    --rfq-primary-hover: #2563eb;
    --rfq-primary-light: #eff6ff;
    --rfq-success: #10b981;
    --rfq-success-light: #ecfdf5;
    --rfq-warning: #f59e0b;
    --rfq-warning-light: #fffbeb;
    --rfq-slate: #0f172a;
    --rfq-border: #e2e8f0;
    --rfq-card-bg: #ffffff;
    --rfq-text: #0f172a;
    --rfq-muted: #64748b;
}

/* Category Selector Switcher Cards */
.category-toggle-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 0;
}

.category-card {
    position: relative;
    border: 1.5px solid var(--line, #e2e8f0);
    border-radius: 14px;
    padding: 14px 18px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 0;
}

.category-card:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    transform: translateY(-1px);
}

.category-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.category-card.active {
    border-color: #1d4ed8;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.category-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.category-card.active .category-card-icon {
    background: #1d4ed8;
    color: #fff;
}

.category-card-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.category-card-info {
    flex: 1;
    min-width: 0;
}

.category-card-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--text, #0f172a);
    letter-spacing: -0.01em;
}

.category-card-info p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--muted, #64748b);
    line-height: 1.35;
}

.category-card-check {
    margin-left: auto;
    font-size: 20px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.category-card.active .category-card-check {
    color: #1d4ed8;
}

/* Sales Identity Profile Box */
.sales-identity-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1.5px solid var(--line, #e2e8f0);
    border-radius: 14px;
    height: 120px;
}

.sales-avatar-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
}

.sales-identity-meta {
    flex: 1;
    min-width: 0;
}

.sales-identity-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.sales-identity-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sales-identity-desc {
    font-size: 12px;
    color: var(--muted, #64748b);
    margin-top: 2px;
}

/* Enforce No Underlines on buttons/links */
.btn-outline-soft,
.btn-main,
.header-actions a,
.form-actions a,
.form-actions a:hover,
.header-actions a:hover {
    text-decoration: none !important;
}

/* Duplicate Check & Smart Adoption Notification Box */
.duplicate-alert-box {
    background: #ffffff;
    border: 1.5px solid #fef08a;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    display: none;
    animation: rfqSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.duplicate-alert-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #92400e;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #fef9c3;
}

.btn-close-dup {
    background: transparent;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.btn-close-dup:hover {
    color: #0f172a;
}

.duplicate-alert-item {
    background: #fafaf9;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 8px;
    transition: all 0.18s ease;
}

.duplicate-alert-item:hover {
    background: #ffffff;
    border-color: #d6d3d1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

/* Conflict Item (Customer & Item Identical) */
.duplicate-conflict-item {
    background: #fff1f2;
    border-color: #fecdd3;
}

.duplicate-conflict-item:hover {
    background: #ffe4e6;
    border-color: #fda4af;
}

.duplicate-conflict-badge {
    font-size: 12px;
    font-weight: 800;
    color: #be123c;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
}

.duplicate-conflict-body {
    font-size: 12.5px;
    color: #334155;
    line-height: 1.4;
}

.duplicate-conflict-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.btn-conflict-link {
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 3px 9px;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

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

/* Match & Adoption Item */
.duplicate-thumb-wrap {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.duplicate-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duplicate-item-title {
    font-size: 13.5px;
    color: #0f172a;
    line-height: 1.3;
}

.duplicate-item-sub {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.3;
}

.duplicate-adopt-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.duplicate-price-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.duplicate-price-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.duplicate-price {
    font-size: 15px;
    font-weight: 800;
    color: #059669;
    letter-spacing: -0.01em;
}

.btn-adopt-trigger {
    background: #059669;
    color: #ffffff;
    border: none;
    border-radius: 9px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-adopt-trigger:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
}

.btn-adopt-trigger:active {
    transform: translateY(0) scale(0.97);
}

.duplicate-waiting-note {
    font-size: 11.5px;
    color: #d97706;
    font-weight: 600;
}

/* Active Adoption Banner in Form */
.adoption-active-banner {
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    animation: rfqSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
    flex-wrap: wrap;
}

.adoption-active-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #059669;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.adoption-active-text {
    font-size: 12.5px;
    color: #064e3b;
    line-height: 1.4;
    flex: 1;
}

.btn-cancel-adoption {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
}

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

/* Adoption Meta Link in Detail */
.rfq-meta-adopted {
    color: #1e293b;
}

.rfq-adopted-link {
    color: #2563eb !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

.rfq-adopted-link:hover {
    color: #1d4ed8 !important;
}

/* Photo Upload Box (Modern SaaS Style) */
.photo-upload-zone {
    border: 1.5px dashed var(--line, #e2e8f0);
    border-radius: 14px;
    padding: 18px 20px;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s ease;
}

.photo-upload-zone:hover,
.photo-upload-zone.dragover {
    border-color: #1d4ed8;
    background: #f8fbff;
}

.photo-upload-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.upload-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.upload-text-wrap {
    text-align: left;
}

.upload-main-text {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text, #0f172a);
}

.upload-sub-text {
    display: block;
    font-size: 12px;
    color: var(--muted, #64748b);
    margin-top: 2px;
}

.photo-preview-container {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: 12px;
}

.photo-preview-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--line, #e2e8f0);
}

.photo-preview-info {
    flex: 1;
}

.photo-preview-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text, #0f172a);
}

/* Multi-photo 3-Card Grid Preview (Form Input) */
.photo-multi-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .photo-multi-preview-grid {
        grid-template-columns: 1fr;
    }
}

.photo-preview-card {
    background: #ffffff;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.photo-preview-card:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.photo-preview-thumb-wrap {
    position: relative;
    width: 100%;
    height: 120px;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.photo-preview-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-preview-card:hover .photo-preview-thumb-img {
    transform: scale(1.04);
}

.photo-preview-slot-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.03em;
}

.photo-preview-del-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.9);
    color: #ffffff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.photo-preview-del-btn:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

.photo-preview-card-info {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #f8fafc;
    border-top: 1px solid var(--line, #e2e8f0);
}

.photo-preview-card-title {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-preview-card-meta {
    font-size: 10.5px;
    color: var(--muted, #64748b);
}

/* Multi-photo Gallery Grid (Detail Page) */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 991px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .photo-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.photo-gallery-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}


/* Signature Pad Canvas */
.signature-box {
    border: 1.5px dashed var(--line, #e2e8f0);
    border-radius: 14px;
    background: #ffffff;
    position: relative;
    touch-action: none;
    overflow: hidden;
    height: 120px;
}

.signature-box.has-signature {
    border-color: #1d4ed8;
}

.signature-box.signature-error {
    border-color: #dc2626 !important;
    border-style: solid !important;
    background-color: #fef2f2 !important;
}

.signature-box.has-signature .signature-placeholder {
    display: none !important;
}

#signatureCanvas {
    width: 100%;
    height: 120px;
    cursor: crosshair;
    display: block;
    background: transparent;
    position: relative;
    z-index: 2;
}

.signature-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
    z-index: 1;
}

.btn-clear-sig {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted, #64748b);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.btn-clear-sig:hover {
    color: #dc2626;
}

/* Status Badges */
.badge-rfq-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.badge-rfq-menunggu {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-rfq-tersedia {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

/* Live Purchasing Costing Calculator Panel */
.costing-panel {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    margin-top: 24px;
}

.costing-panel-title {
    font-size: 16px;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.costing-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.costing-input-box label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 6px;
    display: block;
}

.costing-input-box input,
.costing-input-box select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-radius: 12px;
    padding: 10px 14px;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.costing-input-box input:focus,
.costing-input-box select:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: #60a5fa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}

/* ==========================================================================
   APPLE & STRIPE CLEAN LUXURY - PURCHASING COSTING ENGINE
   Strict Rule: No Glow, Clean Neutral Shadows, Apple Crisp Aesthetic
   ========================================================================== */

/* Executive Card Shell & Clean Header */
.executive-card-shell {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.clean-executive-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.executive-avatar-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.executive-title {
    font-size: 16px;
    font-weight: 750;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.executive-subtitle {
    font-size: 12.5px;
    color: #64748b;
    margin: 2px 0 0 0;
    font-weight: 450;
    line-height: 1.35;
}

.badge-receipt-ready {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 650;
    color: #0369a1;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 4px 10px;
    border-radius: 6px;
    user-select: none;
}

.badge-receipt-published {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 650;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 4px 10px;
    border-radius: 6px;
    user-select: none;
}

.status-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #0284c7;
    display: inline-block;
    position: relative;
}

.status-indicator-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid #0284c7;
    animation: pulseRingClean 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes pulseRingClean {
    0% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Crisp Clean Field Labels */
.clean-field-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 6px;
}

.clean-unit-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: normal;
}

.clean-optional {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: normal;
}

/* Stripe / Apple Segmented Currency Selector */
.currency-segmented-control {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 3px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    width: 100%;
    user-select: none;
    box-sizing: border-box;
}

.currency-pill {
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 7px;
    padding: 8px 4px;
    font-size: 12.5px;
    font-weight: 650;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.currency-pill:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.75);
}

.currency-pill.active {
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

/* Apple-Grade Quality Status Segmented Control (Genuine vs OEM) - NO GLOW */
.quality-segmented-control {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2.5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    width: 100%;
    height: 33px;
    user-select: none;
    box-sizing: border-box;
    align-items: center;
}

.quality-pill {
    height: 100%;
    text-align: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1;
}

.quality-pill i {
    font-size: 11.5px;
    transition: color 0.15s ease;
}

.quality-pill:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.65);
}

/* Inactive Icon */
.quality-pill:not(.active) i {
    color: #94a3b8 !important;
}

/* Apple-Grade Uniform Elevated Active State for BOTH Genuine & OEM */
.quality-pill.active {
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.quality-pill.active.pill-genuine {
    color: #0f172a;
}

.quality-pill.active.pill-genuine i {
    color: #2563eb !important; /* Apple Royal Blue Verified Badge */
}

.quality-pill.active.pill-oem {
    color: #0f172a;
}

.quality-pill.active.pill-oem i {
    color: #475569 !important; /* Mechanical Steel Slate */
}

/* Quick Delivery Presets Chips - NO GLOW */
.btn-delivery-chip {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    padding: 1px 6px;
    line-height: 1.3;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-delivery-chip:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Apple-Grade Status & Delivery Badges */
.badge-status-genuine {
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    border-radius: 5px;
    padding: 2px 7px;
    font-size: 10.5px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #1e293b;
}

.badge-status-oem {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #cbd5e1;
    font-weight: 700;
    border-radius: 5px;
    padding: 2px 7px;
    font-size: 10.5px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-delivery-pill {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    font-weight: 650;
    border-radius: 5px;
    padding: 2px 7px;
    font-size: 10.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Apple & Stripe Clean Input Box */
.clean-input-box {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    height: 42px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.clean-input-box:hover {
    border-color: #cbd5e1;
}

.clean-input-box:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.clean-input-box.highlight {
    border-color: #94a3b8;
}

.clean-input-box.highlight:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.clean-input-box.is-locked {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.clean-input-box.is-locked input {
    color: #64748b !important;
    cursor: not-allowed;
}

.clean-input-prefix,
.clean-input-suffix {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    user-select: none;
    flex-shrink: 0;
}

.clean-input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    width: 100%;
    height: 100%;
    font-size: 14px;
    color: #0f172a;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.clean-input:focus {
    box-shadow: none !important;
    outline: none !important;
}

.font-tabular {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

.font-price-lg {
    font-size: 16px !important;
    font-weight: 750 !important;
    color: #0f172a !important;
}

.badge-clean-fixed {
    font-size: 10.5px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
    display: inline-block;
    line-height: 1.2;
}

.btn-refresh-kurs {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 2px 4px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1;
}

.btn-refresh-kurs:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.btn-refresh-kurs.is-loading i {
    display: inline-block;
    animation: spinRefresh 0.8s linear infinite;
}

@keyframes spinRefresh {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.clean-kurs-meta {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 6px;
    width: 100%;
    position: relative;
    z-index: 5;
}

.btn-reset-kurs-pill {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 2.5px 8px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
    transition: all 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
    text-decoration: none !important;
}

.btn-reset-kurs-pill:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1d4ed8;
    transform: translateY(-1px);
}

.btn-reset-kurs-pill:active {
    transform: translateY(0);
}

.kurs-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    flex-shrink: 0;
}

/* Weight Presets Chips */
.clean-preset-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
}

.clean-preset-pill,
.btn-preset-chip {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 5px 0;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1.2;
    user-select: none;
    white-space: nowrap;
    width: 100%;
}

.clean-preset-pill:hover,
.btn-preset-chip:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.clean-preset-pill.active,
.btn-preset-chip.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* Apple Segmented Dual Shipping Selector */
.apple-shipping-segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.apple-ship-card,
.shipping-option {
    border: 1.5px solid #e2e8f0;
    border-radius: 11px;
    padding: 10px 14px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: relative;
    user-select: none;
    min-height: 68px;
}

.apple-ship-card:hover,
.shipping-option:hover {
    background: #fbfcfe;
    border-color: #cbd5e1;
}

.apple-ship-card input,
.shipping-option input {
    display: none;
}

.apple-ship-card.selected,
.shipping-option.selected {
    border-color: #2563eb !important;
    background: #f8faff !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06) !important;
}

.apple-ship-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.apple-ship-title {
    font-size: 13px;
    font-weight: 750;
    color: #1e293b;
    line-height: 1.25;
}

.apple-ship-rate {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2px;
    font-feature-settings: "tnum";
    white-space: nowrap;
    line-height: 1.25;
}

.shipping-option.selected .apple-ship-rate {
    color: #1d4ed8;
}

.rate-sub {
    font-size: 11.5px;
    font-weight: 500;
    color: #64748b;
    margin-left: 2px;
}

.apple-ship-check,
.shipping-option-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
    background: #ffffff;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.shipping-option.selected .apple-ship-check,
.shipping-option.selected .shipping-option-indicator {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}

/* Apple & Stripe Executive Clean Financial Receipt Card */
.executive-receipt-card,
.costing-summary-card {
    background: #fafbfd !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    margin-top: 14px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    position: relative;
    overflow: hidden;
}

.receipt-card-header,
.costing-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f5f9 !important;
    flex-wrap: wrap;
    gap: 8px;
}

.receipt-header-title,
.costing-terminal-title {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #1e293b !important;
    text-transform: uppercase;
}

.receipt-formula-chip {
    font-size: 11px;
    font-weight: 700;
    color: #334155 !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 3px 9px;
    border-radius: 6px;
    font-feature-settings: "tnum";
    letter-spacing: 0.02em;
}

.receipt-pill-badge,
.costing-formula-pill {
    font-size: 10.5px;
    font-weight: 650;
    color: #475569 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    padding: 2.5px 8px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
}

.receipt-table-body,
.costing-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.receipt-line-item,
.costing-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

/* SOLID CLEAN SUB-BARS (APPLE FINANCIAL LUXURY) */
.receipt-subtotal-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 9px !important;
    padding: 9px 12px !important;
    margin: 3px 0 !important;
}

.subtotal-name {
    font-size: 12.5px;
    font-weight: 750;
    color: #0f172a !important;
}

.subtotal-sub {
    font-size: 11px;
    color: #64748b !important;
    font-weight: 500;
    margin-top: 1px;
}

.subtotal-val {
    font-size: 14px;
    font-weight: 800;
    color: #0284c7 !important;
    font-feature-settings: "tnum";
}

.receipt-hpp-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 9px !important;
    padding: 9px 12px !important;
    margin: 3px 0 !important;
}

.hpp-name {
    font-size: 12.5px;
    font-weight: 750;
    color: #0f172a !important;
}

.hpp-sub {
    font-size: 11px;
    color: #475569 !important;
    font-weight: 500;
    margin-top: 1px;
}

.hpp-val {
    font-size: 14px;
    font-weight: 850;
    color: #0f172a !important;
    font-feature-settings: "tnum";
}

.line-item-desc,
.breakdown-meta {
    display: flex;
    flex-direction: column;
}

.line-item-name,
.breakdown-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155 !important;
}

.line-item-detail,
.breakdown-sub {
    font-size: 11px;
    color: #94a3b8 !important;
    font-weight: 500;
    margin-top: 1px;
}

.line-item-val,
.costing-breakdown-val {
    font-size: 13.5px;
    font-weight: 750;
    color: #0f172a !important;
    font-feature-settings: "tnum";
}

/* Spotlight Final Selling Price Box - Mint & Emerald Crisp Luxury */
.receipt-spotlight-box,
.costing-spotlight-box {
    background: #f0fdf4 !important;
    border: 1.5px solid #86efac !important;
    border-radius: 12px !important;
    padding: 15px 18px !important;
    margin-top: 12px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
}

.spotlight-header-row,
.spotlight-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    flex-wrap: wrap;
    gap: 6px;
}

.spotlight-title-text,
.spotlight-badge {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #166534 !important;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.spotlight-verified-badge,
.spotlight-status-tag {
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.03em;
    color: #15803d !important;
    background: #dcfce7 !important;
    border: 1px solid #86efac !important;
    padding: 2.5px 8px;
    border-radius: 5px;
    text-transform: uppercase;
}

.spotlight-price-amount,
.spotlight-value {
    font-size: 32px;
    font-weight: 850;
    color: #15803d !important;
    letter-spacing: -0.5px;
    font-feature-settings: "tnum";
    line-height: 1.1;
    margin: 2px 0 6px 0;
}

.spotlight-formula-pill {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11.5px;
    color: #166534 !important;
    border-top: 1px solid #bbf7d0 !important;
    padding-top: 8px;
    font-feature-settings: "tnum";
}

.spotlight-formula-pill .formula-label {
    font-weight: 600;
    color: #166534;
    opacity: 0.85;
}

.spotlight-formula-pill .formula-calc {
    font-weight: 500;
}

.spotlight-formula-pill strong {
    font-weight: 750;
    color: #14532d;
}

/* Purchasing Textarea, Signature & Action Bar */
.clean-textarea,
.costing-textarea {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    color: #0f172a !important;
    padding: 8px 12px !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.clean-textarea:focus,
.costing-textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08) !important;
}

.clean-btn-clear,
.btn-clear-sig {
    background: none;
    border: none;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s ease;
}

.clean-btn-clear:hover,
.btn-clear-sig:hover {
    color: #dc2626;
}

.clean-sig-pad-wrap,
.purchasing-sig-pad-wrap {
    border: 1.5px dashed #cbd5e1 !important;
    border-radius: 9px !important;
    background: #fafbfd !important;
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    height: 80px;
}

.clean-sig-pad-wrap canvas,
.purchasing-sig-pad-wrap canvas {
    width: 100%;
    height: 80px;
    display: block;
}

.sig-watermark-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
    pointer-events: none;
    text-align: center;
    padding: 0 16px;
    transition: opacity 0.2s ease;
}

.clean-auth-note,
.sig-helper-text {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
}

.badge-dandy-auth,
.badge-dandy-chip {
    font-size: 11.5px;
    font-weight: 650;
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 4px 10px;
    border-radius: 6px;
}

.executive-action-bar,
.costing-action-bar {
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 14px !important;
}

/* Button Simpan & Terbitkan Harga Jual (Apple & Stripe Clean Luxury) */
.btn-publish-luxury,
.btn-publish-price {
    background: #059669 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9px !important;
    height: 42px !important;
    padding: 0 22px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

.btn-publish-luxury:hover,
.btn-publish-price:hover {
    background: #047857 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12) !important;
}

.btn-publish-luxury:active,
.btn-publish-price:active {
    transform: translateY(0) scale(0.99) !important;
}

@media (max-width: 768px) {
    .apple-shipping-segmented {
        grid-template-columns: 1fr;
    }
    .currency-segmented-control {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    .spotlight-price-amount,
    .spotlight-value {
        font-size: 24px;
    }
}

/* WhatsApp Share Button - Strict No Glow */
.btn-whatsapp-share {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.btn-whatsapp-share:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.btn-copylink {
    background: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-copylink:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .category-toggle-group {
        grid-template-columns: 1fr;
    }
    
    .shipping-selector-group {
        grid-template-columns: 1fr;
    }
    
    .costing-final-val {
        font-size: 20px;
    }
}

/* Auto-Capslock for RFQ Form Fields: Typed text is UPPERCASE, Placeholder is Normal Case */
.rfq-autocaps,
#rfqForm input[type="text"]:not([readonly]) {
    text-transform: uppercase;
}

.rfq-autocaps::placeholder,
#rfqForm input[type="text"]::placeholder {
    text-transform: none !important;
    font-weight: 400;
    letter-spacing: normal;
}

/* Form Action Button (Rata Kanan) */
#rfqForm .form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 28px;
    padding-top: 8px;
}

@media (max-width: 576px) {
    #rfqForm .form-actions {
        justify-content: stretch;
    }
    #rfqForm .form-actions .btn-main {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   DETAIL RFQ PAGE - APPLE-GRADE EXECUTIVE REDESIGN
   ========================================================================== */

/* Outer Layout Spacing (Compact Apple-Grade Proportions) */
.rfq-detail-wrap {
    padding: 16px 20px 20px 20px !important;
}

@media (min-width: 1200px) {
    .rfq-detail-wrap {
        padding: 16px 24px 24px 24px !important;
    }
}

/* Apple Staggered Page Entrance Animation */
@keyframes appleFadeInBlur {
    0% {
        opacity: 0;
        transform: translateY(14px) scale(0.99);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.rfq-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line, #e2e8f0);
    padding: 14px 24px 12px 24px !important;
    margin-bottom: 0 !important;
    animation: appleFadeInBlur 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.row.align-items-stretch > div:nth-child(1) > .rfq-card {
    animation: appleFadeInBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.row.align-items-stretch > div:nth-child(2) > .rfq-card {
    animation: appleFadeInBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

.row.g-4.g-xl-5:nth-of-type(2) > div:nth-child(1) > .rfq-card {
    animation: appleFadeInBlur 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.row.g-4.g-xl-5:nth-of-type(2) > div:nth-child(2) > .rfq-card {
    animation: appleFadeInBlur 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.rfq-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 9px;
}

.rfq-code {
    font-size: 26px;
    font-weight: 800;
    color: var(--text, #0f172a);
    margin: 0;
    letter-spacing: -0.03em;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.btn-copy-chip {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.btn-copy-chip:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: scale(1.06);
}

.btn-apple-back {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-apple-back:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateX(-2px);
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
}

.btn-apple-back:active {
    transform: scale(0.94);
}

.rfq-breadcrumb-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none !important;
    margin-bottom: 6px;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    width: fit-content;
}

.rfq-breadcrumb-back i {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.rfq-breadcrumb-back:hover {
    color: #0f172a;
}

.rfq-breadcrumb-back:hover i {
    transform: translateX(-3px);
}

.rfq-meta-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted, #64748b);
    line-height: 1;
}

.rfq-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.rfq-meta-item i {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.rfq-meta-item strong {
    color: #0f172a;
    font-weight: 700;
}

.rfq-meta-sep {
    color: #cbd5e1;
    font-size: 10px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.rfq-meta-divider {
    width: 1px;
    height: 13px;
    background: #cbd5e1;
    display: inline-block;
    user-select: none;
    margin: 0 2px;
}

.badge-sector {
    display: inline-flex;
    align-items: center;
    gap: 5.5px;
    padding: 3.5px 10px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.badge-sector svg,
.badge-sector i {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    flex-shrink: 0;
}

.badge-sector.badge-marine {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.badge-sector.badge-darat {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.rfq-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-wa-action {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    height: 40px;
    padding: 0 18px;
    font-weight: 700;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-wa-action:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.btn-wa-action:active {
    transform: translateY(0) scale(0.98);
}

.btn-soft-action {
    background: #ffffff;
    color: #334155 !important;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    height: 40px;
    padding: 0 16px;
    font-weight: 700;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-soft-action:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a !important;
    transform: translateY(-1px);
}

.btn-soft-action:active {
    transform: translateY(0) scale(0.98);
}

/* RFQ Header Action - Bagikan Dropdown (Apple-Grade Clean) */
.rfq-share-dropdown-wrap {
    position: relative;
}

.btn-share-action {
    background: #ffffff;
    color: #1e293b;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    height: 40px;
    padding: 0 16px;
    font-weight: 700;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    cursor: pointer;
}

.btn-share-action:hover,
.btn-share-action:focus,
.btn-share-action.show {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.btn-share-action:active {
    transform: translateY(0) scale(0.98);
}

.btn-share-action i {
    font-size: 14px;
    color: #64748b;
}

.btn-share-action::after {
    margin-left: 4px;
    vertical-align: 0.15em;
    border-top-color: #64748b;
}

.rfq-share-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 6px !important;
    min-width: 320px;
    width: max-content;
    max-width: min(390px, calc(100vw - 24px));
    padding: 7px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
    transform-origin: top right;
    z-index: 1050;
    box-sizing: border-box;
}

.rfq-share-menu.show {
    animation: appleFadeInMenu 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes appleFadeInMenu {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.rfq-share-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 11px;
    border-radius: 10px;
    transition: background 0.15s ease;
    border: none;
    width: 100%;
    text-align: left;
    background: transparent;
    cursor: pointer;
    text-decoration: none !important;
    white-space: normal !important;
    box-sizing: border-box;
}

.rfq-share-item:hover,
.rfq-share-item:focus {
    background: #f8fafc;
}

.rfq-share-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.rfq-share-item:hover .rfq-share-icon {
    transform: scale(1.08);
}

.rfq-share-icon-wa {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #d1fae5;
}

.rfq-share-icon-link {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.rfq-share-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    white-space: normal !important;
}

.rfq-share-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    white-space: normal !important;
    word-break: break-word;
}

.rfq-share-sub {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.35;
    margin-top: 2px;
    white-space: normal !important;
    word-break: break-word;
}

/* RFQ Cards General */
.rfq-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rfq-card:hover {
    box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.06), 0 2px 8px -1px rgba(15, 23, 42, 0.02);
}

.rfq-card-header {
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rfq-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.rfq-card-icon.success {
    background: #ecfdf5;
    color: #059669;
}

.rfq-card-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

.rfq-card-subtitle {
    font-size: 11.5px;
    color: #64748b;
    margin: 2px 0 0 0;
}

.rfq-card-body {
    padding: 14px 18px;
    flex: 1;
}

/* Specification Grid - Natural Compact Architecture */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    height: auto;
}

.rfq-spec-sticky {
    height: auto;
}

@media (min-width: 992px) {
    .rfq-spec-sticky {
        position: sticky;
        top: 85px;
        z-index: 10;
    }
}

.spec-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 60px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.04);
}

.spec-card.spec-full {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-color: #dbeafe;
    padding: 11px 14px;
}

.spec-label {
    font-size: 10px;
    font-weight: 750;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}

.spec-value {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    word-break: break-word;
    display: flex;
    align-items: center;
}

.spec-value-lg {
    font-size: 14.5px;
    color: #1e3a8a;
}

.spec-pn-badge {
    background: #0f172a;
    color: #ffffff;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.4px;
    font-size: 12px;
}

/* Apple-Grade Unified Part Number Copy Pill */
.pn-copy-pill {
    display: inline-flex;
    align-items: center;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 6px;
    padding: 2px 4px 2px 8px;
    gap: 6px;
    cursor: pointer;
    user-select: none;
    transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
    vertical-align: middle;
    line-height: 1.4;
    text-decoration: none;
}

.pn-copy-pill:hover {
    background: #1e293b;
    border-color: #334155;
    transform: translateY(-0.5px);
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.12);
}

.pn-copy-pill:active {
    transform: translateY(0);
}

.pn-copy-pill .pn-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-weight: 700;
    font-size: 11.5px;
    color: #f8fafc;
    letter-spacing: 0.35px;
}

.pn-copy-pill .pn-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.18);
}

.pn-copy-pill .pn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    color: #94a3b8;
    font-size: 11px;
    transition: all 0.15s ease;
}

.pn-copy-pill:hover .pn-btn {
    color: #38bdf8;
    background: rgba(255, 255, 255, 0.08);
}

.pn-copy-pill .pn-feedback {
    display: none;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #34d399;
    padding: 0 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pn-copy-pill.is-copied {
    background: #064e3b !important;
    border-color: #059669 !important;
}

.pn-copy-pill.is-copied .pn-code,
.pn-copy-pill.is-copied .pn-divider,
.pn-copy-pill.is-copied .pn-btn {
    display: none !important;
}

.pn-copy-pill.is-copied .pn-feedback {
    display: inline-flex !important;
}

.btn-copy-pn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 11px;
    color: #475569;
    cursor: pointer;
    transition: all 0.16s ease;
}

.btn-copy-pn:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.badge-sales-chip {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 750;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #bfdbfe;
}

.badge-sector-chip {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
}

.badge-marine-chip {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.badge-darat-chip {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* ==========================================================================
   WAITING CARD - ULTRA MODERN SAAS / APPLE-GRADE (CRISP SLATE & NO GLOW)
   ========================================================================== */
.rfq-waiting-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(15, 23, 42, 0.02) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100% !important;
    min-height: 100%;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.rfq-waiting-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.08) !important;
}

/* Waiting Content Wrapper */
.waiting-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* 1. Ultra-Modern Orbital Chronometer & Radar (Apple Watch Complication Style) */
.waiting-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 8px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.03);
    position: relative;
    z-index: 2;
    animation: appleFloatClean 5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

/* Revolving Dashed Orbital Ring */
.waiting-icon-wrap::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1.5px dashed #cbd5e1;
    pointer-events: none;
    animation: appleOrbitSpin 18s linear infinite;
}

@keyframes appleOrbitSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Orbiting Ring Container - Otomatis konsentris dan mengikuti ukuran waiting-icon-wrap */
.waiting-orbit-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    animation: appleSatelliteOrbit 6s linear infinite;
}

/* Orbiting Satellite Dot - Center titik tepat terkunci di atas garis putaran dashed circle */
.waiting-orbit-dot {
    position: absolute;
    top: -4px;
    left: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    border: 1.5px solid #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
}

@keyframes appleSatelliteOrbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes appleFloatClean {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(0px);
    }
}

.waiting-icon-wrap i {
    display: inline-block;
    animation: appleHourglassFlip 6.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes appleHourglassFlip {
    0%, 42% {
        transform: rotate(0deg) scale(1);
    }
    48% {
        transform: rotate(190deg) scale(1.12);
    }
    52% {
        transform: rotate(175deg) scale(0.98);
    }
    56%, 92% {
        transform: rotate(180deg) scale(1);
    }
    97% {
        transform: rotate(372deg) scale(1.12);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* 2. Status Badge - Crisp Modern Capsule */
.waiting-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 800;
    color: #b45309;
    background: #fffbeb;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
    border: 1px solid #fef08a;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.waiting-badge:hover {
    transform: scale(1.03);
}

.badge-dot-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d97706;
    display: inline-block;
    position: relative;
}

/* iOS Live Status Pulse Ring */
.badge-dot-live::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.2px solid #d97706;
    animation: appleLiveBadgeDot 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    pointer-events: none;
}

@keyframes appleLiveBadgeDot {
    0% {
        transform: scale(0.8);
        opacity: 0.95;
    }
    60% {
        transform: scale(1.65);
        opacity: 0.15;
    }
    100% {
        transform: scale(1.85);
        opacity: 0;
    }
}

/* 3. Deep Modern Slate Typography */
.waiting-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
    line-height: 1.25;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.waiting-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    max-width: 380px;
    margin: 0 auto 10px auto;
    font-weight: 450;
}

/* 4. Step Tracker - High-Definition Modern Stepper (NO GLOW) */
.waiting-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 10px auto;
    position: relative;
    padding: 0 4px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    min-width: 76px;
    cursor: default;
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.step-text {
    font-size: 10px;
    font-weight: 650;
    color: #64748b;
    margin-top: 4px;
    white-space: nowrap;
    transition: color 0.3s ease, transform 0.3s ease;
    letter-spacing: -0.01em;
}

/* Step 1: Completed - Modern Emerald */
.step-item.step-done .step-circle {
    background: #ecfdf5;
    border-color: #10b981;
    color: #059669;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.step-item.step-done:hover .step-circle {
    transform: scale(1.1);
}

.step-item.step-done .step-text {
    color: #059669;
}

/* Step 2: Active - Living Pulse, Dual Concentric Radar Pings, Mechanical Cadence */
.step-item.step-active .step-circle {
    background: #fffbeb;
    border-color: #f59e0b;
    border-width: 2px;
    color: #d97706;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    animation: appleActiveBreath 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    position: relative;
    z-index: 3;
}

/* Dual Concentric Radar Rings - Crisp Solid Vector (ZERO GLOW) */
.step-item.step-active .step-circle::before,
.step-item.step-active .step-circle::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid #f59e0b;
    pointer-events: none;
    z-index: -1;
}

.step-item.step-active .step-circle::before {
    animation: appleRadarPing 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.step-item.step-active .step-circle::after {
    animation: appleRadarPing 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite 1.3s;
}

@keyframes appleRadarPing {
    0% {
        transform: scale(0.92);
        opacity: 0.85;
    }
    60% {
        transform: scale(1.44);
        opacity: 0.2;
    }
    100% {
        transform: scale(1.58);
        opacity: 0;
    }
}

@keyframes appleActiveBreath {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

/* Mechanical Snap-and-Cadence Spin */
.step-item.step-active .step-circle i {
    display: inline-block;
    animation: appleSpinCadence 2.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes appleSpinCadence {
    0% {
        transform: rotate(0deg);
    }
    38% {
        transform: rotate(188deg);
    }
    48% {
        transform: rotate(180deg);
    }
    85% {
        transform: rotate(365deg);
    }
    93% {
        transform: rotate(358deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Active Step Text with Live Blinking Activity Dot */
.step-item.step-active .step-text {
    color: #0f172a;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.step-item.step-active .step-text::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f59e0b;
    display: inline-block;
    animation: appleLiveDot 1.5s ease-in-out infinite;
}

@keyframes appleLiveDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.35;
        transform: scale(0.65);
    }
}

/* Step 3: Pending Inactive - Clean Minimalist Horizon */
.step-item:not(.step-done):not(.step-active) .step-circle {
    border: 1.5px dashed #cbd5e1;
    background: #f8fafc;
    color: #94a3b8;
}

/* Connecting Lines - Flowing Electric Stream & Standby Rails */
.step-line {
    height: 3px;
    flex: 1;
    background: #e2e8f0;
    margin-bottom: 16px;
    border-radius: 99px;
    position: relative;
    overflow: hidden;
}

/* Active Flowing Line - Electric Pulse Flow from Step 1 to Step 2 */
.step-line.active {
    background: linear-gradient(90deg, #10b981 0%, #34d399 25%, #ffffff 50%, #34d399 75%, #10b981 100%);
    background-size: 200% 100%;
    animation: appleEnergyFlow 2s linear infinite;
}

@keyframes appleEnergyFlow {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Pending Line - Standby Shimmer toward Step 3 */
.step-line:not(.active) {
    background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 35%, #cbd5e1 50%, #f1f5f9 65%, #e2e8f0 100%);
    background-size: 200% 100%;
    animation: applePendingFlow 3.5s ease-in-out infinite;
}

@keyframes applePendingFlow {
    0%, 100% {
        background-position: 0% 0;
    }
    50% {
        background-position: 100% 0;
    }
}

/* 5. WhatsApp Action Button - Vibrant Modern Emerald Brand (Crisp & Tactile) */
.waiting-action-wrap {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.btn-wa-followup {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 750;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7.5px;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, background 0.22s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 340px;
}

.btn-wa-followup::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -90%;
    width: 70%;
    height: 220%;
    background: linear-gradient(65deg, transparent 20%, rgba(255, 255, 255, 0.3) 50%, transparent 80%);
    transform: rotate(25deg);
    animation: appleSheenGlance 3.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes appleSheenGlance {
    0%, 55% { left: -90%; }
    75%, 100% { left: 160%; }
}

.btn-wa-followup:hover {
    transform: translateY(-2.5px) scale(1.015);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.btn-wa-followup:hover i {
    animation: appleWobble 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes appleWobble {
    0%, 100% { transform: scale(1.18) rotate(-6deg); }
    35% { transform: scale(1.24) rotate(4deg); }
    70% { transform: scale(1.15) rotate(-9deg); }
}

.btn-wa-followup i {
    font-size: 16px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-wa-followup:active {
    transform: translateY(0) scale(0.975);
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
    transition: transform 0.08s ease;
}

/* 6. Apple Callout Capsule Note */
.waiting-note {
    font-size: 11px;
    font-weight: 500;
    color: #475569;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.4;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 99px;
    max-width: 440px;
    text-wrap: balance;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.waiting-note i {
    display: inline-block;
    font-size: 13px;
    color: #0284c7;
    animation: appleNoteGently 3.2s ease-in-out infinite;
}

@keyframes appleNoteGently {
    0%, 100% {
        transform: scale(1);
        opacity: 0.88;
    }
    50% {
        transform: scale(1.16);
        opacity: 1;
        color: #0369a1;
    }
}

/* Price Hero Card (When Ready) */
.rfq-price-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-hero-box {
    background: linear-gradient(135deg, #059669, #047857);
    border-radius: 16px;
    padding: 24px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    margin-bottom: 16px;
}

.price-hero-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #a7f3d0;
    text-transform: uppercase;
}

.price-hero-amount {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 8px 0;
    letter-spacing: -0.5px;
}

.price-hero-pills {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-pill {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.price-notes-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
}

.price-notes-title {
    font-size: 12px;
    font-weight: 700;
    color: #166534;
    margin-bottom: 4px;
}

.price-notes-body {
    font-size: 13px;
    color: #14532d;
    line-height: 1.4;
}

.price-meta-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

/* Photo Nameplate Card - Ultra Modern SaaS / Apple Grade */
.rfq-card-icon-photo {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    border: 1px solid #bfdbfe !important;
    color: #2563eb !important;
}

.rfq-card-icon-sig {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%) !important;
    border: 1px solid #ddd6fe !important;
    color: #7c3aed !important;
}

.rfq-card-icon-purchasing {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    border: 1px solid #a7f3d0 !important;
    color: #059669 !important;
}

.photo-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.photo-card-img-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    height: 160px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.photo-card-img-container:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
}

.photo-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-card-img-container:hover .photo-card-img {
    transform: scale(1.05);
}

/* Photo Metadata Chips */
.photo-tag-badge {
    position: absolute;
    top: 12px;
    left: 14px;
    font-size: 9.5px;
    font-weight: 750;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 3px 8.5px;
    display: inline-flex;
    align-items: center;
    gap: 4.5px;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.2s ease;
}

.photo-tag-badge i {
    color: #38bdf8;
    font-size: 10.5px;
}

.photo-tag-res {
    position: absolute;
    bottom: 12px;
    right: 14px;
    font-size: 9.5px;
    font-weight: 750;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 3px 8.5px;
    display: inline-flex;
    align-items: center;
    gap: 4.5px;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.2s ease;
}

.photo-tag-res i {
    color: #34d399;
    font-size: 10.5px;
}

/* Frosted Glass Hover Overlay */
.photo-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}

.photo-card-img-container:hover .photo-card-overlay {
    opacity: 1;
}

.btn-zoom-overlay {
    background: #ffffff;
    color: #0f172a;
    font-size: 12.5px;
    font-weight: 750;
    padding: 9px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transform: scale(0.92) translateY(4px);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.photo-card-img-container:hover .btn-zoom-overlay {
    transform: scale(1) translateY(0);
}

/* Photo Action Buttons */
.photo-card-actions {
    display: flex;
    gap: 12px;
}

.btn-photo-action {
    flex: 1;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7.5px;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn-photo-zoom {
    background: #eff6ff;
    color: #1d4ed8 !important;
    border: 1.5px solid #bfdbfe;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.btn-photo-zoom:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1e40af !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.btn-photo-download {
    background: #f8fafc;
    color: #0f172a !important;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.btn-photo-download:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.btn-photo-download:hover i {
    animation: appleDownloadBounce 0.6s ease-in-out;
}

@keyframes appleDownloadBounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(3px); }
    70% { transform: translateY(-2px); }
}

.btn-photo-action:active {
    transform: translateY(0) scale(0.975);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* Modern Status Pills (Row 2 Cards) */
.badge-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5.5px;
    font-size: 11px;
    font-weight: 750;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.badge-status-pill:hover {
    transform: scale(1.03);
}

.badge-status-attached {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
}

.badge-status-verified {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
}

.rfq-card-icon-sig {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    border: 1px solid #bfdbfe !important;
    color: #2563eb !important;
}

.rfq-card-icon-purchasing {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    border: 1px solid #a7f3d0 !important;
    color: #059669 !important;
}

.badge-status-pending {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    color: #d97706 !important;
}

/* Compact Twin Card Headers (Foto Nameplate & Tanda Tangan Sales) */
.rfq-card-header-compact {
    padding: 10px 14px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    gap: 8px !important;
}

.rfq-compact-title-wrap {
    display: flex;
    align-items: center;
    gap: 7.5px;
    min-width: 0;
    flex: 1 1 auto;
}

.rfq-compact-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rfq-compact-title {
    font-size: 13px !important;
    font-weight: 750 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.badge-status-pill-sm {
    padding: 3px 9px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    gap: 4px !important;
    border-radius: 999px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}


/* Purchasing Signature Pad in Form */
.purchasing-sig-pad-wrap {
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    transition: border-color 0.2s ease;
}

.purchasing-sig-pad-wrap:hover {
    border-color: #94a3b8;
}

.purchasing-sig-pad-wrap canvas {
    display: block;
    width: 100%;
    height: 80px;
}

.badge-dandy-chip {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 750;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 2.5px 8px;
}

.sig-signer-role {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
    letter-spacing: 0.02em;
}

/* Ultra-Modern Signature Display Card */
.signature-display-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.signature-canvas-display {
    height: 160px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 14px 10px 14px;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(#cbd5e1 1.1px, transparent 1.1px);
    background-size: 18px 18px;
    transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.signature-canvas-display:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
}

/* Biometric Security Laser Scan Beam */
.signature-canvas-display::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.25) 20%, #10b981 50%, rgba(16, 185, 129, 0.25) 80%, transparent 100%);
    animation: appleLaserScan 4.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
    pointer-events: none;
    z-index: 3;
}

@keyframes appleLaserScan {
    0% {
        top: 14px;
        opacity: 0;
    }
    12% {
        opacity: 0.9;
    }
    88% {
        opacity: 0.9;
    }
    100% {
        top: calc(100% - 16px);
        opacity: 0;
    }
}

/* Security Watermark Tags */
.sig-cert-tag {
    position: absolute;
    top: 12px;
    left: 14px;
    font-size: 9.5px;
    font-weight: 750;
    letter-spacing: 0.08em;
    color: #475569;
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(4px);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 8.5px;
    display: inline-flex;
    align-items: center;
    gap: 4.5px;
    pointer-events: none;
    z-index: 2;
}

.sig-cert-tag i {
    color: #059669;
    font-size: 10.5px;
}

.sig-timestamp-tag {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 9.5px;
    font-weight: 750;
    letter-spacing: 0.08em;
    color: #64748b;
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(4px);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 8.5px;
    display: inline-flex;
    align-items: center;
    gap: 4.5px;
    pointer-events: none;
    z-index: 2;
}

.sig-timestamp-tag i {
    color: #2563eb;
    font-size: 10.5px;
}

/* Inner Signature & Endorsement Block */
.signature-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 12px;
}

.signature-img {
    max-height: 95px;
    max-width: 85%;
    object-fit: contain;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.06));
}

.signature-canvas-display:hover .signature-img {
    transform: scale(1.035);
    filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.12));
}

.sig-signer-line {
    width: 120px;
    height: 1.5px;
    background: #cbd5e1;
    border-radius: 2px;
    margin-top: 4px;
    margin-bottom: 2px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.signature-canvas-display:hover .sig-signer-line {
    width: 140px;
    background: #94a3b8;
}

.sig-signer-name {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.25;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Empty States */
.empty-photo-card {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-align: center;
    padding: 12px;
}

.empty-photo-card i {
    font-size: 28px;
    margin-bottom: 4px;
    color: #cbd5e1;
}

.empty-title {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}

.empty-desc {
    font-size: 11px;
    color: #94a3b8;
    max-width: 260px;
    margin-top: 2px;
}

/* ==========================================================================
   ULTRA-MODERN PHOTO LIGHTBOX MODAL (APPLE / LINEAR GRADE)
   ========================================================================== */
.modal-backdrop.show {
    opacity: 1 !important;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

.modal-photo-dialog {
    max-width: min(92vw, 760px);
    margin: 0.75rem auto;
    width: fit-content;
    min-width: min(90vw, 420px);
    max-height: calc(100vh - 1.5rem);
}

.photo-modal-content {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
    max-height: calc(100vh - 1.5rem);
    display: flex;
    flex-direction: column;
}

.photo-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 22px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.photo-modal-header-info {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.photo-modal-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.photo-modal-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.photo-modal-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
}

.photo-modal-title {
    font-size: 14.5px;
    font-weight: 750;
    color: #0f172a;
    margin: 0;
    padding: 0;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.photo-modal-subtitle {
    font-size: 11.5px;
    color: #64748b;
    margin: 0;
    padding: 0;
    line-height: 1.25;
    font-weight: 450;
}

.btn-modal-circle-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.btn-modal-circle-close:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: scale(1.06);
}

.photo-modal-body {
    background: #f8fafc;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 18px 18px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.photo-modal-frame {
    background: #ffffff;
    padding: 5px;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 8px 24px -5px rgba(15, 23, 42, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

.photo-modal-img {
    max-width: 100%;
    max-height: calc(100vh - 180px);
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

.photo-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
    gap: 10px;
}

.photo-modal-tags {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.photo-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 650;
    color: #334155;
}

.photo-modal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-photo-modal-dismiss {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-photo-modal-dismiss:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
}

.btn-photo-modal-dl {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 9px;
    padding: 6.5px 16px;
    font-size: 12.5px;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background 0.2s ease;
}

.btn-photo-modal-dl:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.btn-photo-modal-dl:active {
    transform: translateY(0) scale(0.975);
}

@media (max-height: 650px) {
    .photo-modal-header {
        padding: 10px 18px;
    }
    .photo-modal-body {
        padding: 8px 12px;
    }
    .photo-modal-footer {
        padding: 8px 16px;
    }
    .photo-modal-img {
        max-height: calc(100vh - 145px);
    }
}

.gap-1\.5 {
    gap: 6px !important;
}

.gap-2\.5 {
    gap: 10px !important;
}

/* Apple Spring Scale Modal Entrance */
#photoModal.fade .modal-dialog {
    transform: scale(0.93) translateY(16px);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

#photoModal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

@media (max-width: 768px) {
    .spec-grid {
        grid-template-columns: 1fr;
    }
    
    .rfq-header-actions {
        width: 100%;
    }
    
    .rfq-header-actions .btn-wa-action,
    .rfq-header-actions .btn-soft-action,
    .rfq-header-actions .rfq-share-dropdown-wrap,
    .rfq-header-actions .btn-share-action {
        flex: 1;
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   ZERO-SCROLL PRO RFQ TABLE (Permintaan Harga)
   ========================================================= */
.rfq-table-shell {
    overflow-x: hidden !important;
    border-radius: 14px;
    border: 1px solid var(--line, #e2e8f0);
    background: #ffffff;
    padding-bottom: 8px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.rfq-table-shell .dataTables_wrapper {
    overflow-x: visible !important;
    width: 100% !important;
}

#rfqTable {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: fixed !important;
    margin: 0 !important;
}

#rfqTable th {
    white-space: nowrap !important;
    padding: 11px 8px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: #f8fafc !important;
    color: #334155 !important;
    border-bottom: 1px solid var(--line, #e2e8f0) !important;
}

#rfqTable td {
    white-space: normal !important;
    padding: 10px 8px !important;
    vertical-align: middle;
    font-size: 13px;
    line-height: 1.35;
}

#rfqTable .item-preview {
    min-width: 0 !important;
    line-height: 1.25;
}

#rfqTable .item-preview-main {
    font-size: 13.5px !important;
}

#rfqTable .item-preview-part {
    font-size: 11.5px !important;
    margin-top: 2px;
}

#rfqTable .summary-main {
    font-size: 13.5px !important;
    font-weight: 750 !important;
    line-height: 1.25;
    margin-bottom: 3px;
    word-break: break-word;
}

#rfqTable .summary-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px !important;
}

#rfqTable .summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2.5px 7px !important;
    font-size: 11px !important;
    font-weight: 600;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    line-height: 1;
}

#rfqTable .status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px !important;
    border-radius: 999px;
    font-size: 11.5px !important;
    font-weight: 750 !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    line-height: 1.2;
}

#rfqTable .money-total {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    line-height: 1.2;
}

#rfqTable .money-total-sub {
    font-size: 11px !important;
    margin-top: 2px;
    color: #64748b;
}

#rfqTable .badge-price-pending {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4.5px 10px !important;
    border-radius: 8px;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    white-space: nowrap !important;
    line-height: 1.2;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}

#rfqTable .badge-price-pending i {
    font-size: 11px;
    color: #94a3b8;
}

#rfqTable .badge-price-pending:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

#rfqTable .col-nowrap {
    white-space: nowrap !important;
}

#rfqTable th.col-rfq-status,
#rfqTable th.col-rfq-price,
#rfqTable th.col-rfq-action,
#rfqTable td:nth-child(5),
#rfqTable td:nth-child(6),
#rfqTable td:nth-child(7) {
    text-align: center !important;
}

/* Table Action Cluster & Quick Role Buttons */
.table-actions-cluster {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-table-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.16s ease-in-out;
    white-space: nowrap;
    border: 1px solid transparent;
    line-height: 1.2;
}

.btn-table-action-primary {
    background: #0f172a;
    color: #ffffff !important;
    border-color: #0f172a;
}

.btn-table-action-primary:hover {
    background: #1e293b;
    color: #ffffff !important;
    border-color: #1e293b;
}

.btn-table-action-success {
    background: #ecfdf5;
    color: #065f46 !important;
    border-color: #a7f3d0;
}

.btn-table-action-success:hover {
    background: #d1fae5;
    color: #064e3b !important;
    border-color: #6ee7b7;
}

.btn-table-action-soft {
    background: #f8fafc;
    color: #334155 !important;
    border-color: #e2e8f0;
}

.btn-table-action-soft:hover {
    background: #f1f5f9;
    color: #0f172a !important;
    border-color: #cbd5e1;
}

/* Sales Requester Pill in RFQ Table */
.sales-requester-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.sales-requester-pill i {
    font-size: 11px;
    color: #15803d;
}

.purchasing-role-badge .badge {
    box-shadow: none !important;
}

#rfqTable .action-dropdown {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#rfqTable .action-dropdown .dropdown-toggle {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
    color: #475569;
    border-color: #e2e8f0;
    margin: 0;
}

#rfqTable .action-dropdown .dropdown-toggle:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

@media (max-width: 991px) {
    .rfq-table-shell {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    #rfqTable {
        min-width: 860px !important;
        table-layout: auto !important;
    }
}

/* ==========================================================================
   GLOBAL COMPACT & HIGH-DENSITY SPACING FOR PERMINTAAN BARANG (ALL MODULES)
   ========================================================================== */

/* 1. Universal Header Tightening */
.section-card .section-head {
    padding: 14px 22px 12px 22px;
}

.section-card .section-head-left h2 {
    font-size: 20px;
    margin-bottom: 2px;
}

.section-card .section-head-left p {
    font-size: 12.5px;
}

/* 2. Tambah RFQ Form Tightening (permintaan-tambah.php) */
.form-wrap {
    padding: 16px 20px 20px 20px;
}

.block-card {
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 12px;
}

.block-card:last-child {
    margin-bottom: 0;
}

.block-card-header {
    margin-bottom: 10px;
}

.block-title {
    font-size: 14.5px;
    font-weight: 800;
}

.helper-text {
    font-size: 12px;
    margin-top: 2px;
}

.category-card {
    padding: 10px 14px;
    gap: 10px;
    border-radius: 10px;
}

.category-card-icon {
    width: 38px;
    height: 38px;
    font-size: 17px;
    border-radius: 9px;
}

.category-card-icon svg {
    width: 19px;
    height: 19px;
}

.category-card-info h4 {
    font-size: 13.5px;
}

.sales-identity-box {
    height: 100px;
    padding: 12px 16px;
    gap: 12px;
    border-radius: 12px;
}

.sales-avatar-badge {
    width: 40px;
    height: 40px;
    font-size: 17px;
    border-radius: 10px;
}

.form-actions {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line, #e2e8f0);
}

.form-actions .btn-main {
    height: 40px;
    padding: 0 20px;
    font-size: 13.5px;
}

/* 3. Riwayat RFQ Stats & Filter Tightening (permintaan-harga.php) */
.rfq-stats-strip {
    padding: 14px 20px 0 !important;
    gap: 12px !important;
}

.rfq-stats-strip .stat-card {
    padding: 10px 14px !important;
    border-radius: 12px !important;
}

.rfq-stats-strip .stat-label {
    font-size: 11.5px !important;
    margin-bottom: 3px !important;
}

.rfq-stats-strip .stat-value {
    font-size: 20px !important;
}

.rfq-stats-strip .stat-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 15px !important;
}

.rfq-filter-panel {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    padding: 14px 20px 10px !important;
    gap: 12px !important;
}

.rfq-filter-panel .filter-group {
    flex: 1 1 200px !important;
    min-width: 170px !important;
}

.rfq-filter-panel label {
    font-size: 11.5px !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
    color: #475569 !important;
}

.rfq-filter-panel select {
    height: 38px !important;
    min-height: 38px !important;
    font-size: 12.5px !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
}

.rfq-filter-panel .filter-reset-wrap {
    flex: 0 0 auto !important;
}

.rfq-filter-panel .filter-reset-wrap button {
    height: 38px !important;
    min-height: 38px !important;
    font-size: 12px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
}

/* ==========================================================================
   Netflix-Style Sales Profile Selector & PIN Modal (Apple-Grade, Crisp, Luxury, No Glow)
   ========================================================================== */

/* Keyframe Animations */
@keyframes netflixHeroIn {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes netflixCardCascade {
    0% {
        opacity: 0;
        transform: translateY(26px) scale(0.94);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes pinPop {
    0% {
        transform: scale(0.7);
    }
    50% {
        transform: scale(1.25);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes appleShake {
    0%, 100% { transform: translateX(0); }
    18% { transform: translateX(-9px); }
    36% { transform: translateX(9px); }
    54% { transform: translateX(-6px); }
    72% { transform: translateX(6px); }
    90% { transform: translateX(-2px); }
}

/* =========================================================
   SALES PROFILE SELECTION & PIN AUTHENTICATION (APPLE-GRADE CLEAN STUDIO)
   Design: Apple Clean Studio / Netflix Profile Flow
   Harmonized with Central Turbo Light UI (Strict NO GLOW)
   ========================================================= */

/* Screen Wrapper: Netflix Authentic in Pure White / Light Mode */
.sales-netflix-screen {
    background: #ffffff;
    border-radius: 20px;
    min-height: 56vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 24px 44px;
    text-align: center;
    position: relative;
    user-select: none;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px -2px rgba(15, 23, 42, 0.05);
    margin: 0;
}

.sales-netflix-hero {
    max-width: 620px;
    margin-bottom: 24px;
    animation: netflixHeroIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sales-netflix-title {
    font-size: 38px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.2;
}

.sales-netflix-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.5;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Netflix Profiles Grid */
.sales-netflix-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    max-width: 900px;
    margin: 34px auto 28px auto;
}

/* Netflix Dimming Effect on Grid Hover (Pure Opacity - NO SCALE/SHRINK) */
.sales-netflix-grid:hover .sales-profile-card:not(:hover) {
    opacity: 0.55;
}

.sales-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    outline: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.sales-profile-card:hover {
    transform: translateY(-5px);
    opacity: 1 !important;
    z-index: 2;
}

.sales-profile-card:active {
    transform: translateY(-1px);
}

/* Freeze cards when modal is open so they never scale, dim, or jump */
body.modal-open .sales-netflix-grid .sales-profile-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.sales-avatar-box {
    width: 135px;
    height: 135px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 46px;
    font-weight: 850;
    letter-spacing: -0.02em;
    border: 3.5px solid transparent;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.09);
    transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.2s ease;
    position: relative;
    user-select: none;
}

.sales-profile-card:hover .sales-avatar-box {
    border-color: #0f172a;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.15);
}

.sales-profile-name {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sales-profile-card:hover .sales-profile-name {
    color: #0f172a;
    font-weight: 750;
}

/* Add Profile Card (Netflix Tile in White) */
.sales-add-card .sales-avatar-box {
    background: #ffffff;
    border: 2.5px dashed #cbd5e1;
    color: #94a3b8;
    font-size: 44px;
    box-shadow: none;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.sales-add-card:hover .sales-avatar-box {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
    border-style: solid;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.sales-add-card:hover .sales-avatar-box i {
    transform: rotate(90deg);
    transition: transform 0.25s ease;
}

.sales-add-card:hover .sales-profile-name {
    color: #0284c7;
    font-weight: 750;
}



/* ---------------------------------------------------------
   BOOTSTRAP MODAL ZERO-SHIFT & ZERO-SHRINK STABILIZATION
   Prevents background and navbar jumping or shrinking when modals open/close
   --------------------------------------------------------- */
html {
    overflow-y: scroll !important;
    scrollbar-gutter: stable !important;
    max-width: 100% !important;
}

body.modal-open {
    padding-right: 0px !important;
    padding-left: 0px !important;
    overflow: hidden !important;
}

body.modal-open .ct-island-wrapper,
.ct-island-wrapper {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    body.modal-open .ct-island-wrapper,
    .ct-island-wrapper {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Freeze background layout transitions during modal */
body.modal-open,
body.modal-open .layout,
body.modal-open .main,
body.modal-open .section-card,
body.modal-open .sales-netflix-screen,
body.modal-open .ct-island-wrapper,
body.modal-open .ct-island-bar {
    transition: none !important;
}

.modal {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

@media (max-height: 480px) {
    .modal {
        overflow-y: auto !important;
    }
}

.modal-dialog {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Modal Backdrop Clean & Crisp (Strictly NO BLUR) */
.modal-backdrop {
    background-color: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

.modal-backdrop.show {
    opacity: 1 !important;
    background-color: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

/* Apple-Grade Clean Modals */
.apple-modal-content {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    color: #0f172a !important;
    box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.18) !important;
}

.apple-modal-content .form-label {
    color: #0f172a !important;
}

.apple-modal-content .form-control {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 9px !important;
    font-weight: 600;
}

.apple-modal-content .form-control:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12) !important;
}

/* Compact Profile Bar in Modal (Zero Scroll Layout) */
.modal-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.compact-profile-bar {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
}

.compact-preview-avatar {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 19px;
    font-weight: 850;
    flex-shrink: 0;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 3px 8px rgba(15, 23, 42, 0.08);
    transition: background-color 0.2s ease;
}

.compact-preview-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
    min-width: 0;
}

.compact-preview-name {
    font-size: 12.5px;
    font-weight: 750;
    color: #0f172a;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Color Swatches Compact Row */
.compact-swatches {
    display: flex;
    gap: 6px;
    margin: 0;
    justify-content: flex-start;
}

.compact-swatches .color-swatch-label {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    transition: transform 0.15s ease, outline 0.15s ease;
}

.compact-swatches .color-swatch-label:hover {
    transform: scale(1.18);
}

.compact-swatches .color-swatch-radio {
    display: none;
}

.compact-swatches .color-swatch-radio:checked + .color-swatch-label {
    outline: 2px solid #0f172a;
    outline-offset: 2px;
    transform: scale(1.1);
}

#addProfileNama {
    text-transform: uppercase;
}

#addProfileNama::placeholder {
    text-transform: none !important;
    font-weight: 400 !important;
    color: #94a3b8 !important;
}

/* Apple Primary Submit Button */
.btn-apple-submit {
    background: #0f172a !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12) !important;
}

.btn-apple-submit:hover {
    background: #1e293b !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.btn-apple-submit:active {
    transform: scale(0.97) !important;
}

/* PIN Verification Modal (Apple Clean White) */
/* =========================================================
   APPLE-GRADE STUDIO PIN AUTHENTICATION MODAL
   Design: Luxury Minimalist macOS / Linear Passcode Dialog
   Strict Rule: Crisp borders, zero glow, rock-solid layout
   ========================================================= */
.pin-modal-dialog {
    max-width: 380px !important;
    margin: 1.5rem auto !important;
}

@keyframes appleShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.pin-modal-content {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 24px !important;
    color: #0f172a !important;
    padding: 28px 24px 18px !important;
    box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.16) !important;
    position: relative;
    overflow: hidden;
}

.pin-modal-shake {
    animation: appleShake 0.45s ease both !important;
}

.btn-modal-round-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
    z-index: 10;
}

.btn-modal-round-close:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Avatar Box with Security Badge */
.pin-avatar-container {
    position: relative;
    width: 68px;
    height: 68px;
    margin: 4px auto 14px auto;
}

.pin-avatar-box {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 27px;
    font-weight: 850;
    letter-spacing: -0.02em;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
    user-select: none;
}

.pin-lock-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

.pin-profile-name {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.pin-profile-subtitle {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.4;
}

/* Passcode Cells Row (Apple / Linear Pattern) */
.pin-cells-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-bottom: 10px;
    cursor: pointer;
}

.pin-hidden-focus-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: auto;
    cursor: pointer;
    z-index: 5;
}

.pin-cell {
    width: 44px;
    height: 52px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.pin-cell.active {
    border-color: #0f172a;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.pin-cell-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.65);
}

.pin-cell.filled .pin-cell-dot {
    background: #0f172a;
    transform: scale(1.15);
}

.pin-cell.active:not(.filled) .pin-cell-dot {
    background: #94a3b8;
    transform: scale(0.8);
}

.pin-cell.success {
    border-color: #059669 !important;
    background: #f0fdf4 !important;
}

.pin-cell.success .pin-cell-dot {
    background: #059669 !important;
    transform: scale(1.15) !important;
}

.pin-error-msg {
    font-size: 12px;
    color: #dc2626;
    font-weight: 600;
    min-height: 18px;
    margin-top: 4px;
    margin-bottom: 2px;
    text-align: center;
}


/* Active Profile Header Pill in List & Detail */
.active-profile-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 4px 12px 4px 5px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.active-profile-chip-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 850;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.active-profile-chip-name {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
}

.btn-switch-profile {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 650;
    color: #475569;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-switch-profile:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Locked Profile input in Permintaan Tambah */
.active-profile-input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 14px;
}

.profile-input-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 850;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* =========================================================
   FLASH / ALERT NOTIFICATIONS (SEWAJARNYA & APPLE-GRADE)
   ========================================================= */
.app-flash,
.alert[data-auto-dismiss="true"] {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding: 12px 44px 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    animation: flashSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    overflow: hidden;
}

.alert-success.app-flash,
.alert-success[data-auto-dismiss="true"] {
    background-color: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
    color: #065f46 !important;
}

.alert-danger.app-flash,
.alert-danger[data-auto-dismiss="true"] {
    background-color: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #991b1b !important;
}

.alert-primary.app-flash,
.alert-primary[data-auto-dismiss="true"] {
    background-color: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1e40af !important;
}

.app-flash-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.85);
}

.alert-success .app-flash-icon { color: #059669; }
.alert-danger .app-flash-icon { color: #dc2626; }
.alert-primary .app-flash-icon { color: #2563eb; }

.app-flash-body {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.app-flash-body strong {
    font-size: 13px;
    font-weight: 800;
    color: inherit;
}

.app-flash-body span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: inherit;
}

.app-flash-close {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    border: none;
    background: transparent;
    color: inherit;
    opacity: 0.55;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: opacity 0.15s ease, background 0.15s ease;
}

.app-flash-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

.app-flash.is-hiding,
.alert.is-hiding {
    opacity: 0 !important;
    transform: translateY(-6px) scale(0.99) !important;
    max-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-width: 0 !important;
    pointer-events: none !important;
}

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

/* Ensure User Pill in Topbar displays full name without truncation */
.ct-user-pill {
    max-width: none !important;
}

.ct-user-name {
    max-width: none !important;
    text-overflow: clip !important;
    overflow: visible !important;
}

/* =========================================================
   INDIKATOR VISUAL HARGA BARU DIHITUNG (48 JAM) - STRICT NO GLOW
   ========================================================= */

/* Baris RFQ Fresh pada Tabel */
#rfqTable tbody tr.tr-rfq-fresh {
    background-color: #fbfdfc !important;
    border-left: 3.5px solid #059669 !important;
}

#rfqTable tbody tr.tr-rfq-fresh:hover {
    background-color: #f0fdf4 !important;
}

/* Status Badge Baru Dihitung */
.status-badge.status-fresh-price {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4.5px !important;
    padding: 4px 10px !important;
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
    border-radius: 9999px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

.status-badge.status-fresh-price i {
    color: #059669 !important;
    font-size: 12px !important;
}

.fresh-time-tag {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #047857 !important;
    margin-top: 3px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    line-height: 1.1 !important;
}

.fresh-time-tag i {
    font-size: 10px !important;
    color: #059669 !important;
}

/* Badge Fresh Counter di Stats Card */
.badge-fresh-counter {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    letter-spacing: 0.01em !important;
}

.badge-fresh-counter i {
    color: #059669 !important;
    font-size: 11px !important;
}

/* Tag Siap di kolom Harga Jual */
.badge-fresh-ready {
    display: inline-block !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    color: #047857 !important;
    letter-spacing: 0.05em !important;
}

/* Detail RFQ Fresh Banner */
.detail-fresh-banner {
    background: #f0fdf4 !important;
    border: 1px solid #a7f3d0 !important;
    border-radius: 14px !important;
    padding: 10px 14px !important;
    margin-bottom: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

.detail-fresh-badge {
    background: #059669 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
}

.detail-fresh-text {
    font-size: 12px !important;
    color: #065f46 !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
}

.detail-fresh-text strong {
    font-weight: 700 !important;
    color: #022c22 !important;
}

/* =========================================================
   RFQ LIVE STATUS RUNNING TEXT TICKER (Apple-Grade Clean)
   ========================================================= */
.rfq-ticker-wrap {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    position: relative;
    user-select: none;
    height: 40px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* Edge Fade Mask (Apple-Grade Clean) */
.rfq-ticker-content {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 32px, black calc(100% - 32px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 32px, black calc(100% - 32px), transparent);
}

.rfq-ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    animation: rfqMarqueeTrack 34s linear infinite;
}

.rfq-ticker-wrap:hover .rfq-ticker-track {
    animation-play-state: paused;
}

@keyframes rfqMarqueeTrack {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.rfq-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 500;
    color: #334155;
    padding: 0 4px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.rfq-ticker-item strong {
    font-weight: 700;
    color: #0f172a;
}

.rfq-ticker-item.clickable {
    cursor: pointer;
}

.rfq-ticker-item.clickable:hover {
    color: #0f172a;
    transform: translateY(-1px);
}

.rfq-ticker-item.clickable:hover strong {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rfq-ticker-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 12px;
    padding: 0 14px;
}

/* Live Pill Badge */
.rfq-ticker-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 9999px;
    line-height: 1.4;
}

/* Crisp Live Dot (No glow/blur per AGENTS.md) */
.rfq-ticker-dot-pulse {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background-color: #16a34a;
    display: inline-block;
    position: relative;
    animation: rfqLiveDotBlink 2s ease-in-out infinite;
}

@keyframes rfqLiveDotBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.45;
        transform: scale(0.85);
    }
}

/* Ticker Color Accents (Solid & Crisp, Strict No Glow) */
.text-amber {
    color: #d97706 !important;
}
.text-emerald {
    color: #059669 !important;
}
.text-blue {
    color: #0284c7 !important;
}
.text-slate {
    color: #64748b !important;
}
.text-violet {
    color: #7c3aed !important;
}

/* =========================================================
   APPLE-GRADE REALTIME TOAST NOTIFICATION (No Glow)
   ========================================================= */
.rfq-realtime-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 380px;
    width: calc(100vw - 32px);
}

.rfq-realtime-toast {
    pointer-events: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: rfqToastSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

@keyframes rfqToastSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rfq-realtime-toast.hiding {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
}

.rfq-toast-icon-wrap {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.rfq-toast-icon-wrap.is-new {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}

.rfq-toast-icon-wrap.is-price {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #d1fae5;
}

.rfq-toast-body {
    flex: 1;
    min-width: 0;
}

.rfq-toast-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 2px;
}

.rfq-toast-msg {
    font-size: 12px;
    color: #475569;
    line-height: 1.35;
    word-break: break-word;
}

.rfq-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
    transition: color 0.15s ease;
}

.rfq-toast-close:hover {
    color: #0f172a;
}

/* ==========================================================================
   EXPORT MODAL - APPLE-GRADE CRISP EXECUTIVE STUDIO (STRICT NO GLOW)
   ========================================================================== */
.export-modal-dialog {
    max-width: 580px;
    margin: 1rem auto;
}

@media (max-height: 800px) {
    .export-modal-dialog {
        margin: 0.4rem auto;
    }
}

.export-modal-content {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    max-height: calc(100vh - 1.5rem) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.export-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    flex-shrink: 0;
}

.export-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.export-modal-title {
    font-size: 15px;
    font-weight: 750;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.export-modal-subtitle {
    font-size: 11.5px;
    color: #64748b;
    margin: 2px 0 0 0;
    line-height: 1.25;
}

.export-modal-body {
    padding: 12px 18px !important;
    background: #ffffff !important;
    overflow-y: auto !important;
    flex: 1 1 auto !important;
}

.export-field-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
    display: block;
}

.export-period-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.btn-period-pill {
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 11.5px;
    font-weight: 650;
    color: #475569;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.16s ease;
    user-select: none;
}

.btn-period-pill:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.btn-period-pill.active {
    background: #ffffff !important;
    border-color: #0f172a !important;
    color: #0f172a !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
    font-weight: 750 !important;
}

.period-subpanel-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 10px;
}

.period-subpanel {
    animation: fadeIn 0.18s ease;
}

.sales-avatar-micro {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 750;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.export-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.export-type-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.16s ease;
    user-select: none;
    margin: 0 !important;
}

.export-type-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

.export-type-card.active {
    background: #ffffff !important;
    border-color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}

.export-type-icon {
    font-size: 17px;
    line-height: 1;
    flex-shrink: 0;
}

.export-type-info {
    flex-grow: 1;
    min-width: 0;
}

.export-type-title {
    font-size: 12px;
    font-weight: 750;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.export-type-desc {
    font-size: 10.5px;
    color: #64748b;
    margin-top: 1px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.export-type-check {
    font-size: 14px;
    color: #0f172a;
    display: none;
    flex-shrink: 0;
}

.export-type-card.active .export-type-check {
    display: block;
}

.export-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 18px;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
    flex-shrink: 0;
}

.btn-export-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #0f172a !important;
    border-radius: 9px !important;
    padding: 7px 16px !important;
    font-size: 12.5px !important;
    font-weight: 750 !important;
    cursor: pointer;
    transition: all 0.16s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1) !important;
}

.btn-export-submit:hover {
    background: #1e293b !important;
    border-color: #1e293b !important;
}



