.pt-view-facility-btn {
    background: var(--green);
    color: white;
    border-radius: 20px;
    padding: 5px 10px;
    text-decoration: none;
    margin: 3px 0px;
    display: inline-block;
}

.pt-group-class-level-guide-container {
    margin: 20px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 20px;
    font-size: 16px;
}

.pt-level-guide-callout {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 12px;
    margin: 20px 0 10px;
    padding: 14px 24px;
    font-size: 15px;
    color: #333;
    background: #f0f7f0;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
}

.pt-level-guide-callout span {
    font-weight: 500;
}

.pt-level-guide-callout a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: var(--green);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: opacity 0.2s;
}

.pt-level-guide-callout a:hover {
    opacity: 0.85;
}

.pt-extra-message {
    background-color: #bbdfba;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    margin-top: 15px;
    display: block;
    text-align: center;
}

.pt-enrollment-message {
    background-color: #ffffc5;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    margin-top: 15px;
    display: block;
    text-align: center;
}

/* ============================
   Page container override
   ============================ */
.pt-classes-content {
    max-width: 1400px;
}

/* ============================
   Sidebar + Content Layout
   ============================ */
.pt-gc-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* Sticky column wrapper for title + sidebar */
.pt-gc-sidebar-col {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    z-index: 3;
    transition: top 0.3s ease, max-height 0.3s ease, width 0.25s ease, opacity 0.25s ease;
}

/* Category title above sidebar */
.pt-gc-sidebar-title {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    line-height: 1.4;
}

.pt-gc-sidebar-title strong {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

/* Left sidebar */
.pt-gc-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    padding: 16px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

/* Sidebar moves higher when scrolled past hero */
body.pt-scrolled .pt-gc-sidebar-col {
    top: 10px;
    max-height: calc(100vh - 20px);
}

/* Collapse promo banner + back link on scroll */
body.pt-scrolled #pt-promo-banner {
    max-height: 0;
    opacity: 0;
    margin: 0;
    border-color: transparent;
}

body.pt-scrolled #pt-promo-back-link {
    max-height: 0;
    opacity: 0;
    margin: 0;
}

/* Hide sticky offer banner on scroll */
body.pt-scrolled .pt-offer-container {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Sidebar column collapsed state (desktop) */
.pt-gc-sidebar-col--collapsed {
    width: 0;
    overflow: hidden;
    opacity: 0;
}

/* Sidebar header (hidden on desktop, visible on mobile) */
.pt-gc-sidebar__header {
    display: none;
}

/* Sidebar section label */
.pt-gc-sidebar__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 2px;
}

/* Sidebar sections */
.pt-gc-sidebar__section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Date input in sidebar */
.pt-gc-date-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    margin-top: 5px;
}

.pt-gc-date-input:focus {
    outline: none;
    border-color: #4a90a4;
}

/* Sidebar divider */
.pt-gc-sidebar__divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 4px 0;
}

/* Sidebar actions */
.pt-gc-sidebar__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

/* Apply button (hidden on desktop, shown on mobile) */
.pt-gc-apply-btn {
    display: none;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.pt-gc-apply-btn:hover {
    opacity: 0.9;
}

/* Content area takes remaining space */
.pt-gc-content {
    flex: 1;
    min-width: 0;
}

/* Content header with collapse button + result count */
.pt-gc-content__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    margin-top: 10px;
}

/* Collapse toggle button (desktop only) */
.pt-gc-collapse-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    flex-shrink: 0;
    color: #666;
    font-size: 12px;
}

.pt-gc-collapse-btn:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

.pt-gc-sidebar-col--collapsed ~ .pt-gc-content .pt-gc-collapse-btn i {
    transform: rotate(180deg);
}

/* Mobile trigger bar (hidden on desktop) */
.pt-gc-filter-trigger-bar {
    display: none;
}

/* Overlay (hidden on desktop) */
.pt-gc-filter-overlay {
    display: none;
}

/* ============================
   Mobile/Tablet: Slide-in drawer (<=900px)
   ============================ */
