/* Yarn Explorer — My RSVPs (list + detail) */

.ye-my-rsvps-page {
    background: var(--primary-light);
}

.ye-my-rsvps-page__shell {
    max-width: 1230px;
    margin: calc(var(--ye-page-hero-to-content, 50px) * -1) auto 0;
    padding: 0 20px 48px;
    position: relative;
    z-index: 2;
}

.ye-my-rsvps-page__layout {
    align-items: start;
}

.ye-my-rsvps-page__main {
    min-width: 0;
}

.ye-my-rsvps-page__card {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.ye-my-rsvps-detail-content {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.ye-my-rsvps-page__card {
    padding: 0;
}

.ye-my-rsvps-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 25px;
    border-bottom: none;
}

.ye-my-rsvps-tabs {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ye-my-rsvps-tabs__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: var(--primary-color);
    text-decoration: none;
    background: var(--white-color);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ye-my-rsvps-tabs__btn.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.ye-my-rsvps-search {
    position: relative;
    flex: 1 1 468px;
    max-width: 468px;
    margin-left: auto;
}

.ye-my-rsvps-search__input {
    width: 100%;
    min-height: 48px;
    padding: 10px 16px 10px 44px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 16px;
    line-height: 20px;
    color: var(--gray-color);
    background: var(--white-color);
}


.ye-my-rsvps-search__input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color:var(--gray-color);
  opacity: 1;
}
.ye-my-rsvps-search__input::-moz-placeholder { /* Firefox 19+ */
  color:var(--gray-color);
  opacity: 1;
}
.ye-my-rsvps-search__input:-ms-input-placeholder { /* IE 10+ */
  color:var(--gray-color);
  opacity: 1;
}
.ye-my-rsvps-search__input:-moz-placeholder { /* Firefox 18- */
  color:var(--gray-color);
  opacity: 1;
}




.ye-my-rsvps-search__input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.ye-my-rsvps-search__btn {
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.ye-my-rsvps-page__heading {
    margin: 0;
    padding: 0 0 0 25px;
    font-size: var(--font-size-18);
    line-height: 26px;
    font-weight: var(--font-weight-600);
    color: var(--primary-color);
}

.ye-my-rsvps-grid {
    padding: 1px 25px 25px;
}

.ye-my-rsvps-pagination {
    padding: 8px 25px 25px;
}

.ye-my-rsvps-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 20px 56px;
    text-align: center;
}

.ye-my-rsvps-empty p {
    margin: 0;
    max-width: 360px;
    font-size: 15px;
    line-height: 24px;
    color: #6b7280;
}

/* ---- Detail breadcrumb ---- */
.ye-my-rsvps-breadcrumb {
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 16px;
    line-height: 24px;
    padding: 14px 0;
}

.ye-my-rsvps-breadcrumb a {
    color: var(--white-color);
    text-decoration: none;
    opacity: 0.92;
}

.ye-my-rsvps-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.ye-my-rsvps-breadcrumb [aria-current="page"] {
    font-weight: 600;
}

.ye-my-rsvps-breadcrumb__sep {
    margin: 0 10px;
    opacity: 0.75;
}

.ye-my-rsvps-detail-content {
    padding: 24px;
}

.ye-my-rsvps-detail-page .ye-my-rsvps-page__shell {
    margin-top: 24px;
}

.ye-my-rsvps-detail-card {
    margin-bottom: 0;
}

.ye-my-rsvps-detail-card [data-ye-rsvp-carousel] .ye-event-detail-card__nav,
.ye-my-rsvps-detail-card [data-ye-rsvp-carousel] .ye-festival-detail-card__nav,
.ye-my-rsvps-detail-card [data-ye-rsvp-carousel] .ye-tour-detail-card__nav {
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
}

.ye-my-rsvps-detail-card .ye-event-detail-card__actions,
.ye-my-rsvps-detail-card .ye-festival-detail-card__actions {
    display: none;
}

.ye-my-rsvps-more-info {
    display: inline-block;
    margin-bottom: 0;
    margin-top: 25px;
    font-weight: 400;
    text-decoration: underline;
}

.ye-my-rsvps-tour-primary-actions {
    margin-bottom: 16px;
}

.ye-my-rsvps-detail-card.ye-tour-detail-card .ye-tour-detail-card__meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

.ye-my-rsvps-detail-card.ye-tour-detail-card .ye-tour-detail-card__meta-item,
.ye-my-rsvps-detail-card.ye-tour-detail-card .ye-tour-detail-card__meta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ye-my-rsvps-detail-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 0;
    border-top: none;
}

.ye-my-rsvps-detail-actions__cancel, .ye-my-rsvps-detail-actions__calendar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 26px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ye-my-rsvps-detail-actions__cancel {
    /* border: 1px solid var(--border-color); */
    background: var(--primary-light);
    color: var(--primary-color);
}

.ye-my-rsvps-detail-actions__cancel:hover {
    background: #e5e7eb;
}

.ye-my-rsvps-detail-actions__cancel:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ye-my-rsvps-detail-actions__calendar {
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: var(--white-color);
}

.ye-my-rsvps-detail-actions__calendar:hover {
    background: #0a2540;
    border-color: #0a2540;
}

.ye-my-rsvps-detail-actions__calendar img {
    filter: brightness(0) invert(1);
}

.ye-my-rsvps-detail-map {
    margin-top: 25px;
    border: none;
    padding-top: 0;
}

.ye-my-rsvps-detail-map .ye-festival-detail-map__canvas {
    width: 100%;
    height: 380px;
    min-height: 380px;
    border-radius: 16px;
    overflow: hidden;
    background: #edf0f3;
}

.ye-my-rsvps-detail-map .ye-festival-detail-map__placeholder {
    display: block;
    width: 100%;
    height: 380px;
    min-height: 380px;
    border-radius: 16px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .ye-my-rsvps-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ye-my-rsvps-search {
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .ye-my-rsvps-page__shell {
        padding: 0 16px 32px;
    }

    .ye-my-rsvps-grid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ye-my-rsvps-page__heading,
    .ye-my-rsvps-toolbar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ye-my-rsvps-detail-content {
        padding: 16px;
    }

    .ye-my-rsvps-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ye-my-rsvps-detail-actions__cancel,
    .ye-my-rsvps-detail-actions__calendar {
        width: 100%;
    }
}
