/* =========================================================
   Ultra Camp Connection — Shortcode Styles
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@900&display=swap');

/* Wrapper */
.ucc-events-wrap {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
}

.ucc-events-wrap * {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
}

.ucc-events-wrap {
    max-width: 960px;
    margin: 0 auto;
}

/* Filter bar */
.ucc-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    background:#CEF237;
    border-radius: 20px;
    padding:0px 5px 0px;
}
.ucc-filter-by {
    background:transparent;
	height:auto;
	line-height:1;
    color:#113868;
    border-radius: 25px 10px 10px 25px;
    border:2px solid #113868;
    font-size:16px;
    display:flex;
    align-items: center;
	justify-content:center;
	padding:3px 40px 3px 15px;
}
.ucc-filter-bar select {
    padding: 3px 20px 3px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background:#113868;
    color:#fff;
    cursor: pointer;
    margin-bottom:0px;
	height:auto;
}

.ucc-reset {
    padding: 0px 20px;
	height:auto;
    font-size: 16px;
    border:none;
    border-radius: 10px 25px 25px 10px;
    color:#fff;
    background: linear-gradient(90deg, rgba(17, 56, 104, 0.6) 0%, rgba(34, 111, 206, 0.6) 100%);
    cursor: pointer;
    transition: ease all .3s;
    &:hover {
        background: linear-gradient(90deg, rgba(34, 111, 206, 0.6) 100%, rgba(17, 56, 104, 0.6) 0%);
    }
}

/* Custom Camps filter bar — inverted color scheme */
.ucc-cc-filter-bar {
    background: #113868;
}
.ucc-cc-filter-bar .ucc-filter-by {
    color: #fff;
    border-color: #fff;
}
.ucc-cc-filter-bar select {
    background: #CEF237;
    color: #113868;
    border-color: #CEF237;
}

/* List container */
.ucc-list-wrap {
    background: #113868;
    padding: 25px;
    border-radius: 20px;
}

/* Events list */
.ucc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Event card ── */
.ucc-event-card {
    border: 3px solid #CEF237;
    background-color: #113868;
    background-size: cover;
    background-position: center;
    color: #fff;
    border-radius: 20px;
    overflow: hidden;
    padding: 20px 20px 0 20px;
}

/* Title row: 1/3 spacer + 2/3 title */
.ucc-card-title-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-bottom: 4px;
}

.ucc-card-title-left {
    display: flex;
    justify-content: center;
    align-items: center;
    color:#CEF237;
    font-size:36px;
    font-weight:900;
}

/* Session name — full-width header inside the card */


/* Option description shown next to city in the title row */
.ucc-card-title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

/* Admin-configured city name shown below the session name */
.ucc-card-location-city {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* SubCategory1 shown below the card title */
.ucc-card-subcat {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Full address shown below location name in card column 3 */
.ucc-card-address {
    display: block;
    font-size: 18px;
    color: rgba(255, 255, 255, 1);
    margin-top: 4px;
    line-height: 1.4;
}

/* Three-column grid */
.ucc-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding-bottom: 14px;
}

.ucc-card-col {
    display: flex;
	justify-content:flex-start;
    flex-direction: column;
    padding-top:35px;
    gap: 4px;
    font-size: 18px;
    line-height: 1.5;
}

.ucc-card-col--age {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 250px;
    width: auto;
}

.ucc-age-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.ucc-card-age-text {
    position: absolute;
    top:0;
    right:0;
    z-index: 1;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-align: left;
    background:#0054DB;
    border-radius:50%;
    padding:15px;
    line-height:1;
    height:85px;
    width:85px;
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-style:italic;
    transform: rotate(-15deg);
    & div {
        position: relative;
        top:-5px;
        & span {
            font-size:12px;
            font-weight:200;
            text-transform:uppercase;
        }
    }
}
    

.ucc-col-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-bottom: 4px;
    display: block;
}

.ucc-card-col-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #CEF237;
    font-weight: 600;
    margin-bottom: 2px;
}

/* Register footer */
.ucc-card-footer {
    padding: 12px 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
}

.ucc-card-footer-date {
    font-size: 15px;
    font-weight: 600;
    color: #113868;
    background: #fff;
    border-radius: 10px;
    padding: 4px 12px;
    text-align: center;
    justify-self: center;
}

.ucc-card-footer-right {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-self: end;
}

.ucc-card-cost {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.ucc-col-location-name {
    color: #fff;
    font-size: 16px;
}

.ucc-register-btn {
    display: inline-block;
    padding: 5px 12px;
    background: #CEF237;
    color: #113868;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 10px;
    transition: opacity 0.15s;
    text-transform:uppercase;
}

.ucc-register-btn:hover {
    opacity: 0.85;
    color: #113868;
    text-decoration: none;
}

/* Alert badge — shown in the card title row */
.ucc-card-title {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
}

.ucc-alert-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 900;
    text-transform: capitalize;
    letter-spacing: 0.07em;
    white-space: nowrap;
    background: linear-gradient(90deg, #CEF237, #226FCE);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Session options list (age groups) — inside center card column */
.ucc-card-options {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ucc-card-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.3;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 4px;
}

.ucc-option-name {
    color: #CEF237;
    font-weight: 700;
}

.ucc-option-cost {
    color: #fff;
    white-space: nowrap;
    font-weight: 400;
}

/* No results message */
.ucc-no-results {
    font-style: italic;
    color: #666;
    margin-top: 12px;
}

/* Responsive: stack columns on small screens */
@media ( max-width: 600px ) {
    .ucc-card-grid {
        grid-template-columns: 1fr;
    }

    .ucc-card-title-left {
        line-height: 1.1;
    }

    .ucc-card-col {
        flex-wrap: nowrap;
        flex-direction:row;
        font-size:18px;
    }

    .ucc-card-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 12px 0;
    }

    .ucc-card-footer-right {
        flex-direction: column;
        align-items: center;
        justify-self: unset;
        gap: 8px;
    }

    .ucc-filter-bar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }

    .filter-bar_selects {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 8px;
    }

    .ucc-filter-bar select {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .ucc-filter-by {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        border-radius: 10px;
    }

    .ucc-reset {
        width: 100%;
        max-width: 280px;
        border-radius: 10px;
        padding: 8px 20px;
        text-align: center;
    }
}