@media screen and (max-width: 900px) {
    .pt-gc-layout {
        flex-direction: column;
        gap: 0;
    }

    /* Hide sidebar title and reset column on mobile */
    .pt-gc-sidebar-title {
        display: none;
    }

    .pt-gc-sidebar-col {
        position: static;
        width: auto;
        max-height: none;
        z-index: auto;
    }

    /* Hide desktop collapse button */
    .pt-gc-collapse-btn {
        display: none;
    }

    /* Show mobile filter trigger bar */
    .pt-gc-filter-trigger-bar {
        display: flex;
        justify-content: center;
        position: sticky;
        top: 0;
        z-index: 4;
        background: #fff;
        padding: 12px 20px;
        border-bottom: 1px solid #e8e8e8;
    }

    .pt-gc-filter-trigger {
        background: var(--green);
        color: #fff;
        border: none;
        border-radius: 30px;
        padding: 12px 28px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: 'Work Sans', sans-serif;
    }

    .pt-gc-filter-trigger i {
        color: #fff;
    }

    .pt-gc-filter-trigger:active {
        background: #4ea64e;
    }

    .pt-gc-filter-count:not(:empty) {
        background: var(--green);
        color: #fff;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 600;
        padding: 0;
    }

    /* Sidebar becomes full-screen modal */
    .pt-gc-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 100vh;
        background: #fff;
        z-index: 100;
        padding: 24px;
        overflow-y: auto;
        box-shadow: none;
        transform: translateY(100%);
        transition: transform 0.25s ease;
        border-radius: 0;
        border: none;
        box-sizing: border-box;
    }

    .pt-gc-sidebar--open {
        transform: translateY(0);
    }

    /* Show sidebar header on mobile */
    .pt-gc-sidebar__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        font-weight: 600;
        font-size: 18px;
    }

    .pt-gc-sidebar__close {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: #333;
        padding: 4px;
    }

    /* Show Apply button on mobile */
    .pt-gc-apply-btn {
        display: block;
    }

    /* Hide filter trigger bar when drawer is open */
    html.pt-no-scroll .pt-gc-filter-trigger-bar {
        visibility: hidden;
    }

    /* Overlay visible when sidebar open */
    .pt-gc-filter-overlay--visible {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 99;
    }

    /* Content takes full width */
    .pt-gc-content {
        width: 100%;
    }

    .pt-gc-content__header {
        margin-top: 12px;
    }
}


