/* ===================== PIPELINE APRIL 2026 ===================== */

/* ---- Title Slide ---- */
.slide-pipeline-title {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 60%, #0f3d3e 100%);
    color: white;
    position: relative;
    overflow: hidden;
    align-items: center;
    text-align: center;
}
.slide-pipeline-title::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(97,243,147,0.12) 0%, transparent 70%);
}
.slide-pipeline-title h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1.05;
    margin-bottom: 8px;
}
.date-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-top: 40px;
}

/* ---- Pipeline Funnel Slide ---- */
.pipeline-funnel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 1100px;
    width: 100%;
}
.funnel-stage {
    background: white;
    border-radius: 14px;
    padding: 16px 24px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    align-items: center;
}
.stage-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stage-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}
.stage-count {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}
.stage-count.green { color: #16a34a; }
.stage-count.blue { color: #3b82f6; }
.stage-count.orange { color: #f28c3c; }
.stage-count.teal { color: #0d9488; }
.stage-count.purple { color: #7c3aed; }
.stage-companies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.company-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f0f4f8;
    border-radius: 8px;
    padding: 6px 14px 6px 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border);
    white-space: nowrap;
}
.company-pill img {
    height: 22px;
    width: 22px;
    width: 14px;
    object-fit: contain;
    border-radius: 2px;
}

/* ---- Revenue Projections ---- */
.revenue-chart-container {
    background: white;
    border-radius: 20px;
    padding: 36px 44px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}
.revenue-chart-container h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
    text-align: center;
}
.revenue-chart-container .subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    text-align: center;
}
.quarter-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    height: 320px;
    padding: 0 20px;
    position: relative;
}
.quarter-bars::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--border);
}
.quarter-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 1;
    max-width: 160px;
    height: 100%;
}
.quarter-bar {
    width: 80px;
    border-radius: 8px 8px 0 0;
    position: relative;
    min-height: 4px;
}
.quarter-bar .bar-amount {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.05rem;
    font-weight: 800;
    white-space: nowrap;
}
.quarter-bar .bar-deals {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
}
.quarter-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
    line-height: 1.3;
}
.bar-teal { background: #0d9488; }
.bar-teal .bar-amount { color: #0d9488; }
.bar-blue { background: #3b82f6; }
.bar-blue .bar-amount { color: #3b82f6; }
.bar-indigo { background: #6366f1; }
.bar-indigo .bar-amount { color: #6366f1; }
.bar-slate { background: #94a3b8; }
.bar-slate .bar-amount { color: #64748b; }

.kpi-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.kpi-card {
    background: white;
    border-radius: 14px;
    padding: 20px 28px;
    border: 1px solid var(--border);
    text-align: center;
    min-width: 140px;
}
.kpi-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}
.kpi-value.up { color: #16a34a; }
.kpi-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Opportunities Slide ---- */
.opportunities-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 1000px;
    width: 100%;
}
.opportunity-card {
    background: white;
    border-radius: 14px;
    padding: 18px 24px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 18px;
}
.opp-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}
.opp-content {
    flex: 1;
    min-width: 0;
}
.opp-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 3px;
}
.opp-detail {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.45;
}
.opp-badge {
    flex-shrink: 0;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}
.opp-badge.negotiations { background: #fef3c7; color: #92400e; }
.opp-badge.deep-talks { background: #dbeafe; color: #1e40af; }
.opp-badge.sales-ops { background: #e0e7ff; color: #4338ca; }
.opp-badge.small { background: #f0fdf4; color: #166534; }

/* ---- Lost Deals Slide ---- */
.lost-deals-container {
    max-width: 900px;
    width: 100%;
}
.lost-deals-container h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.lost-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.5;
}
.lost-grid {
    display: flex;
    gap: 20px;
}
.lost-card {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.lost-card img {
    height: 36px;
    object-fit: contain;
    opacity: 0.4;
    filter: grayscale(100%);
}
.lost-card .lost-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}
.lost-card .lost-amount {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--danger, #ef4444);
}
.lost-card .lost-reason {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.lost-takeaway {
    margin-top: 28px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 0.85rem;
    color: #991b1b;
    font-weight: 600;
    line-height: 1.5;
}
