/**
 * BESTELLEN.CITY - NEGOTIATION STYLESHEET
 * Path: /var/www/vhosts/bestellen.city/httpdocs/dashboard/gta_mod/assets/negotiation.css
 * Theme: Dark Mode Ambient Glass + High-Contrast Uber/TikTok Interaction Specs
 */

/* --------------------------------------------------------------------------
   1. CUSTOMER NEGOTIATION POPUP MODAL
   -------------------------------------------------------------------------- */
.neg-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.neg-modal-backdrop.open {
    display: flex;
    opacity: 1;
}

.neg-modal-card {
    width: 100%;
    max-width: 500px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px 24px 0 0;
    padding: 16px 20px calc(24px + var(--safe-bottom, 0px));
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
    color: #f8fafc;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.neg-modal-backdrop.open .neg-modal-card {
    transform: translateY(0);
}

.neg-handle-bar {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    margin: 0 auto 12px;
}

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

.neg-modal-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.neg-modal-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Product preview card */
.neg-prod-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 16px;
}

.neg-prod-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    background: #1e293b;
    flex-shrink: 0;
}

.neg-prod-info {
    flex: 1;
    min-width: 0;
}

.neg-prod-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.neg-prod-prices {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.neg-prod-orig-price {
    font-weight: 700;
    color: #e2e8f0;
}

.neg-margin-pill {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-top: 4px;
}

/* Form fields */
.neg-form-group {
    margin-bottom: 14px;
}

.neg-form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.neg-qty-stepper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.neg-stepper-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
}

.neg-stepper-btn:active {
    transform: scale(0.94);
    background: #334155;
}

.neg-qty-input {
    width: 80px;
    height: 44px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    color: #ffffff;
    font-size: 17px !important;
    font-weight: 800;
    text-align: center;
    outline: none;
}

.neg-price-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.neg-price-input {
    width: 100%;
    height: 48px;
    background: #1e293b;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    color: #ffffff;
    font-size: 18px !important;
    font-weight: 800;
    padding: 0 45px 0 16px;
    outline: none;
    transition: border-color 0.2s ease;
}

.neg-price-input:focus {
    border-color: #10b981;
    background: rgba(30, 41, 59, 0.9);
}

.neg-currency-symbol {
    position: absolute;
    right: 16px;
    font-size: 17px;
    font-weight: 800;
    color: #94a3b8;
    pointer-events: none;
}

/* Calculation preview */
.neg-calc-box {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.neg-calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.neg-calc-row:last-child {
    margin-bottom: 0;
}

.neg-calc-total-val {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
}

.neg-feedback-box {
    font-size: 12px;
    line-height: 1.35;
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 14px;
}

.neg-feedback--success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.neg-feedback--danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.neg-notes-input {
    width: 100%;
    height: 40px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px !important;
    padding: 0 12px;
    outline: none;
    box-sizing: border-box;
}

.neg-submit-btn {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    background: #10b981;
    border: none;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

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

.neg-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #475569;
    box-shadow: none;
}


/* --------------------------------------------------------------------------
   2. VENDOR FULLSCREEN NOTIFICATION MODAL (MATCHING REFERENCE IMAGE)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   2. VENDOR NOTIFICATION & DISPATCH FULLSCREEN CAROUSEL MODAL (1:1 PIXEL-PERFECT)
   Matches the uploaded mobile design reference:
   - Radial vignette dark espresso background with reticle/compass spokes
   - Circular close button (top-left) & counter capsule pill (top-right)
   - Floating circular controls (right): Route & Details
   - Bottom card: Priority pill + time ago, Customer title, Address + distance pill
   - Carousel row: Circular prev (<) button, 3 info chips, circular next (>) button
   - Dual full-width action pills: Red Reject (thumbs down) & Green Accept (thumbs up)
   -------------------------------------------------------------------------- */
.neg-notify-viewport {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 10060;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(circle at 50% 42%, #423630 0%, #291f1b 52%, #140f0d 100%) !important;
    overflow: hidden;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Reticle / Radar Spokes Graphic in Center */
.neg-radar-wrap {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    pointer-events: none;
    opacity: 0.25;
}

.neg-radar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.neg-radar-ring--1 { inset: 18%; }
.neg-radar-ring--2 { inset: 36%; }
.neg-radar-ring--3 { inset: 54%; }

.neg-radar-spokes {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, transparent 0deg 28deg, rgba(255, 255, 255, 0.08) 28deg 30deg);
}

.neg-center-icon-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
}

/* Top bar (Exact 1:1 match) */
.neg-notify-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(16px + env(safe-area-inset-top, 12px)) 18px 12px;
}

