/**
 * Folks Integration — Single CPT: Sticky Bar & Apply Offcanvas
 * Structural/positioning CSS stays here (not subject to Tailwind's content scan).
 */

/* ── Sticky apply bar ── */
.folks-sticky-apply-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999990;
    background: #003C38;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

/* JS toggles this class to hide the bar */
.folks-sticky-apply-bar.folks-sticky-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.folks-sticky-apply-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 24px;
}

.folks-sticky-apply-bar-inner span {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Add bottom padding so content isn't hidden behind the sticky bar */
.folks-single-cpt {
    padding-bottom: 80px;
}

/* ── Single CPT offcanvas form header ── */
.folks-single-apply-offcanvas .folks-offcanvas-content {
    padding-top: 0;
}

@media (max-width: 768px) {
    .folks-sticky-apply-bar-inner {
        padding: 12px 16px;
    }
}
