/* Center group */
#fitnessWeekWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

#fitnessWeekWrapper>* {
    margin: 0 4px;
}

/* Week bar */
#fitnessWeekWrapper .week-toggle {
    background: #f5f7fb;
    border-radius: 999px;
    overflow: hidden;
}

.week-highlight{
  background:#f7f8fb;
  border:1px solid #e3e6ee;
  border-radius:10px;
  padding:6px 10px;
}

#weekTodayBtn{
  font-weight:600;
}

#weekDaysContainer button.active,
#weekDaysContainer .active{
  background:#00c376;
  color:#fff;
  border-radius:999px;
  padding:4px 8px;
}

#weekDaysContainer button:hover{
  background:rgba(0,195,118,.12);
  border-radius:999px;
}


/* Day pills */
#fitnessWeekWrapper .week-day {
    border-radius: 999px;
    padding: 4px 8px 0;
    /* room for dot */
    margin: 0 2px;
    text-align: center;
    cursor: pointer;
    min-width: 40px;
    font-size: 12px;
    line-height: 1.2;
    color: #4a4a4a;
}

#fitnessWeekWrapper .week-day span {
    display: block;
}

#fitnessWeekWrapper .week-day small {
    display: block;
    font-size: 10px;
    color: #888;
}

/* Dot – always takes up space, only visible on today */
#fitnessWeekWrapper .week-day-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin: 2px auto 0;
    background: #2563eb;
    visibility: hidden;
}

#fitnessWeekWrapper .week-day.has-dot .week-day-dot {
    visibility: visible;
}

/* Selected day styling */
#fitnessWeekWrapper .week-day.selected {
    background: #ffffff;
    border: 1px solid #2563eb;
    color: #2563eb;
    font-weight: 600;
}

#fitnessWeekWrapper .week-day.selected small {
    color: #2563eb;
}


/* ================================================ */
/* ================================
   FITNESS OVERVIEW — SCOPED STYLES
   ================================ */

/* HEADER */
#fitnessOverview .fitness-day-header {
    border-radius: 999px;
    background: #f8f9fb;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
}

#fitnessOverview .fitness-day-header i {
    margin-right: 8px;
}

/* ================================
   CLASS CARDS
   ================================ */

#fitnessOverview .fitness-class-card {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

/* Hover effect */
#fitnessOverview .fitness-class-card:hover {
    background-color: #f2f2f2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* ================================
   IMAGE — FIXED 1:1 RATIO
   ================================ */

#fitnessOverview .fitness-class-img-wrapper {
    position: relative;
    width: 130px;
    /* adjust to desired size */
    height: 130px;
    /* same value = perfect 1:1 */
    flex-shrink: 0;
    overflow: hidden;
}

#fitnessOverview .fitness-class-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* TIME BADGE OVER IMAGE */
#fitnessOverview .fitness-class-time-overlay {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ================================
   TEXT CONTENT
   ================================ */

#fitnessOverview .fitness-class-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

#fitnessOverview .fitness-class-meta {
    font-size: 13px;
    color: #6b7280;
}

/* INSTRUCTOR ICON (GREEN CIRCLE) */
#fitnessOverview .fitness-instructor-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    font-size: 13px;
}

/* ================================
   BOOK BUTTON RIGHT SIDE
   ================================ */

#fitnessOverview .fitness-book-wrapper {
    margin-left: auto;
    display: flex;
    align-items: center;
}

#fitnessOverview .fitness-book-btn {
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 16px;
    background: #00c376;
    border-color: #00c376;
    color: #fff;
    transition: background-color 0.15s ease;
}

#fitnessOverview .fitness-book-btn:hover {
    background: #00c376;
    border-color: #00c376;
    color: #fff;
}

/* ================================
   EMPTY STATE (NO CLASSES TODAY)
   ================================ */

#fitnessOverview .empty-state-box {
    background: #f5f8fc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 40px 20px;
    text-align: center;
    color: #3b4252;
}

#fitnessOverview .empty-state-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #dce3eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    color: #6b7280;
    font-size: 20px;
}

#fitnessOverview .empty-state-text {
    font-size: 15px;
    font-weight: 600;
    color: #2e3440;
}

#fitnessOverview .empty-state-next-btn {
    margin-top: 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 18px;
    background: #00c376;
    border-color: #00c376;
    color: #fff;
}

#fitnessOverview .empty-state-next-btn:hover {
    background: #00c376;
    border-color: #00c376;
    color: #fff;
}


@media (max-width: 575.98px) {
    #weekDaysContainer {
        display: none !important;
    }
}



/* =========================================================================================================== */
/* Detail layout */
#fitnessTeamDetailArea .fitness-detail-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
}

#fitnessTeamDetailArea .fitness-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#fitnessTeamDetailArea .fitness-detail-title {
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 16px;
}

#fitnessTeamDetailArea .fitness-detail-description {
    color: #4b5563;
    font-size: 14px;
    max-width: 520px;
}

#fitnessTeamDetailArea .fitness-detail-see-more {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #00c376;
}

/* Main info card */
#fitnessTeamDetailArea .fitness-detail-info-card {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

/* Pills inside card */
#fitnessTeamDetailArea .fitness-detail-pill {
    background: #f5f7fb;
    border-radius: 12px;
    padding: 8px 12px;
}

#fitnessTeamDetailArea .fitness-detail-pill .label {
    font-size: 11px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 2px;
}

#fitnessTeamDetailArea .fitness-detail-pill .value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

/* Instructor icon */
#fitnessTeamDetailArea .fitness-detail-instructor-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #00c376;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 13px;
}

/* Buttons at bottom */
#fitnessTeamDetailArea .fitness-detail-secondary-btn {
    border-radius: 999px;
    font-size: 12px;
    padding: 6px 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #111827;
}

#fitnessTeamDetailArea .fitness-detail-secondary-btn:hover {
    background: #f3f4f6;
}

#fitnessTeamDetailArea .fitness-detail-primary-btn {
    border-radius: 999px;
    font-size: 13px;
    padding: 8px 28px;
    font-weight: 700;
    background: #00c376;
    border-color: #00c376;
    color: #ffffff;
}

#fitnessTeamDetailArea .fitness-detail-primary-btn:hover {
    background: #00aa60;
    border-color: #00aa60;
    color: #ffffff;
}

#fitnessTeamDetailArea .fitness-detail-price {
    font-size: 20px;
    font-weight: 700;
    color: #00c376;
    padding-top: 6px;
}

/* Wrapper that controls height + fade */
#fitnessTeamDetailArea .fitness-detail-description-wrapper {
    position: relative;
    max-height: none;
    overflow: visible;
}

/* Collapsed state */
#fitnessTeamDetailArea .fitness-detail-description-wrapper.collapsed {
    max-height: 140px;
    overflow: hidden;
}

/* Fade overlay in green tone */
#fitnessTeamDetailArea .fitness-detail-description-wrapper.collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.95));
    pointer-events: none;
    border-bottom: 2px solid #00c376;
    /* thin green hint at bottom */
}

/* Description text */
#fitnessTeamDetailArea .fitness-detail-description {
    color: #4b5563;
    font-size: 14px;
    margin-bottom: 0;
}

/* “Vis mere” button – text only, green */
#fitnessTeamDetailArea .fitness-detail-see-more {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #00c376;
    border: none;
    padding: 0;
}

#fitnessTeamDetailArea .fitness-detail-see-more:hover,
#fitnessTeamDetailArea .fitness-detail-see-more:focus {
    color: #00aa60;
    text-decoration: none;
    outline: none;
}