.error-text {
    color: #dc3545;
    font-size: 0.875rem;
    margin: 0.25rem 0rem;
    display: block;
    text-align: left;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.input-group input.error {
    border-color: #dc3545;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* For list inside alert */
.alert-danger ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.alert-danger li {
    list-style-type: disc;
}

/* Close button if needed */
.alert-danger .alert-link {
    color: #491217;
    font-weight: 700;
}

/* Different states */
.alert-danger hr {
    border-top-color: #f1b0b7;
}

/* Alert heading */
.alert-danger .alert-heading {
    color: inherit;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Dismissible alert */
.alert-dismissible {
    padding-right: 4rem;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem 1.25rem;
    color: inherit;
    cursor: pointer;
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.5;
}

.alert-dismissible .btn-close:hover {
    opacity: 0.75;
}

/* Style for Stripe Elements */
.StripeElement {
    box-sizing: border-box;
    height: 40px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: white;
    box-shadow: 0 1px 3px 0 #e6ebf1;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
}

.StripeElement--focus {
    border-color: #f59bb5;
    box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

/* Input group styling */
.input-group.in-two {
    display: flex;
    gap: 10px;
}

/* Expiry element - 70% width */
.input-group.in-two>div:first-child {
    flex: 8;
    /* 70% */
}

/* CVC element - 30% width */
.input-group.in-two>div:last-child {
    flex: 2;
    /* 30% */
}

/* Card details header */
.card-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.card-details img {
    height: 16px;
}

/* Style for the name on card input placeholder */
#cardholder-name::placeholder {
    color: #aab7c4;
    /* Light gray color */
    opacity: 1;
    /* Ensures color shows fully */
    font-size: 16px;
    /* Match your font size */
}

/* For older browsers */
#cardholder-name::-webkit-input-placeholder {
    color: #aab7c4;
}

#cardholder-name::-moz-placeholder {
    color: #aab7c4;
    opacity: 1;
}

#cardholder-name:-ms-input-placeholder {
    color: #aab7c4;
}

#cardholder-name:-moz-placeholder {
    color: #aab7c4;
    opacity: 1;
}

.input-cardholder-name {
    border: 1px solid #e3e7ed !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    margin-bottom: 10px;
}

/* Text alignment */
.text-center {
    text-align: center !important;
}

/* Margin top + bottom */
.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

/* Margin top */
.mt-3 {
    margin-top: 1rem !important;
}

/* Muted text color */
.text-muted {
    color: #6c757d !important;
}


/* live schedule page special css for session booking start */
/* Overlay */
.booking-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.booking-overlay.active {
    display: block;
}

/* Modal */
.booking-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    width: 680px;
    max-width: 95vw;
    max-height: 94vh;
    overflow-y: auto;
    z-index: 1000;
    padding: 28px;
}

.booking-modal.active {
    display: block;
}

/* Header */
.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.booking-coach-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.booking-coach-info img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.booking-coach-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.booking-coach-info p {
    margin: 0;
    font-size: 13px;
    color: #e75480;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

/* Steps */
.booking-steps {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
}

.step-item.active {
    opacity: 1;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.step-item.active .step-num {
    background: #e75480;
    color: #fff;
}

.step-label {
    font-size: 13px;
    font-weight: 600;
}

.step-divider {
    flex: 1;
    height: 2px;
    background: #f0f0f0;
    margin: 0 12px;
}

/* Mini Calendar */
.mini-calendar {
    margin-bottom: 20px;
}

.mini-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 700;
}

.mini-cal-header button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #e75480;
}

.mini-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    margin-bottom: 6px;
}

.mini-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.has-special {
    background-color: #e5e5e5;
}

.cal-day:hover:not(.disabled):not(.other-month) {
    background: #ed94b2;
}

.cal-day.selected {
    background: #e75480;
    color: #fff;
}

.cal-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.cal-day.other-month {
    color: #ddd;
    cursor: default;
}

.cal-day.today {
    font-weight: 700;
    border: 2px solid #e75480;
}

