/* ============================================
 * STICKY PROGRESS COMPONENT
 * ============================================
 * Used in: CEO Approval, Team Voting, Curation
 * Sticks to top on scroll, shows progress, CTA appears at 100%
 */

.sticky-progress {
    position: sticky;
    top: 80px; /* Below header */
    z-index: 900;
    background: white;
    border-bottom: 2px solid rgba(46, 45, 44, 0.1);
    padding: 1.5rem 2rem;
    margin: -2rem -2rem 2rem -2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sticky-progress__container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.sticky-progress__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sticky-progress__count {
    font-family: 'GT Super Display', 'Fraunces', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2E2D2C;
}

.sticky-progress__bar {
    width: 100%;
    height: 12px;
    background: rgba(46, 45, 44, 0.1);
    border-radius: 100px;
    overflow: hidden;
}

.sticky-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, #0606EF 0%, #4040FF 100%);
    border-radius: 100px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-progress__cta {
    padding: 0.875rem 2rem;
    background: #0606EF;
    color: white;
    border: none;
    border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
}

.sticky-progress__cta--visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.sticky-progress__cta:hover {
    background: #0505CC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 6, 239, 0.3);
}

.sticky-progress__cta:active {
    transform: translateY(0);
}

/* Success state (100% completed) */
.sticky-progress--complete {
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.05) 0%, rgba(0, 200, 83, 0.02) 100%);
    border-bottom-color: rgba(0, 200, 83, 0.2);
}

.sticky-progress--complete .sticky-progress__fill {
    background: linear-gradient(90deg, #00C853 0%, #00E660 100%);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sticky-progress {
        padding: 1rem;
    }
    
    .sticky-progress__container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sticky-progress__cta {
        width: 100%;
    }
}
