.filter-label span {
    font-size: 17px;
    line-height: 17px;
    border: 2px solid #741B1A;
    padding: 5px;
    color: #fff;
    display: inline-block;
    margin: 5px;
}


.plan-detail-box {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px;
    background: #f9f9f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.plan-detail-box h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.plan-detail-box .plan-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.plan-detail-box .plan-desc {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
}

.plan-detail-box .row>div {
    font-size: 15px;
    color: #333;
}

.sp_dialog_modal .close-btn {
    font-size: 35px;
    cursor: pointer;
}

.workout-today-box.workout-exercise-box {
    position: relative;
}

.workout-exercise-complete-box {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}


#rest_timer_overlay h1 {
    color: #fff;
}

.global-text-color {
    color: #741B1A !important;
}

.btn-close-icon {
    font-size: 1.5rem;
    color: #741B1A;
    line-height: 1;
    cursor: pointer !important;
}

.btn-close-icon i {
    cursor: pointer !important;
}


.rest-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    z-index: 10;
    color: #fff;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 15px;
    display: none;
}

.rest-overlay.show {
    display: flex;
}


.circle-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: #222;
    stroke-width: 10;
}

.progress-ring-circle {
    fill: none;
    stroke: #e80c0c;
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
}


.active_plan_check_icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.4;
}

.workout-card-overlay {
    position: relative;
    z-index: 2;
    /* keep text above watermark */
}


/*********************start player workoutplan***************************/

.player-workoutplan-dashboard {
    background-color: #212123;
    padding: 20px;
    min-height: 725px;
    margin-left: 25px;
}

.player-workoutplan-list h2 {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    text-align: center;
    margin: 0;
}



.workout-category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.category-tab {
    background-color: #741B1A !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}


.category-tab:hover,
.category-tab.active {
    background-color: #7E7E7E !important;
}



.workout-plan-section {
    margin-top: 30px;
}

.workout-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    /* 4:3 ratio - adjust as needed */
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.workout-card:hover {
    transform: scale(1.02);
}

.workout-card-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    padding: 15px;
    text-align: left;
}

.workout-card-overlay h5 {
    color: #fff;
    font-weight: bold;
    margin: 0;
    font-size: 15px;
}

.player-plan-detail-header {
    color: #ffffff !important;
}




.workout-today-box {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 15px;
    border-radius: 15px;
    background: #1e1e1e;
}

.today-workout-heading {
    font-size: 32px !important;
    margin-bottom: 0px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    line-height: 33px !important;
}

.today-workout-subheading {
    font-size: 18px;
    color: #bbb;
    display: inline-block;
    padding-bottom: 4px;
}

.sp-seperator {
    display: block;
    width: 80%;
    height: 2px;
    background-color: #741B1A;
    border: none;
    margin: 0px 0px 10px 0px;
}

.workoutplan-feature-img {
    width: 100%;
    margin-top: 10px;
}

.workoutplan-feature-img .img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.workoutplan-feature-img img {
    width: 100%;
    height: auto;
    display: block;

}

.workout-today-box .workoutplan-feature-img img {
    height: 300px;
    object-fit: contain;
}

/* Dark layer over image */
.workoutplan-feature-img .dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Adjust opacity here */
    z-index: 1;
}

/* Text on top of dark overlay */
.workoutplan-feature-img .overlay-text {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    z-index: 2;
}


h3.exercise-section-title {
    font-size: 24px;
    font-weight: 900;
    margin-top: 25px;
    margin-bottom: 0px;
    color: #fff !important;
}

p.exercise-count {
    margin-bottom: 0px;
    color: #fff !important;
}

.exercise-card {
    background: #3A3A3C;
    border-radius: 12px;
    padding: 5px;
    padding-right: 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.exercise_complete_status {
    border: 1px solid #04F21C;
}

.exercise-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.exercise-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.exercise-data {
    margin-left: 20px;
    padding: 10px 0px 10px 0px;
}


h5.exercise-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #fff;
}


.exercise-card-section {
    margin-top: 10px;
    padding-top: 10px;
    width: 100%;
    max-height: 415px;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding-right: 10px;
}


