@charset "UTF-8";
/* CSS Document */

/* ── Event Update preview/expand ── */
.viewEventUpdateDiv {
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.35s ease;
    font-size: 13px;
    line-height: 1.5;
    color: #444;
}

.viewEventUpdateDiv.expanded {
    max-height: 4000px;
}

/* Normalize rich HTML content (p tags etc.) so expanded state
   matches the compact preview — no sudden margin/size jump */
.viewEventUpdateDiv p,
.viewEventUpdateDiv ul,
.viewEventUpdateDiv ol {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    margin-top: 0;
    margin-bottom: 8px;
}

.viewEventUpdateDiv p:last-child,
.viewEventUpdateDiv ul:last-child,
.viewEventUpdateDiv ol:last-child {
    margin-bottom: 0;
}


/* ── Event Format "How it Works" toggle ── */
.format-desc-toggle {
    font-size: 10px;
    font-weight: 600;
    color: #5a7a9b;
    text-decoration: none;
    margin-left: 8px;
    white-space: nowrap;
    vertical-align: middle;
    letter-spacing: 0;
    text-transform: none;
}

.format-desc-toggle:hover,
.format-desc-toggle:focus {
    color: #3d5a78;
    text-decoration: underline;
}

/* Chevron flips when the collapse is open.
   Bootstrap 3 sets aria-expanded="true" on the trigger element automatically. */
.format-desc-toggle[aria-expanded="true"] .format-desc-chevron {
    display: inline-block;
    transform: rotate(180deg);
}

.format-desc-chevron {
    transition: transform 0.2s ease;
}


/* ══════════════════════════════════════════════════════════════
   INLINE LOGIN
   Mobile (<992px): collapsed bar, tap to reveal form
   Desktop (992px+): heading + always-visible form (like home page)
   ══════════════════════════════════════════════════════════════ */
.ve-login-bar {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 0;
}

/* -- Collapsed bar (mobile trigger) -- */
.ve-login-collapsed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ve-login-prompt {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.ve-login-prompt .fa {
    color: #999;
    margin-right: 4px;
}

/* -- Form wrapper -- */
.ve-login-form-wrap .form-control {
    font-size: 14px;
}

.ve-login-cancel-btn {
    margin-top: 8px;
}

/* ── MOBILE (< 992px): collapsed bar, hidden form ── */
@media (max-width: 991px) {
    .ve-login-heading {
        display: none;
    }

    .ve-login-form-wrap {
        display: none;
        margin-top: 12px;
    }

    /* JS adds this class to reveal form */
    .ve-login-form-wrap.ve-login-open {
        display: block;
    }

    /* Force open if login error or intent */
    .ve-login-force-open .ve-login-collapsed {
        display: none;
    }

    .ve-login-force-open .ve-login-form-wrap {
        display: block;
        margin-top: 0;
    }
}

/* ── DESKTOP (992px+): heading + always-visible form ── */
@media (min-width: 992px) {
    .ve-login-bar {
        background: transparent;
        border: none;
        padding: 0;
    }

    .ve-login-collapsed {
        display: none;
    }

    .ve-login-heading {
        display: block;
    }

    .ve-login-form-wrap {
        display: block;
    }

    .ve-login-cancel-btn {
        display: none;
    }
}


/* ══════════════════════════════════════════════════════════════
   HOW IT WORKS — MAX-HEIGHT CAP
   When default-open for non-logged-in, cap content height so
   long descriptions don't bury everything below.
   ══════════════════════════════════════════════════════════════ */
.ve-format-desc-content.ve-format-capped {
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.35s ease;
    position: relative;
}

.ve-format-desc-content.ve-format-capped::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}

.ve-format-desc-content.ve-format-expanded {
    max-height: 4000px;
}

.ve-format-desc-content.ve-format-expanded::after {
    display: none;
}

.ve-format-desc-actions {
    margin-top: 6px;
}

.ve-format-more-link {
    font-size: 12px;
    color: #5a7a9b;
    text-decoration: none;
}

.ve-format-more-link:hover {
    color: #3d5a78;
    text-decoration: underline;
}


/* ══════════════════════════════════════════════════════════════
   YOUTUBE VIDEO CARD
   Lives in the left column (col-lg-4) so naturally constrained.
   Stacked layout at all sizes.
   ══════════════════════════════════════════════════════════════ */
.ve-video-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #fff;
    border-left: 4px solid #2e7d32;
}

.ve-video-thumb-link {
    display: block;
    text-decoration: none;
}

.ve-video-thumb-wrap {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
    background: #000;
    overflow: hidden;
}

.ve-video-thumb-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
}

.ve-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ve-video-thumb-link:hover .ve-video-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.ve-video-meta {
    padding: 12px 14px;
}

.ve-video-meta-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

.ve-video-meta-channel {
    font-size: 12px;
    color: #888;
    margin-bottom: 0;
}


/* ══════════════════════════════════════════════════════════════
   MEMBER STATUS CARD
   ══════════════════════════════════════════════════════════════ */
.ve-status-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #ccc;
}

.ve-status-card.ve-status-attending {
    background: #f0f7f0;
    border-left-color: #2e7d32;
}

.ve-status-card.ve-status-no-rsvp {
    background: #f8f9fa;
    border-left-color: #999;
}

.ve-status-card.ve-status-waitlist {
    background: #fef9e7;
    border-left-color: #f0ad4e;
}

.ve-status-card.ve-status-declined {
    background: #fdf2f2;
    border-left-color: #d9534f;
}

.ve-status-card.ve-status-complete {
    background: #f0f7ff;
    border-left-color: #5a7a9b;
}

.ve-status-icon {
    flex-shrink: 0;
    font-size: 20px;
    padding-top: 2px;
}

.ve-status-attending .ve-status-icon { color: #2e7d32; }
.ve-status-no-rsvp .ve-status-icon   { color: #999; }
.ve-status-waitlist .ve-status-icon   { color: #f0ad4e; }
.ve-status-declined .ve-status-icon   { color: #d9534f; }
.ve-status-complete .ve-status-icon   { color: #5a7a9b; }

.ve-status-body {
    flex: 1;
    min-width: 0;
}

.ve-status-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

.ve-status-detail {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.ve-status-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    color: #5a7a9b;
    text-decoration: none;
    font-weight: 600;
}

.ve-status-link:hover {
    color: #3d5a78;
    text-decoration: underline;
}


/* ══════════════════════════════════════════════════════════════
   TIGHTER MOBILE LAYOUT
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    /* Reduce vertical spacing between event detail rows */
    .event-info-row {
        padding: 6px 0;
    }

    /* Combine meta tags onto one line with smaller font */
    .event-details-header .event-meta-tag {
        font-size: 10px;
        padding: 1px 6px;
    }

    /* Director name + email on one line */
    .event-info-row .event-info-value br {
        display: none;
    }

    /* Tighter tee info card */
    .tee-info-card {
        padding: 10px 12px;
        margin-top: 10px;
    }

    /* Login bar slightly tighter */
    .ve-login-bar {
        padding: 10px 12px;
    }

    /* Status card slightly tighter */
    .ve-status-card {
        padding: 10px 12px;
        gap: 10px;
    }
}