.qsfk-tile {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qsfk-tile img {
    width: 100%;
}

.pt-page-title {
    margin: 15px auto 20px;
    width: fit-content;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .pt-page-title {
        font-size: 32px;
    }
}

.pt-city-img img {
    transition: transform 0.3s ease;
    transform-origin: center;
}

.pt-city-img:hover img {
    transform: scale(1.15);
    opacity: 1;
}

.pt-canada-flag-img img {
    height: 60px;
}

img.flag-animated {
    display: none !important;
}

.pt-canada-flag-img:hover img.flag-static {
    display: none !important;
}

.pt-canada-flag-img:hover img.flag-animated {
    display: block !important;
}

.pt-small i {
    font-size: 12px;
}

.pt-city-img img {
    height: 175px;
    max-height: 175px !important;
}

.pt-tennis-court-img img {
    height: 175px;
    max-height: 175px !important;
    transition: transform 0.5s ease;
}

.pt-tennis-court-img img.rotating {
    transition: transform 1s linear;
}

.pt-value-prop-img {
    height: 125px;
    max-height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tennis-ball-container {
    display: inline-block;
    overflow: hidden;
}

.tennis-ball {
    display: block;
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
}

.tennis-ball:hover {
    animation: rotate 2s linear infinite;
}

/* Define the keyframe animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.pt-callout {
    display: flex;
    flex-direction: column;
    background-color: ghostwhite;
    padding: 20px;
    border-radius: 8px;
    line-height: 26px;
    box-sizing: border-box;
}

.pt-callout span {
    font-size: 16px;
    text-align: center;
}

.pt-callout .pt-callout-main {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.pt-group-class--value-props {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    text-align: center;
    box-sizing: border-box;
    margin: 10px auto 40px;
}

.pt-value-prop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pt-value-prop img {
    max-height: 125px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pt-value-prop h3 {
    height: 40px;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.pt-value-prop p {
    font-size: 0.85em;
    color: #555;
    margin: 0;
    line-height: 1.5;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .pt-group-class--value-props {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-value-prop img {
        max-height: 100px;
    }

}

@media (max-width: 480px) {
    .pt-group-class--value-props {
        grid-template-columns: 1fr;
    }
}

/* Show full toggle in sidebar */
.pt-show-full-filter {
    display: flex;
    align-items: center;
}

/* Reset button in sidebar */
.pt-reset-btn {
    background: transparent;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.pt-reset-btn:hover {
    color: #333;
    border-color: #999;
    background: #f5f5f5;
}

.pt-reset-btn:active {
    background: #e8e8e8;
}

/* Sidebar select elements */
.pt-gc-sidebar select {
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: 'Work Sans', sans-serif;
    width: 100%;
    box-sizing: border-box;
    background: white;
}

.pt-group-class--results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    box-sizing: border-box;
}

/* Cap at 3 columns max */
@media (min-width: 1200px) {
    .pt-group-class--results {
        grid-template-columns: repeat(3, 1fr);
    }
}

.activity-tile {
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;           /* keeps pseudo-elements clipped */
  --bg-image: none;           /* default */
  container-type: inline-size;
}

/* Loading spinner as a grid tile */
.pt-grid-spinner {
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border-style: dashed;
  border-color: #ddd;
  background: #fafafa;
  box-shadow: none;
}

/* Narrow cards (3-col grid): stack coaches on top */
@container (max-width: 500px) {
  .pt-tile-content {
    flex-direction: column;
  }
  .pt-tile-coach {
    align-items: center;
  }
}

/* background image layer */
.activity-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0.25;              /* overall transparency of the photo */
}

/* white fade overlay (from more opaque → transparent) */
.activity-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.6) 0%,   /* lighter/whiter at top */
    rgba(255, 255, 255, 0.2) 60%,  /* subtle middle */
    rgba(255, 255, 255, 0) 100%    /* transparent bottom */
  );
}

/* ensure children stay fully visible and crisp */
.activity-tile > * {
  position: relative;
  z-index: 2;
}

