/* ==========================================================================
   WANDERLUST - EXPERIENCE & VENUE MODAL SYSTEM
   ========================================================================== */

/* Modal Overlay Backdrop */
.experience-modal.modal {
    display: none;
    /* Controlled via JavaScript */
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeInModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Modal Content Card */
.experience-modal .modal-content {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 24px;
    max-width: 520px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    text-align: left;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.8);
    scrollbar-width: none;
    /* Hide scrollbar for clean UX */
}

.experience-modal .modal-content::-webkit-scrollbar {
    display: none;
}

/* Header Action Row (Close Button Left, Favorite Heart Right) */
.experience-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border: none;
    padding: 0;
    background: none;
}

.experience-modal .close_button {
    background: #F1F5F9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.experience-modal .close_button:hover {
    background: #E2E8F0;
    color: #0F172A;
    transform: scale(1.05);
}

/* Modal Typography */
.experience-modal #modalTitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #0F172A;
    margin: 8px 0 4px 0;
    line-height: 1.3;
}

.experience-modal .modal_date {
    font-size: 0.82rem;
    font-weight: 600;
    color: #19a887;
    margin: 0 0 14px 0;
}

.experience-modal .modal_desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #334155;
    margin: 16px 0;
}

/* Media Displays (Image & Embeds) */
.experience-modal #modalImage {
    display: block;
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    margin: 12px 0;
    border-radius: 18px;
}

.experience-modal #modalEmbedContainer {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
}

/* ==========================================================================
   VENUE ATTRIBUTION & BUSINESS CLAIMING CARD
   ========================================================================== */

.venue_info_card {
    background: #F8FAFC;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 16px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.venue_header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.venue_icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #E8F7F4;
    color: #19a887;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.venue_header h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0F172A;
    margin: 0 0 2px 0;
}

.venue_header p {
    font-size: 0.8rem;
    color: #64748B;
    margin: 0;
}

.venue_actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(15, 23, 42, 0.08);
}

.venue_link_btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: #19a887;
    text-decoration: none;
    background: #FFFFFF;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(25, 168, 135, 0.3);
    transition: all 0.2s ease;
}

.venue_link_btn:hover {
    background: #19a887;
    color: #FFFFFF;
}

.claim_business_link {
    font-size: 0.76rem;
    color: #64748B;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.claim_business_link i {
    color: #FFB020;
}

.claim_business_link:hover {
    color: #0F172A;
    text-decoration: underline;
}

/* Accessibility Focus States */
.experience-modal .close_button:focus,
.experience-modal .heart_icon:focus,
.experience-modal .venue_link_btn:focus {
    outline: 2px solid #19a887;
    outline-offset: 2px;
}

/* GLOBAL TOAST NOTIFICATION */
.toast_notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #0F172A;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 9999px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
    z-index: 20000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast_notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast_notification i {
    color: #19A887;
    /* Wanderlust Teal */
    font-size: 1rem;
}

/* SMART EMPTY STATE CONTAINER */
.empty_state_card {
    text-align: center;
    padding: 40px 20px;
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px dashed #CBD5E1;
    margin: 20px auto;
    max-width: 400px;
}

.empty_state_icon {
    width: 64px;
    height: 64px;
    background: #F0FDF4;
    color: #19A887;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px auto;
}

.empty_state_card h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 0 6px 0;
    color: #0F172A;
}

.empty_state_card p {
    font-size: 0.82rem;
    color: #64748B;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.empty_state_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #19A887;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 9999px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(25, 168, 135, 0.25);
}

/* GLOBAL EMPTY STATE CONTAINER */
.empty_state_card {
    text-align: center;
    padding: 36px 20px;
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px dashed var(--border-subtle, #E2E8F0);
    margin: 24px auto;
    max-width: 420px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
}

.empty_state_icon {
    width: 60px;
    height: 60px;
    background: #F0FDF4;
    color: var(--brand-teal, #19A887);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 14px auto;
    border: 1px solid #A7F3D0;
}

.empty_state_card h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 0 6px 0;
    color: var(--text-main, #0F172A);
}

.empty_state_card p {
    font-size: 0.82rem;
    color: var(--text-muted, #64748B);
    margin: 0 0 18px 0;
    line-height: 1.45;
}

.empty_state_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-teal, #19A887);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: var(--radius-pill, 9999px);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(25, 168, 135, 0.25);
    transition: all 0.2s ease;
}

.empty_state_btn:hover {
    background: var(--brand-teal-hover, #14866B);
    transform: translateY(-1px);
}