/* ================================
   UCB Pass Selection UI
   Loaded on any page using the pass selection UI
   (My Account pass endpoints + [ucb_pass_selection] shortcode)
   ================================ */

/* ================================
   My Passes — Pass Selection Page
   .ucb-pass-selection, .ucb-pass-card
   ================================ */

.ucb-pass-selection {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.ucb-pass-selection__title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

.ucb-pass-selection__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.ucb-pass-selection__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.ucb-pass-selection__link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ucb-pass-selection__link--event {
    background-color: #f0f0f0;
    color: #333;
}

.ucb-pass-selection__link--event:hover {
    background-color: #1f1f1f;
    color: #fff;
}

.ucb-pass-selection__link--info {
    background-color: #a62d23;
    color: #fff;
}

.ucb-pass-selection__link--info:hover {
    background-color: #8a2019;
    color: #fff;
    text-decoration: none !important;
}

@media (max-width: 600px) {
    .ucb-pass-selection__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.ucb-pass-selection__description {
    font-size: 16px;
    color: #444;
    margin: 0 0 16px;
    line-height: 1.5;
}

/* Closed state */
.ucb-pass-selection__notice {
    background-color: #f7f7f7;
    border-left: 4px solid #ccc;
    padding: 16px 20px;
    border-radius: 6px;
    color: #555;
}

/* Status bar */
.ucb-pass-selection__status-bar {
    margin-bottom: 24px;
    font-size: 16px;
    color: #333;
}

.ucb-pass-selection__status-bar p {
    margin: 0;
}

.ucb-pass-selection__all-selected {
    color: #2e7d32;
    font-weight: 600;
}

.ucb-pass-selection__checkmark {
    font-size: 18px;
}

/* Card grid — matches event card layout from Image 2 */
.ucb-pass-selection__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 600px) {
    .ucb-pass-selection__grid {
        grid-template-columns: 1fr;
    }
}

/* Individual card */
.ucb-pass-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.ucb-pass-card:hover {
    box-shadow: 2px 2px 10px 2px rgba(0,0,0,0.18);
}

.ucb-pass-card--claimed {
    outline: 3px solid #2e7d32;
    outline-offset: -1px;
}

.ucb-pass-card--sold-out {
    opacity: 0.7;
}

/* Image area */
.ucb-pass-card__image {
    position: relative;
    aspect-ratio: 2/1;
    overflow: hidden;
    background-color: #111;
}

.ucb-pass-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* State badge on image */
.ucb-pass-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ucb-pass-card__badge--selected {
    background-color: #2e7d32;
    color: #fff;
}

.ucb-pass-card__badge--sold-out {
    background-color: #333;
    color: #fff;
}

/* Card body */
.ucb-pass-card__body {
	font-family: 'DM Sans', sans-serif;
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

/* Location badge — matches event card pill style */
.ucb-pass-card__location {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ucb-pass-card__location-badge {
    font-family: 'Knockout 31 Junior Middlewt';
	background: #3d727b;
    display: inline-block;
    color: #fff;
    margin: 6px 10px 0 0;
    font-size: 15px;
    line-height: 1.125em;
    text-align: unset;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
}

.ucb-pass-card__date {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #222;
}

.ucb-pass-card__time {
    color: #555;
}

.ucb-pass-card__title {
	font-family: 'Knockout 31 Junior Middlewt';
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2em;
    margin: 0;
}

.ucb-pass-card__title a {
    color: #1f1f1f;
    text-decoration: none;
}

.ucb-pass-card__title a:hover {
	text-decoration: none !important;
}

.ucb-pass-card__stock {
    font-size: 13px;
    color: #b45309;
    font-weight: 600;
    margin: 0;
}
.ucb-pass-card__excerpt {
    display: block;
    margin-bottom: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4em;
}
/* Action row — pushed to bottom of card */
.ucb-pass-card__action {
    margin-top: auto;
    padding-top: 12px;
}

.ucb-pass-card__btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ucb-pass-card__btn--claim {
    background-color: #a62d23 !important;
    color: #fff !important;
    border: none !important;
}

.ucb-pass-card__btn--claim:hover {
    background-color: #8a2019 !important;
    color: #fff !important;
}

.ucb-pass-card__btn--selected {
    background-color: #2e7d32 !important;
    color: #fff !important;
}

.ucb-pass-card__btn--selected:hover {
    background-color: #1b5e20 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.ucb-pass-card__btn--sold-out,
.ucb-pass-card__btn--unavailable {
    background-color: #e0e0e0 !important;
    color: #888 !important;
    cursor: default;
    pointer-events: none;
}

/* Read More link inside card action row */
.ucb-pass-card__action {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
 
.ucb-pass-card__readmore {
    color: #a62d23;
    text-decoration: none;
	margin-left: 5px;
	font-weight: 600;
}
 
.ucb-pass-card__readmore:hover {
    text-decoration: underline;
    color: #8a2019;
}
 
/* ── Magnific Popup lightbox overlay ──────────────────────── */
.ucb-pass-lightbox-overlay .mfp-content {
    max-width: 780px;
    width: 90%;
}
 
.ucb-pass-lightbox-content {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}
 
.ucb-pass-lightbox__image img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}
 
.ucb-pass-lightbox__body {
    padding: 24px 28px 32px;
}
 
@media (max-width: 600px) {
    .ucb-pass-lightbox__body {
        padding: 16px 18px 24px;
    }
}
 
.ucb-pass-lightbox__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
 
.ucb-pass-lightbox__date {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}
 
.ucb-pass-lightbox__title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
}
 
@media (max-width: 600px) {
    .ucb-pass-lightbox__title {
        font-size: 22px;
    }
}
 
.ucb-pass-lightbox__description {
    font-size: 16px;
    line-height: 1.55;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
 
.ucb-pass-lightbox__description p:last-child {
    margin-bottom: 0;
}
 
.ucb-pass-lightbox__talent h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}
 
.ucb-pass-lightbox__actions {
    margin-top: 24px;
    text-align: right;
}
 
.ucb-pass-lightbox__actions .button {
    background-color: #1f1f1f !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 10px 20px !important;
}
 
.ucb-pass-lightbox__actions .button:hover {
    background-color: #a62d23 !important;
    color: #fff !important;
    text-decoration: none !important;
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ucb-pass-card,
    .ucb-pass-card__btn {
        transition: none;
    }
}
/* ================================
   My Passes — Festival Style
   Activated via pass_display_style = 'festival'
   Wraps everything in .ucb-pass-selection--festival
   ================================ */

.ucb-pass-selection--festival {
    background-color: #111;
    color: #fff;
    padding: 30px 20px 50px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.ucb-pass-selection--festival .ucb-pass-selection__title {
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 4px;
}

.ucb-pass-selection--festival .ucb-pass-selection__status-bar {
    color: #bbb;
}

.ucb-pass-selection--festival .ucb-pass-selection__all-selected {
    color: #6fcf7a;
}

.ucb-pass-selection--festival .ucb-pass-selection__notice {
    background-color: #1e1e1e;
    border-left-color: #444;
    color: #aaa;
}

/* Cards */
.ucb-pass-selection--festival .ucb-pass-card {
    background-color: #1e1e1e;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
}

.ucb-pass-selection--festival .ucb-pass-card:hover {
    box-shadow: 2px 2px 14px rgba(0, 0, 0, 0.8);
}

.ucb-pass-selection--festival .ucb-pass-card--claimed {
    outline-color: #6fcf7a;
}

.ucb-pass-selection--festival .ucb-pass-card__date {
    color: #ccc;
}

.ucb-pass-selection--festival .ucb-pass-card__time {
    color: #888;
}

.ucb-pass-selection--festival .ucb-pass-card__title a {
    color: #fff;
}

.ucb-pass-selection--festival .ucb-pass-card__title a:hover {
    color: #e87c6e;
}

.ucb-pass-selection--festival .ucb-pass-card__excerpt {
    color: #999;
}

.ucb-pass-selection--festival .ucb-pass-card__stock {
    color: #f0a040;
}

.ucb-pass-selection--festival .ucb-pass-card__readmore {
    color: #e87c6e;
}

.ucb-pass-selection--festival .ucb-pass-card__readmore:hover {
    color: #ff9d8f;
}

/* Location badge — lighter teal on dark */
.ucb-pass-selection--festival .ucb-pass-card__location-badge {
    background-color: #1a5c4a;
}

/* Sold-out / unavailable button on dark */
.ucb-pass-selection--festival .ucb-pass-card__btn--sold-out,
.ucb-pass-selection--festival .ucb-pass-card__btn--unavailable {
    background-color: #333 !important;
    color: #666 !important;
}

.ucb-pass-selection--festival .ucb-pass-selection__header {
    border-bottom-color: #333;
}

.ucb-pass-selection--festival .ucb-pass-selection__link--event {
    background-color: #2a2a2a;
    color: #ccc;
}

.ucb-pass-selection--festival .ucb-pass-selection__link--event:hover {
    background-color: #444;
    color: #fff;
}

.ucb-pass-selection--festival .ucb-pass-selection__description {
    color: #bbb;
}

/* Separator between pass block and ticket list */
.ucb-pass-tickets-separator {
    max-width: 1300px;
    margin: 30px auto 10px;
    padding: 0 20px;
    border-top: 2px solid #e0e0e0;
}

.ucb-pass-tickets-separator h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0 0;
    color: #1f1f1f;
}

/* ── Claim confirmation popup ─────────────────────────────── */
.ucb-claim-confirm__image {
    aspect-ratio: 2 / 1;
    overflow: hidden;
}

.ucb-claim-confirm__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ucb-claim-confirm__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.ucb-claim-confirm__date {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.ucb-claim-confirm__eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin: 0 0 6px;
}

.ucb-claim-confirm__note {
    font-size: 14px;
    color: #666;
    margin: 8px 0 0;
    line-height: 1.5;
}

.ucb-claim-confirm__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.ucb-claim-confirm__cancel {
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    color: #888;
    cursor: pointer;
    text-align: center;
    text-decoration: underline;
}

.ucb-claim-confirm__cancel:hover {
    color: #333;
}

.ucb-pass-selection--festival .ucb-pass-card__location-badge {
	background-color: #c23328;
	border-radius: 0;
}
.ucb-pass-card {
	border-radius: 0;
	border: 1px solid #c23328;
}
button.button.ucb-pass-card__btn.ucb-pass-card__btn--claim.ucb-pass-selection__claim-btn {
	border-radius: 0 !important;
	background-color: #c23328;
	text-transform: uppercase;
}