/* Scrollbar Track */
.exercise-card-section::-webkit-scrollbar {
    width: 4px;
    /* Width of vertical scrollbar */
}

/* Scrollbar Thumb (the moving part) */
.exercise-card-section::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #741B1A, #741B1A);
    /* Gradient */
    border-radius: 10px;
}

/* Scrollbar Track Background */
.exercise-card-section::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Light background */
    border-radius: 10px;
}


div.exercise-meta {
    margin-top: 5px;
    justify-content: start;
}

span.exercise-meta-sets {
    color: #fff;
    font-size: 14px;
}

.exercise-meta-right i {
    font-size: 20px;
    color: #741B1A;
}





.workout-exercise-box {
    margin: auto;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.workout-exercise-box h4 {
    margin-bottom: 0;
}


.today-workout-subheading {
    font-size: 14px;
    color: #ccc;
}

.sp-seperator {
    width: 100%;
    height: 2px;
    background: #741B1A;
    margin: 10px 0;
}

.workout-exercise-complete-box .accordion-collapse {
    margin-top: 15px;
}

.workout-exercise-complete-box .workout-exercise-count-table {
    width: 100%;
}

.workout-exercise-complete-box .workout-exercise-form-fields tbody {
    font-size: 25px;
}

.close-icon:hover {
    color: #ccc;
}

.workout-exercise-count-table {
    width: 65%;
}

.workout-exercise-count-table table,
.workout-exercise-count-table table thead,
.workout-exercise-count-table table tr,
.workout-exercise-count-table table th,
.workout-exercise-count-table table td {
    border: 0px;
    padding: 0;
    margin: 0;
    border-spacing: 0;
}

.sp-progress-bar {
    background-color: #741B1A;
    border-radius: 10px;
}

.workout-exercise-count-table table th,
.workout-exercise-count-table table td {
    border-right: 1px solid #741B1A;
    text-align: center;
    vertical-align: middle;
}


.workout-exercise-count-table table th:last-child,
.workout-exercise-count-table table td:last-child {
    border-right: none;
}


.workout-exercise-count-table table td {
    padding: 5px 5px;
}

.workout-review-accordion .accordion-button[aria-expanded="true"] .dashicons {
    transform: rotate(180deg);
}



span.ex_total_unit {
    width: 49%;
    float: left;
    display: block;
}


.extra_point_note {
    width: 49%;
    display: block;
    float: left;
}

.extra_point_positive {
    color: #91EC04;
}

.extra_point_negative {
    color: red;
}

.exercise-preview {
    width: 35%;
}

.reps-input,
.weight-input {
    width: 60px;
    text-align: center;
    background: transparent;
    border: none;
    color: white;
    font-weight: bold;
}


.set-weight,
.set-reps {
    background: transparent;
    border: 0;
    font-size: 20px !important;
    width: 100px !important;
    color: #fff;
    font-weight: 600;
    height: 40px;
    border-radius: 25px 25px 25px 25px !important;
}



.set-weight:focus,
.set-reps:focus,
.reps-input:focus,
.weight-input:focus {
    background-color: #fff !important;
    border-color: #fff !important;
    outline: none !important;
    color: #475569 !important;
}




#exercise-sets-body .reps-td {
    width: 20% !important;
}

#exercise-sets-body .weight-td {
    width: 65% !important;
}



#exercise-sets-body .set-weight::placeholder {
    font-size: 10px;
    opacity: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #888;
}

#exercise-sets-body .set-weight::-webkit-input-placeholder {
    font-size: 10px;
    color: #888;
}

#exercise-sets-body .set-weight::-moz-placeholder {
    font-size: 10px;
    color: #888;
}

#exercise-sets-body .set-weight:-ms-input-placeholder {
    font-size: 10px;
    color: #888;
}


#exercise-sets-body .ex-form-field[disabled] {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}




.workout-exercise-table-section {
    gap: 20px;
}

.w-45 {
    width: 48%;
}

.workout-exercise-form-control .form-control {
    background: transparent !important;
    border: 0;
    font-size: 22px !important;
    width: 100px !important;
    color: #fff;
    font-weight: 600;
}