/* Time Slots */
.time-slots-section h5 {
    font-size: 14px;
    margin-bottom: 12px;
    color: #555;
}

.time-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.time-slot {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.time-slot:hover:not(.booked) {
    border-color: #e75480;
    color: #e75480;
}

.time-slot.selected {
    background: #e75480;
    color: #fff;
    border-color: #e75480;
}

.time-slot.selected:hover {
    color: #fff;
}

.time-slot.booked {
    background: #f5f5f5;
    color: #000000;
    cursor: not-allowed;
}

.no-slots-msg {
    color: #999;
    font-size: 13px;
}

/* Booking Summary */
.booking-summary {
    background: #fce4ec;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.booking-summary p {
    margin: 4px 0;
    font-size: 14px;
}

/* Form */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group .required {
    color: #e75480;
}

.form-group .optional {
    color: #999;
    font-weight: 400;
}

.form-group .form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}



.form-group .form-control:focus {
    border-color: #e75480;
}

/* Footer */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

/* Book button on coach card */
.btn-book-session,
.btn-book-oneonone {
    margin-top: 8px;
    padding: 6px 14px;
    background: #e75480;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-book-session:hover {
    background: #c0245e;
}

.btn-book-oneonone:hover {
    background: #c0245e;
}


/* live schedule button start */
/* Pending */
.btn-status-pending {
    background: #ff9800;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.9;
}

/* Approved */
.btn-status-approved {
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.9;
}

/* Completed */
.btn-status-completed {
    background: #9e9e9e;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.9;
}


/* Wrap both buttons together */
.session-btn-group {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
}

.btn-status-pending {
    background: #ff9800;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: not-allowed;
    white-space: nowrap;
}

.btn-status-approved {
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: not-allowed;
    white-space: nowrap;
}

.btn-view-session {
    background: transparent;
    color: #e75480;
    border: 1.5px solid #e75480;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-view-session:hover {
    background: #e75480;
    color: #fff;
}

/* live schedule page special css for session booking end */


.nav-link {
    color: #e75480 !important;
}


/* View Session Modal */
/* #viewSessionModal {
 max-width: 480px;
} */

.view-session-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.view-session-item {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.view-session-item.full-width {
    grid-column: 1 / -1;
}

.view-label {
    font-size: 11px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.decline-reason {
    color: #f44336 !important;
}

/* Status badge inside header */
#viewStatusBadge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Status colors applied via JS */
.badge-pending {
    background: #fff3e0;
    color: #ff9800;
}

.badge-approved {
    background: #e8f5e9;
    color: #4caf50;
}

.badge-completed {
    background: #f5f5f5;
    color: #9e9e9e;
}

.badge-declined {
    background: #ffebee;
    color: #f44336;
}

.badge-cancelled {
    background: #ffebee;
    color: #f44336;
}


.btn-book-session.btn-disabled {
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

#loadMoreLoader {
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #f36b8a;
}


.play-audio.playing img {
    opacity: 0.6;
    transform: scale(1.1);
}

.play-audio.loading img {
    opacity: 0.4;
}


/*shop products  page css start */
#apparel:checked~.tabs label[for="apparel"],
#trainers:checked~.tabs label[for="trainers"],
#sneakers:checked~.tabs label[for="sneakers"],
#hats:checked~.tabs label[for="hats"],
#bikinis:checked~.tabs label[for="bikinis"],
#jewelry:checked~.tabs label[for="jewelry"],
#polos:checked~.tabs label[for="polos"] {
    background: #f57da0;
    color: #fff;
}

#apparel:checked~.apparel,
#trainers:checked~.trainers,
#sneakers:checked~.sneakers,
#hats:checked~.hats,
#bikinis:checked~.bikinis,
#jewelry:checked~.jewelry,
#polos:checked~.polos {
    display: grid;
}

/*shop products  page css end */