.neg-notify-close-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.15s ease, background 0.15s ease;
}

.neg-notify-close-btn:active {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.24);
}

.neg-notify-counter-pill {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}

/* Floating Right Side Controls (Route & Details) */
.neg-notify-side-controls {
    position: absolute;
    right: 18px;
    top: 48%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 20;
}

.neg-side-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
}

.neg-side-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.15s ease, background 0.15s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.neg-side-btn:active .neg-side-icon-circle {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.28);
}

.neg-side-label {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
}

/* Bottom Floating Card (Exact 1:1 match with uploaded reference image) */
.neg-notify-bottom-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 25;
    background: linear-gradient(180deg, rgba(32, 25, 22, 0.94) 0%, rgba(18, 14, 12, 0.98) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px 32px 0 0;
    padding: 22px 20px calc(24px + env(safe-area-inset-bottom, 12px));
    box-shadow: 0 -16px 45px rgba(0, 0, 0, 0.7);
    color: #ffffff;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

/* Priority & Time Ago Row */
.neg-notify-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.neg-badge-priority {
    background: #ea580c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
}

.neg-time-ago {
    font-size: 13.5px;
    font-weight: 600;
    color: #e2e8f0;
}

/* Customer Name / Title */
.neg-customer-name {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    margin: 8px 0 6px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* Address & Distance Sub-Row */
.neg-location-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: #d6d3d1;
    font-weight: 600;
    margin-bottom: 16px;
}

.neg-dist-pill {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-left: 6px;
}

/* Carousel Row with Flanking Arrow Buttons */
.neg-carousel-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    width: 100%;
}

.neg-nav-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.15s ease, background 0.15s ease;
}

.neg-nav-arrow-btn:active {
    transform: scale(0.92);
}

.neg-nav-arrow-btn--prev {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.neg-nav-arrow-btn--next {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.neg-chips-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.neg-chips-wrap::-webkit-scrollbar {
    display: none;
}

.neg-chip-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Dual Full-Width Action Buttons (Reject & Accept Pills) */
.neg-notify-dual-actions {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 12px;
    width: 100%;
}

.neg-dual-btn {
    height: 52px;
    border-radius: 9999px;
    border: none;
    font-size: 15.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.15s ease, filter 0.15s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.neg-dual-btn:active {
    transform: scale(0.96);
    filter: brightness(0.92);
}

.neg-dual-btn--reject {
    background: #df5252;
    color: #ffffff;
}

.neg-dual-btn--accept {
    background: #46b464;
    color: #ffffff;
}

/* Slide-Up Details & Negotiation Drawer */
.neg-details-drawer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 82vh;
    background: #1c1513;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px 28px 0 0;
    padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 12px));
    display: none;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    animation: drawerSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawerSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.neg-details-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.neg-details-drawer-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.neg-details-drawer-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neg-prod-compare-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
}

.neg-notify-prod-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
}

.neg-notify-price-compare {
    font-size: 12.5px;
    color: #a8a29e;
    margin-top: 4px;
}

/* Inline Counter Offer Input Row */
.neg-counter-offer-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 14px;
    padding: 10px 12px;
}

.neg-counter-input {
    flex: 1;
    height: 42px;
    background: #140f0d;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 0 12px;
}

.neg-counter-send-btn {
    height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    background: #3b82f6;
    border: none;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
}
    font-size: 16px !important;
    font-weight: 800;
    padding: 0 10px;
    text-align: center;
    outline: none;
}

.neg-counter-send-btn {
    height: 40px;
    padding: 0 16px;
    background: #3b82f6;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}


/* --------------------------------------------------------------------------
   3. TAB 3: ANGEBOTE & GEGENANGEBOTE STREAM (INBOX VIEW)
   -------------------------------------------------------------------------- */
.inbox-negotiations-panel {
    padding: 16px 14px calc(75px + var(--safe-bottom, 0px));
}

.neg-stream-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 12px;
    scrollbar-width: none;
}

.neg-stream-filters::-webkit-scrollbar {
    display: none;
}

.neg-filter-chip {
    padding: 6px 12px;
    border-radius: 9999px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
}

.neg-filter-chip.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.neg-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.neg-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.neg-status-pill {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
}

.neg-status--pending {
    background: #fef3c7;
    color: #d97706;
}

.neg-status--countered {
    background: #dbeafe;
    color: #2563eb;
}