.sp_round_control {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    background-color: #741B1A !important;
    color: #fff !important;
    font-weight: 500 !important;
    font-size: 23px !important;
    border: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.3s !important;
}

.sp_round_control:hover {
    background-color: #a30000 !important;
}

.set-number {
    background-color: #333;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 25px;
    display: inline-block;
}

.active-set .set-number {
    background-color: red;
    color: #fff;
}

.workout-exercise-form-fields .ex-form-field {
    background: unset !important;
    border: 0;
    color: #fff;
    padding: 5px 5px;
    height: unset;
    font-weight: 400;
    text-align: center;
    width: 90%;
}



/*
.start-workpotplan-exercise.mt-3 {
    right: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

*/
.absolute-position {
    position: absolute;
    bottom: 40px;
    left: 30px;
}

.absolute-position-left {
    position: absolute;
    bottom: 40px;
    left: 30px;
}

.absolute-position-right {
    position: absolute;
    bottom: 40px;
    right: 30px;
}


.fc-button-dark-round {
    padding: 10px 12px;
    background: #3A3A3C;
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    border: 1px solid #a1a1a1;
    text-align: center;
    line-height: 15px;
}


.video_container {

    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video_frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* Base styles (desktop) */
.exercise_equipment_info {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.exercise_equipment_info i {
    background: #fff;
    padding: 5px 10px;
    color: #000;
    border-radius: 5px;
}

.exercise_equipment_desc {
    visibility: hidden;
    opacity: 0;
    width: 300px;
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 10;
    top: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    font-size: 14px;
    line-height: 1.4;
}

.exercise_equipment_info:hover .exercise_equipment_desc,
.exercise_equipment_info.active .exercise_equipment_desc {
    visibility: visible;
    opacity: 1;
}

/*
.ex_icons {
    width: 35px;
    height: 35px;
    max-width: none;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
    object-fit: contain;
}
*/
/*********************  calendar  ******************************/

.player-workoutplan-calendar-section {
    background: #3A3A3C;
    padding: 10px;
    border-radius: 20px;
}

div#player-workoutplan-calendar {

    color: #fff;

}


div#player-workoutplan-calendar .fc-header-cell {
    color: #fff;
}

div#player-workoutplan-calendar .fc-table-header-sticky {
    background: unset;
}


div#player-workoutplan-calendar .fc-daygrid-block-event.fc-daygrid-event.fc-h-event.fc-event.fc-event-start.fc-event-end.fc-event-past {
    background: transparent !important;
    border: 0;
}

div#player-workoutplan-calendar .cal-event-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: auto;
}


.workoutplan-exercise-link {
    margin: 0 auto;
}

.fc-dumbbell-icon {
    width: 23px;
    height: auto;
    display: block;
    margin: 2px auto 0;
}

.fc-event {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.player-today-workout-preview {
    height: 150px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

.today-workout-preview {
    color: #fff;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
}

.today-workout-preview .dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 8px
}

.today-workout-preview .overlay-text {
    position: relative !important;
    z-index: 2 !important;
}

.today-workout-preview .overlay-text a {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.today-workout-plan-link {
    margin: 0 auto;
    text-align: center;
}

#player-workoutplan-calendar .fc-daygrid-day-header a {
    color: #fff !important;
}

button,
input,
.sp_round_control {
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
    /* speeds up clicks */
}

#search_workoutplan_form_modal .modal-header {
    margin: 0;
    padding: 3px 15px;
}

#search_workoutplan_form_modal .table {
    margin-bottom: 5px !important;
}

#search_workoutplan_form_modal h3 {
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 0px;
    color: #1e293b;
    text-shadow: unset;
    font-weight: 600;
}

#search_workoutplan_form_modal p {
    margin: 0px;
    font-size: 17px;
}


#search_workoutplan_form_modal th h6 {
    margin: 0px;
}

#search_workoutplan_form_modal select {
    width: 100%;
}

#search_workoutplan_form_modal td,
#search_workoutplan_form_modal select {
    font-size: 15px;
    padding: 5px;
}

.search-btn {
    background: transparent !important;
    border: 1px solid #fff !important;
}