.pt-tile-coach-items {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.pt-tile-coach-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.pt-tile-coach-item>span {
    margin: 5px 0;
    font-size: 14px;
}

.pt-tile-coach img {
    width: 100%;
    min-width: 120px;
    min-height: 120px;
    max-height: 120px;
    max-width: 120px;
    object-fit: cover;
    border-radius: 20px;
}

.pt-tile-additional-coaches {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pt-tile-additional-coaches-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 6px;
}

.pt-tile-additional-coaches-list {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.pt-tile-coach-additional > span {
    font-weight: 400;
    font-size: 12px;
    color: #555;
}

.pt-tile-coach-additional img {
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    border-radius: 14px !important;
    opacity: 0.85;
}

.activity-tile h4 {
    margin: 40px 0 5px 0;
    font-size: 17px;
    color: #000;
}

.activity-tile .pt-class-details p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.3em;
    color: #000;
}

.activity-tile .price {
    font-weight: bold;
    color: #000;
}

.pt-class-tile {
    padding: 20px 20px 0;
}

.pt-class-tile h4 {
    text-align: center;
    font-size: 17px;
}

.pt-class-tile hr {
    background: var(--green);
    height: 2px;
    margin: 15px 0;
}

.pt-tile-content {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

@media screen and (max-width: 824px) {
    .pt-tile-content {
        flex-direction: column;
        justify-content: center;
    }

    .pt-tile-coach {
        align-items: center;
    }

}

.pt-tile-coach {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pt-tile-coach-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pt-tile-coach-name span {
    text-align: center;
}

.pt-enroll-button {
    background-color: var(--green);
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    display: block;
    border-radius: 25px;
    text-align: center;
    margin: 15px auto 0;
    width: fit-content;
    font-weight: 600;
    font-size: 16px;
}

.pt-enroll-button:hover {
    transform: scale(1.02);
}

.pt-class-details-heading {
    display: block;
    margin-bottom: 10px;
}

.pt-lead-coach-text {
    display: block;
}

.pt-gc-sidebar select {
    cursor: pointer;
}

.pt-spots {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pt-student-coach-ratio {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    font-style: italic;
    color: #666;
}

.pt-facility-badge {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}

.pt-duration-badge {
    position: absolute;
    top: 0;
    left: 0;
}

.pt-facility-badge span,
.pt-duration-badge span {
    background: transparent;
    color: #fff;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    display: block;
    font-weight: bold;
    font-size: 14px;
    padding: 10px;
}

.pt-duration-badge span {
    background: black !important;
    color: #fff;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 0px;
}

/* Define the animation */
@keyframes smoothOrangeTransition {
    0% {
        background-color: #FF8C00;
        /* Dark Orange */
    }

    50% {
        background-color: #FFA500;
        /* Regular Orange */
    }

    100% {
        background-color: #FF8C00;
        /* Back to Dark Orange */
    }
}

.orange-background-transition {
    animation: smoothOrangeTransition 2.0s infinite;
    transition: background-color 1s ease-in-out;
    background-color: #FF8C00;
}

@keyframes smoothBlueTransition {
    0% {
        background-color: #00008B;
        /* Dark Blue */
    }

    50% {
        background-color: #0000FF;
        /* Regular Blue */
    }

    100% {
        background-color: #00008B;
        /* Back to Dark Blue */
    }
}

.blue-background-transition {
    animation: smoothBlueTransition 2.0s infinite;
    transition: background-color 1s ease-in-out;
    background-color: #00008B;
}

.pt-get-on-waitlist-cta {
    background: lightslategray;
}


.pt-bottom-cta {
    margin-top: auto;
    padding: 0 20px 20px;
}

.pt-class-dates-container {
    font-size: 13px;
    margin-top: 12px;
}

.pt-expand-dates-btn {
    font-size: 13px;
    margin: 0 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.pt-expand-dates-btn:hover {
    text-decoration: underline;
}

.pt-class-dates-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
}

.pt-class-date-item {
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.4;
}

.pt-activity-description-wrap {
    position: relative;
}

.pt-activity-description {
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
}

.pt-activity-description-wrap.expanded .pt-activity-description {
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset;
}

.pt-read-more-btn {
    display: inline;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, transparent, white 25%);
    padding-left: 30px;
}

.pt-activity-description-wrap.expanded .pt-read-more-btn {
    position: static;
    background: none;
    padding-left: 0;
    margin-left: 4px;
}

.pt-class-details-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pt-class-details-table td {
    padding: 4px 0;
    vertical-align: top;
}

.pt-class-details-table td:first-child {
    font-weight: 600;
    white-space: nowrap;
    padding-right: 12px;
    color: #555;
}

.pt-activity-description+p {
    margin-top: 10px !important;
}

.pt-coach-bio-card__container.pt-open {
    display: flex;
    place-content: center;
    justify-content: center;
    align-items: center;
}

.pt-coach-bio-card__container {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

.pt-coach-bio-card__container .coach-card {
    max-width: 80%;
    max-height: 80%;
    width: 600px;
    padding: 20px;
    overflow-y: scroll;
    position: relative;
}

.pt-coach-card-bio--close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: #000;
    cursor: pointer;
    transform: scale(0.7);
}


#pt-contact-us-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.pt-contact-us-modal-inner {
    position: relative;
    background: #fff;
    padding: 2rem;
    margin: 0 10px;
    max-width: 400px;
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-family: sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

.pt-contact-us-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    padding: 5px;
}

.pt-contact-us-modal-close:hover {
    color: #000;
}

/* Consult Modal */
#pt-consult-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 99999999;
}

.pt-consult-modal-inner {
    position: relative;
    background: #fff;
    padding: 2rem;
    margin: 0 10px;
    max-width: 400px;
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-family: sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

.pt-consult-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    padding: 5px;
}

.pt-consult-modal-close:hover {
    color: #000;
}

#showing-results {
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 767px) {
    #showing-results {
        font-size: 14px;
    }
}

