/* upcoming_session_details.php specific styles */

.sdp-page {
    background: #f5f3ff;
}

/* ── Header Card ─────────────────────────────────── */
.sdp-header-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(30, 27, 75, 0.3);
    margin-top: 1.5rem;
}

.sdp-header-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sdp-back-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.sdp-back-link:hover {
    color: #fff;
}

.sdp-share-btn {
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: color 0.2s;
}

.sdp-share-btn:hover {
    color: #fff;
}

.sdp-session-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 0.4rem;
}

.sdp-title {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.sdp-host-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
}

.sdp-host-line .host-name {
    color: #fff;
}

.sdp-meta-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.sdp-meta-bar .sdp-skill-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
}

.sdp-meta-bar span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Price block */
.sdp-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.sdp-price-amount {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.sdp-price-sub {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.sdp-incl {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* Register button */
.sdp-register-btn {
    background: #6366f1;
    color: #fff;
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.sdp-register-btn:hover {
    background: #4f46e5;
    color: #fff;
    transform: translateY(-1px);
}

.sdp-register-btn.waitlist {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: none;
}

.sdp-register-btn.waitlist:hover {
    background: rgba(255, 255, 255, 0.18);
}

.sdp-register-btn.registered {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    cursor: default;
}

.sdp-register-btn.registered:hover {
    transform: none;
}

/* Progress */
.sdp-progress-wrap {
    width: 100%;
    margin-top: 0.4rem;
}

.sdp-progress-track {
    height: 5px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.sdp-progress-fill {
    height: 100%;
    border-radius: 99px;
    background: #6366f1;
    width: var(--pct);
    transition: width 0.4s ease;
}

.sdp-progress-fill.danger {
    background: #ef4444;
}

.sdp-progress-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    text-align: right;
}

/* ── Tabs ─────────────────────────────────────────── */
.sdp-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e7ff;
    margin: 1.75rem 0 0;
}

.sdp-tab {
    padding: 0.85rem 1.5rem;
    font-weight: 800;
    font-size: 0.95rem;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sdp-tab.active {
    color: #4f46e5;
    border-color: #4f46e5;
}

.sdp-tab-badge {
    background: #f0f0ff;
    color: #6366f1;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
}

.sdp-tab.active .sdp-tab-badge {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
}

/* ── Content area ─────────────────────────────────── */
.sdp-body {
    padding: 2rem 0 3rem;
}

/* About section */
.sdp-section-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #1e1b4b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sdp-section-title i {
    color: #6366f1;
    font-size: 1rem;
}

.sdp-about-text {
    color: #4b5563;
    line-height: 1.75;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Who's joining */
.sdp-who-joining {
    background: #f8fafc;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.sdp-avatar-stack {
    display: flex;
    align-items: center;
}

.sdp-avatar-stack .av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--av-bg);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    margin-left: -8px;
    overflow: hidden;
    flex-shrink: 0;
}

.sdp-avatar-stack .av:first-child {
    margin-left: 0;
}

.sdp-who-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
}

.sdp-who-text span {
    color: #6366f1;
}

/* Location card */
.sdp-location-card {
    background: #fff;
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.sdp-location-top {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sdp-venue-name {
    font-weight: 800;
    color: #1e1b4b;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.sdp-venue-addr {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.sdp-venue-desc {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.6;
    padding: 0 1.5rem 1.25rem;
    border-top: 1px solid #f5f3ff;
    margin-top: 0.5rem;
    padding-top: 0.9rem;
}

.sdp-directions-btn {
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 99px;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    transition: all 0.2s;
}

.sdp-directions-btn:hover {
    background: #6366f1;
    color: #fff;
}

.sdp-map-wrap {
    position: relative;
}

.sdp-map-wrap iframe,
.sdp-map-fallback {
    display: block;
    width: 100%;
    height: 240px;
    border: none;
}

.sdp-map-fallback {
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 700;
    text-decoration: none;
}

.sdp-location-rating {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #fff;
    border-radius: 10px;
    padding: 0.4rem 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    font-size: 0.75rem;
}

.sdp-location-rating .rating-label {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.15rem;
}

.sdp-location-rating .stars {
    color: #f59e0b;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

.sdp-location-rating .rating-num {
    font-size: 0.7rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-left: 3px;
}

/* Open in Maps pill */
.sdp-open-maps-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    border-radius: 99px;
    padding: 0.3rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e1b4b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.sdp-open-maps-pill:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #1e1b4b;
}

/* ── Right Sidebar Cards ──────────────────────────── */
.sdp-sidebar-card {
    background: #fff;
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.sdp-sidebar-title {
    font-weight: 900;
    font-size: 0.95rem;
    color: #1e1b4b;
    margin-bottom: 1rem;
}

/* Quick Info rows */
.sdp-qi-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f5f3ff;
}

.sdp-qi-row:first-child {
    padding-top: 0;
}

.sdp-qi-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sdp-qi-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f5f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 1rem;
    flex-shrink: 0;
}

.sdp-qi-label {
    font-weight: 800;
    font-size: 0.875rem;
    color: #1e1b4b;
    margin-bottom: 0.1rem;
}

.sdp-qi-sub {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

/* Booking Perks */
.sdp-perks-card {
    border-top: 3px solid #6366f1;
}

.sdp-perks-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    font-size: 0.95rem;
    color: #1e1b4b;
    margin-bottom: 0.85rem;
}

.sdp-perks-icon-wrap {
    width: 30px;
    height: 30px;
    background: #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
}

.sdp-perk-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    padding: 0.3rem 0;
}

.sdp-perk-item::before {
    content: "";
    width: 7px;
    height: 7px;
    background: #6366f1;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Weather Policy */
.sdp-weather-card .sdp-sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sdp-weather-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    line-height: 1.65;
}

/* Participants */
.sdp-participant-card {
    background: #fff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sdp-participant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.sdp-participant-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #475569;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.sdp-participant-name {
    font-weight: 800;
    color: #1e1b4b;
    font-size: 0.9rem;
    margin: 0;
}

.sdp-participant-time {
    font-size: 0.73rem;
    color: #94a3b8;
    font-weight: 600;
}

@media (max-width: 991px) {
    .sdp-header-card {
        padding: 1.5rem;
    }

    .sdp-title {
        font-size: 2rem;
    }

    .sdp-price-block {
        align-items: flex-start;
        margin-top: 1.5rem;
    }
}

/* Ad-hoc style classes */
.header-control-row {
    position: relative;
    z-index: 2;
}

.header-content-row {
    position: relative;
    z-index: 2;
}

.teal-icon {
    color: #6366f1;
}

.currency-symbol-sup {
    font-size: 1.2rem;
    vertical-align: super;
}

.price-label-text {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.7;
}

.map-iframe-adjust {
    border: 0;
}

.icon-xs {
    font-size: 0.65rem;
}

.muted-icon {
    color: #64748b;
}

.empty-participants-icon {
    font-size: 3rem;
}

.tab-content-hidden {
    display: none;
}