.neg-status--accepted {
    background: #d1fae5;
    color: #059669;
}

.neg-status--rejected {
    background: #fee2e2;
    color: #dc2626;
}

.neg-date-tag {
    font-size: 11.5px;
    color: #64748b;
}

.neg-card-body-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.neg-card-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.neg-card-details {
    flex: 1;
    min-width: 0;
}

.neg-card-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.neg-card-customer {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 3px;
}

.neg-card-price-calc {
    font-size: 12px;
    color: #334155;
    margin-top: 4px;
}

.neg-card-total-row {
    font-size: 13px;
    color: #0f172a;
    margin-top: 6px;
}

.neg-card-grand-total {
    font-size: 15px;
    font-weight: 900;
    color: #059669;
}

.neg-counter-tag {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    font-weight: 700;
    color: #2563eb;
}

.neg-card-action-bar {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.neg-act-btn {
    height: 36px;
    border-radius: 10px;
    border: none;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.neg-act-btn:active {
    transform: scale(0.96);
}

.neg-act-btn--reject {
    background: #fee2e2;
    color: #b91c1c;
}

.neg-act-btn--counter {
    background: #dbeafe;
    color: #1d4ed8;
}

.neg-act-btn--accept {
    background: #d1fae5;
    color: #047857;
}

/* Product Card Button: 🤝 Verhandeln */
.yt-card-btn--negotiate {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    padding: 7px 10px !important;
}

.yt-card-btn--negotiate:active {
    background: #e2e8f0 !important;
    transform: scale(0.96) !important;
}

/* --------------------------------------------------------------------------
   4. INCOMING CALL & RINGTONE AUDIO INTEGRATION
   -------------------------------------------------------------------------- */
.neg-phone-call-timer {
    font-size: 13px;
    font-weight: 800;
    color: #4ade80;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", monospace;
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   5. GUEST EXPIRATION TIMER BANNER & CARDS (2 MINUTES)
   -------------------------------------------------------------------------- */
.guest-timer-banner {
    position: fixed;
    top: calc(14px + var(--safe-top, 0px));
    left: 14px;
    right: 14px;
    z-index: 9990;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 15px rgba(56, 189, 248, 0.2);
    color: #ffffff;
    overflow: hidden;
    animation: guestTimerSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.guest-timer-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
}

.guest-timer-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.guest-timer-details {
    flex: 1;
    min-width: 0;
}

.guest-timer-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 2px;
}

.guest-timer-title {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guest-timer-clock-badge {
    background: rgba(234, 88, 12, 0.2);
    border: 1px solid rgba(234, 88, 12, 0.45);
    color: #fb923c;
    font-size: 12px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    padding: 2px 8px;
    border-radius: 9999px;
    flex-shrink: 0;
}

.guest-timer-clock-badge.urgent {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #fca5a5;
    animation: negTimerBlink 1s infinite alternate;
}

@keyframes negTimerBlink {
    0% { opacity: 0.7; }
    100% { opacity: 1; transform: scale(1.04); }
}

.guest-timer-desc {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.guest-timer-desc strong {
    color: #10b981;
}

.guest-timer-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    overflow: hidden;
}

.guest-timer-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #38bdf8);
    transition: width 1s linear;
}

.guest-timer-expand-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #cbd5e1;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-timer-expanded-body {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.25);
}

.guest-timer-prod-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.guest-timer-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guest-timer-prod-text {
    flex: 1;
    min-width: 0;
}

.guest-timer-prod-name {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guest-timer-status-line {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 2px;
}

.guest-timer-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.guest-timer-btn {
    height: 38px;
    border-radius: 10px;
    border: none;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.guest-timer-btn:active {
    transform: scale(0.96);
}

.guest-timer-btn--accept {
    background: #10b981;
    color: #ffffff;
}

.guest-timer-btn--reject {
    background: #ef4444;
    color: #ffffff;
}

/* Tab 3 Active Guest Card */
.guest-active-neg-inbox-card {
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(56, 189, 248, 0.32);
    border-radius: 20px;
    padding: 16px 18px;
    margin-bottom: 14px;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* Subtab Switcher for Tab 3 (Angebote) */
.inbox-negotiations-subswitcher {
    display: flex;
    gap: 6px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 4px;
    margin: 0 12px 14px;
}

.inbox-subswitcher-btn {
    flex: 1;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-weight: 700;
    font-size: 12.5px;
    padding: 9px 12px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

.inbox-subswitcher-btn:active {
    transform: scale(0.97);
}

.inbox-subswitcher-btn.active {
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
