/**
 * Folks Integration — Single CPT: Sticky Bar & Apply Offcanvas
 */

/* ===================================================
   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);
    transform: translateY(0);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.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-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

button.folks-sticky-apply-btn {
    flex-shrink: 0;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999rem;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

button.folks-sticky-apply-btn:hover {
    background: #ffffff;
    color: #003C38;
}

/* Add bottom padding to single page so content isn't hidden behind sticky bar */
.folks-single-cpt {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 80px;
}

.folks-single-cpt > * {
    width: 100%;
    max-width: 60rem;
}

/* ===================================================
   Single CPT — Apply Offcanvas
   =================================================== */
.folks-single-apply-offcanvas .folks-offcanvas-content {
    padding-top: 0;
}

.folks-offcanvas-form-header {
    padding: 40px 40px 0 40px;
    margin-bottom: 0;
}

.folks-offcanvas-form-header h2 {
    margin: 0 0 4px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.folks-offcanvas-form-header .folks-offcanvas-form-jobtitle {
    margin: 0;
    font-size: 1rem;
    color: #009D77;
    font-weight: 600;
}