/* main website header navbar dropdown css start */
/* dropdown navbar css */
.dropbtn {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Chevron style */
.chevron {
    font-size: 12px;
    margin-top: -1px;
}

/* Rotate when active */
/* .dropdown.active .chevron {
  transform: rotate(180deg);
} */
.nav-drop-down {
    display: none;
}

.dropdown .nav-drop-down {
    padding: 12px;
}

.dropdown {
    position: relative;
}

/* FIX: remove from layout */
.nav-drop-down {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: auto;
    display: none;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    z-index: 999;

}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropbtn a {
    text-decoration: none;
    color: inherit;
}


.dropdown.active .chevron {
    color: #f3628c;
}

.dropdown:hover {
    color: #f3628c !important;
}

.dropdown span.chevron svg {
    stroke: #131313 !important;
}

.dropdown:hover span.chevron svg {
    stroke: #f3628c !important;
}

.dropdown:hover .nav-drop-down {
    display: flex !important;
}

@media (max-width: 767px) {
    .nav-drop-down {
        position: relative;
        /* acts like accordion */
    }
}

/* main website header navbar dropdown css end */


/* datatable css */
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 10px;
}


/* video library on demand dropdown css start */
/* mega menu */
/* ---- dp-menu */
.on-demand-dropdown {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: #fff;
    z-index: 9999;
    display: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.on-demand-dropdown.active {
    display: block;
}

.dropdown-inner {
    display: flex;
}

.left-box {
    width: 220px;
    background: #fff;
    padding: 16px;
    position: relative;

}

.left-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    font-family: "Teko", sans-serif;
}

.left-box p {
    margin-bottom: 6px;
    line-height: normal;
    font-size: 12px;
}

.left-box img {
    width: 100%;
    margin-top: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.right-box {
    flex: 1;
    background: #fff;
}

.top-tabs {
    display: flex;
}

.top-tabs button {
    flex: 1;
    border: none;
    padding: 16px;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    position: relative;
}

.top-tabs button.active {
    background: #FEE5ED;
}

.top-tabs button.active::before {
    content: '';
    width: 18px;
    height: 10px;
    background-color: #F0578C;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    position: absolute;
    left: 46%;
    bottom: 0;
}

.coach-bar {
    background: #F0578C;
    color: #fff;
    text-align: center;
    padding: 6px;
    font-weight: 400;
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.coach-bar span {
    display: flex;
}

.coach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 20px;
}

.coach-col h4 {
    color: #F0578C;
    font-weight: 500;
    font-size: 17px;
    margin-bottom: 4px;
    font-family: "Teko", sans-serif;
}

.coach-col a {
    display: block;
    color: #000;
    text-decoration: none;
    margin-bottom: 6px;
    font-size: 12px;
}

.coach-col .view-all-btn {
    display: inline-block;
    margin-top: auto;
    color: #F0578C;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
}

.coach-col {
    display: flex;
    flex-direction: column;
}

nav {
    position: relative;
}

@media (max-width: 767px) {
    .left-box {
        display: none;
    }

    .coach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 12px;
    }

    .top-tabs button {
        font-size: 14px;
    }
}

/* video library on demand dropdown css end */


/* coach admin side attendance page start */
.session-info-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.session-info-header {
    background: #2c2c2c;
    color: white;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.session-info-header i {
    color: #f57da0;
}

.session-info-body {
    padding: 10px;
}

.session-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.session-item:last-child {
    border-bottom: none;
}

.session-class {
    font-weight: 600;
    color: #333;
}

.session-details {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 13px;
}

.session-details i {
    margin-left: 5px;
    margin-right: 5px;
    color: #f57da0;
}

/* attendance bulk action css */
.bulk-actions-panel {
    position: sticky;
    top: 0;
    z-index: 100;
}

.user-checkbox {
    cursor: pointer;
}

#select-all {
    cursor: pointer;
}

/* coach admin side attendance page end */

/*btn css */
.btn-sm {
    margin: 2px;
}

/* user admin coach sesion request table css start */
#user-session-table tbody td,
#user-session-table thead th {
    vertical-align: middle;
    text-align: center;
}

/* user admin coach sesion request table css end */

/* review and rating  product details css start */
/* All Reviews List */
/* REVIEW AND RATING - PRODUCT DETAILS CSS */