.pt-no-activities {
    grid-column: 1 / -1;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 20px;
}

.pt-class-will-run {
    font-style: italic;
    font-size: 14px;
    text-align: center;
    margin-bottom: 25px;
}

.custom-dropdown {
    margin-top: 5px;
}
/* ============================================================================
   Scannable "list view" rows (used on the /classes listing pages)
   A compact, horizontal row built for scanning a long list to find "your class":
   schedule + date range are surfaced prominently, and the only action is a
   "View Class" button linking to the full single-class page.
   ============================================================================ */

/* In list mode, the results container stacks rows vertically instead of the
   default card grid. */
.pt-group-class--results.pt-results-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
}

.pt-class-list-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 22px;
    overflow: visible;
}

/* No decorative background photo on rows (keep them clean for scanning). */
.pt-class-list-row::before,
.pt-class-list-row::after {
    display: none;
}

.pt-class-list-row .pt-lr-main {
    flex: 1 1 auto;
    min-width: 0;
}

.pt-lr-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

.pt-lr-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    background: #f4f4f4;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 4px 9px;
    line-height: 1;
}

.pt-lr-badge img {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    object-fit: cover;
}

.pt-lr-badge--municipal i {
    color: #1976d2;
}

.pt-lr-actnum {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.3px;
}

.pt-lr-name {
    margin: 2px 0 7px;
    font-size: 18px;
    line-height: 1.25;
    color: #111;
}

.pt-lr-name a {
    color: inherit;
    text-decoration: none;
}

.pt-lr-name a:hover {
    color: var(--green, #5cb85c);
}

/* Schedule: the primary verification cue, so make it stand out. */
.pt-lr-schedule {
    display: flex;
    align-items: baseline;
    gap: 7px;
    font-size: 15px;
    font-weight: 600;
    color: #1f6f3f;
    margin-bottom: 8px;
}

.pt-lr-schedule i {
    color: var(--green, #5cb85c);
    flex-shrink: 0;
}

.pt-lr-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
    font-size: 13px;
    color: #555;
}

.pt-lr-meta-item {
    display: inline-flex;
    align-items: center;
}

.pt-lr-meta-item i {
    color: #aaa;
    margin-right: 6px;
    width: 13px;
    text-align: center;
}

.pt-lr-cta {
    flex: 0 0 auto;
}

.pt-lr-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green, #5cb85c);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 11px 22px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.pt-lr-view-btn:hover {
    background: #4a9d4a;
    color: #fff;
}

/* Stack on narrow screens; CTA spans full width for an easy tap target. */
@media (max-width: 700px) {
    .pt-class-list-row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .pt-class-list-row .pt-lr-cta {
        width: 100%;
    }
    .pt-lr-view-btn {
        width: 100%;
        justify-content: center;
    }
}

/* State pill on a list row (in progress / full) */
.pt-lr-state {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    padding: 4px 9px;
    line-height: 1;
}
.pt-lr-state--running {
    color: #1565c0;
    background: #e8f1fb;
    border: 1px solid #bbdefb;
}
.pt-lr-state--full {
    color: #6b6b6b;
    background: #eee;
    border: 1px solid #ddd;
}

/* Collapsible per-session schedule (mirrors the account "View Schedule" panel) */
.pt-lr-schedule-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding: 7px 12px;
    background: #f5f7f5;
    border: 1px solid #e2e6e2;
    border-radius: 7px;
    color: #3a6b3a;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
.pt-lr-schedule-toggle:hover { background: #eef2ee; }
.pt-lr-schedule-toggle i { color: var(--green, #5cb85c); }

.pt-lr-schedule-table {
    margin-top: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}
.pt-lr-schedule-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.pt-lr-schedule-table thead tr {
    background: #f7f8f7;
    text-align: left;
    color: #666;
}
.pt-lr-schedule-table th {
    padding: 8px 10px;
    font-weight: 700;
}
.pt-lr-schedule-table td {
    padding: 7px 10px;
}
.pt-lr-schedule-table tbody tr {
    border-top: 1px solid #eee;
}