/* ---------- Reviews Container ---------- */
.reviews-container {
    padding: 20px 0;
}

/* ---------- Rating Summary Box ---------- */
.rating-summary-box {
    display: flex;
    gap: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    align-items: center;
}

.rating-stats {
    min-width: 180px;
}

.average-rating {
    text-align: center;
}

.big-rating {
    font-size: 52px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.out-of {
    font-size: 18px;
    color: #999;
    font-weight: 400;
}

.stars-large {
    margin: 8px 0 5px 0;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.stars-large .star {
    width: 22px;
    height: 22px;
}

.total-reviews {
    display: block;
    color: #888;
    font-size: 14px;
    margin-top: 4px;
}

/* ---------- Rating Bars ---------- */
.rating-bars {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rating-bar-row:last-child {
    margin-bottom: 0;
}

.star-label {
    width: 45px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
    text-align: right;
}

.progress-bar {
    flex: 1;
    height: auto;
    background: #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-reward {
    height: auto;
}

.progress-fill {
    height: 100%;
    background: #f59bb5;
    border-radius: 10px;
    transition: width 0.8s ease-in-out;
    position: relative;
}

.count-label {
    width: 30px;
    font-size: 14px;
    color: #888;
    text-align: right;
    font-weight: 500;
}

/* ---------- Write Review Box ---------- */
.write-review-box {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 28px 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: start;
}

.write-review-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* ---------- User Review Box ---------- */
.user-review-box {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 28px 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.user-review-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.user-review-item {
    position: relative;
}

/* ---------- Form Groups ---------- */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.form-group .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafafa;
    resize: vertical;
    /* min-height: 100px; */
    /* uncomment if needed */
}

.form-group .form-control:focus {
    outline: none;
    border-color: #f59bb5;
    box-shadow: 0 0 0 3px rgba(245, 155, 181, 0.15);
    background: #ffffff;
}

.form-group .form-control::placeholder {
    color: #aaa;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    transition: color 0.3s ease;
}

/* ---------- Star Rating Input ---------- */
.rating-group {
    margin-bottom: 22px;
}

.rating-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
}

.star-rating-input input[type="radio"] {
    display: none;
}

.star-rating-input .star-label {
    font-size: 32px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.15s ease;
    user-select: none;
}

.star-rating-input .star-label:hover {
    transform: scale(1.1);
}

/* Highlight selected stars */
.star-rating-input input:checked~label,
.edit-rating input:checked~label {
    color: #f59bb5;
}

/* When hovering over a star, highlight that star and previous ones */
/* .star-rating-input .star-label:hover,
.star-rating-input .star-label:hover~.star-label {
    color: #f59bb5 !important;
} */

.rating-error {
    display: none;
    font-size: 13px;
    margin-top: 6px;
}

/* ---------- Buttons ---------- */
.btn-primary {
    background: #f59bb5;
    border: none;
    padding: 12px 35px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.15s ease;
}

.btn-primary-sub {
    background: #f59bb5;
    border: none;
    background: #f59bb5;
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.15s ease;
}

.btn-primary:hover {
    background: #e882a0;
    transform: translateY(-1px);
}

.btn-primary-sub:hover {
    background: #e882a0;
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-primary:active {
    transform: translateY(0px);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed !important;
    pointer-events: auto !important;
    transform: none;
}


.btn-secondary {
    background: #f0f0f0;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    color: #555;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #e5e5e5;
    color: black;
}

/* ---------- Review Actions ---------- */
.review-actions {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.review-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-edit-review,
.btn-delete-review {
    font-family: "Teko", sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 22px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Edit Button */
.btn-edit-review {
    background: #f59bb5;
    color: #fff;
}

.btn-edit-review:hover {
    background: #ec7fa2;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(245, 155, 181, 0.35);
}

/* Delete Button */
.btn-delete-review {
    background: #fff;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.btn-delete-review:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(220, 53, 69, 0.25);
}

.btn-edit-review:active,
.btn-delete-review:active {
    transform: translateY(0);
}

/* ---------- All Reviews List ---------- */
.all-reviews {
    margin-top: 30px;
    text-align: left;
}

.all-reviews h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    color: #1a1a1a;
}

.review-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
    transition: background 0.3s ease, padding 0.3s ease;
}

.review-item:hover {
    background: #fafafa;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 8px;
}

.review-item:last-child {
    border-bottom: none;
}

/* ---------- Review Header ---------- */
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.review-header .stars {
    display: flex;
    gap: 3px;
}

.review-header .stars .star {
    width: 16px;
    height: 16px;
    display: inline-block;
}

.review-date {
    font-size: 13px;
    color: #999;
    margin-left: auto;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 8px 0 0 0;
    padding-left: 0;
    word-wrap: break-word;
}

/* ---------- Verified Purchase Badge ---------- */
.verified-badge {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: #28a745;
    background: #e8f5e9;
    padding: 3px 14px;
    border-radius: 20px;
    font-weight: 500;
}

/* ---------- No Reviews ---------- */
.no-reviews {
    color: #999;
    text-align: center;
    padding: 45px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 15px;
}

/* ---------- Review Notice ---------- */
.review-notice {
    color: #888;
    font-size: 14px;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.review-notice a {
    color: #f59bb5;
    text-decoration: none;
    font-weight: 600;
}

.review-notice a:hover {
    text-decoration: underline;
}

/* ---------- Alert Messages ---------- */
#reviewMessage .alert,
#editReviewMessage .alert {
    padding: 12px 18px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ---------- Loading State ---------- */
.submit-review-btn.loading {
    position: relative;
    color: transparent;
}

.submit-review-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ---------- Responsive Design ---------- */
@media (max-width: 992px) {
    .rating-summary-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
        padding: 25px;
    }

    .rating-bars {
        max-width: 100%;
        width: 100%;
    }

    .rating-bar-row {
        justify-content: center;
    }

    .star-label {
        width: 40px;
        font-size: 13px;
    }

    .big-rating {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .reviews-container {
        padding: 10px 0;
    }

    .rating-summary-box {
        padding: 20px;
        gap: 20px;
    }

    .big-rating {
        font-size: 38px;
    }

    .stars-large .star {
        width: 18px;
        height: 18px;
    }

    .write-review-box,
    .user-review-box {
        padding: 20px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .review-date {
        margin-left: 0;
    }

    .review-item:hover {
        padding-left: 10px;
        padding-right: 10px;
    }

    .star-rating-input .star-label {
        font-size: 28px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 24px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 8px;
    }

    .review-actions {
        flex-direction: column;
        gap: 8px;
    }

    .review-actions button {
        width: 100%;
        text-align: center;
    }

    .rating-bar-row {
        gap: 8px;
    }

    .star-label {
        width: 35px;
        font-size: 12px;
    }

    .count-label {
        width: 25px;
        font-size: 12px;
    }

    .progress-bar {
        height: auto;
    }
}

@media (max-width: 480px) {
    .rating-summary-box {
        padding: 15px;
    }

    .big-rating {
        font-size: 32px;
    }

    .stars-large .star {
        width: 16px;
        height: 16px;
    }

    .write-review-box,
    .user-review-box {
        padding: 15px;
    }

    .write-review-box h4,
    .user-review-box h4 {
        font-size: 16px;
    }

    .star-rating-input .star-label {
        font-size: 24px;
    }

    .form-group .form-control {
        padding: 10px 14px;
        font-size: 13px;
        min-height: 80px;
    }

    .reviewer-name {
        font-size: 14px;
    }

    .review-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .review-header .stars .star {
        width: 14px;
        height: 14px;
    }

    .review-date {
        font-size: 12px;
    }
}

/* ============================================
   END REVIEW AND RATING CSS
   ============================================ */
/* review and rating  product details css end */



/* buyer info address box css start */

.field-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.is-invalid {
    border: 1px solid #e53935 !important;
}

/* buyer info address box css end */


/* ============================================ */
/*    GLOBAL LOADER - PINK SPINNER (NO BS)      */
/* ============================================ */

#globalLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

/* When loader is visible */
#globalLoader.active {
    display: flex !important;
}

.loader-container {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-width: 200px;
}

.custom-spinner {
    width: 55px;
    height: 55px;
    margin: 0 auto;
    border: 5px solid #fce4ec;
    border-top: 5px solid #e91e63;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    margin-top: 18px;
    font-size: 16px;
    font-weight: 600;
    color: #e91e63;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.5px;
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}


/* background of model view */
.modal-backdrop {
    width: 100%;
    height: 100%;
}

/* book new session modal */
.custom-input-field-css {
    min-height: 50px !important;
}


/* toastr success message css start */
#toast-container>.toast-success {
    background-color: #198754 !important;
    color: #fff !important;
}

#toast-container .toast-info {
    background-color: #077384 !important;
    /* Darker teal/blue */
    color: #ffffff !important;
}

#toast-container>.toast-success .toast-title,
#toast-container>.toast-success .toast-message {
    color: #fff !important;
}

/* #toast-container > .toast-success {
    background-color: #157347 !important;
    color: #fff !important;
} */


#toast-container .toast-title {
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* toastr success message css end */


/* cards background css start */
.bg-card-pink {
    background-color: #F59BB5 !important;
    color: white !important;
}

.bg-card-gray,
.bg-warning,
.bg-info {
    background-color: #656565 !important;
    color: #fff !important;
}

.bg-card-black,
.bg-success {
    background-color: #000 !important;
    color: #ffff !important
}

.bg-card-white {
    background-color: #fff !important;
    color: #000 !important
}

/* cards background css end */

/* font text and btn css start */
.text-primary {
    color: #F57DA0 !important;
}

.btn-info {
    background-color: #f59bb5 !important;
}

.btn-info:hover {
    background-color: #F57DA0 !important;
}

/* font text and btn css end*/

.start-class-banner {
    background-color: #f59bb5 !important;
    color: #fff !important;
}

/* live badge animate css start */
.live-pulse {
    animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* live badge animate css end */

/* btn warning css  start */
/* .btn-warning {
    background-color: #ffffff!important;
} */
/* btn warning css  end */


/* pagination btns below tables css start */
/* DataTables pagination — pink theme */
.dataTables_info {
    margin-top: 20px;
}

.dataTables_wrapper .dataTables_info {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

/* Pagination wrapper */
.dataTables_wrapper .dataTables_paginate {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* All page buttons — numbers, previous, next */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #f3d5e0;
    border-radius: 6px;
    background: #fff;
    background-image: none;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

/* Hover state (not on current, not on disabled) */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.disabled):not(.current) {
    background: #fdeef4;
    background-image: none;
    border-color: #f59bb5;
    color: #d6336c;
}

/* Active page (also covers DataTables' own .current:hover rule) */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #f59bb5;
    background-image: none;
    border-color: #f59bb5;
    color: #fff!important;
    font-weight: 600;
    cursor: default;
    box-shadow: none;
}

/* Disabled Previous / Next */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    color: #c8c8c8;
    background: #fafafa;
    background-image: none;
    border-color: #eee;
    cursor: not-allowed;
    pointer-events: none;
}

/* Ellipsis dots (if pagination is shortened) */
.dataTables_wrapper .dataTables_paginate .ellipsis {
    padding: 0 8px;
    color: #999;
    border: none;
    background: transparent;
    background-image: none;
    cursor: default;
}

/* Previous / Next — pill shape */
.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    padding: 0 16px;
    min-width: auto;
}

/* Optional — length dropdown and search box to match theme */
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #f3d5e0;
    border-radius: 6px;
    padding: 6px 10px;
    color: #333;
    background: #fff;
    font-size: 14px;
}

.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: #f59bb5;
    box-shadow: 0 0 0 2px rgba(245, 155, 181, 0.2);

}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #f3d5e0;
    border-radius: 6px;
    padding: 6px 12px;
    color: #333;
    font-size: 14px;
}

/* pagination btns below tables css end */
