/* Aleart massage popup */
.alert {
        transition: opacity 1s ease-out;
    }

.alert .close {
    color: #131111;
}

.alert-dismissible .close {
    color: #131111;
}

.alert-success {
    background-color: #28a745;
    color: white;
}

.alert-danger {
    background-color: #e95b6a;
    color: white;
}

.alert.hide {
    opacity: 0;
    pointer-events: none;
}
/* End Aleart massage popup */

ul ul {
    margin: 0px 0px 0px 5px;
}

 /*FOR GAME PAGE CHECKBOX GROUP */

.ecos-label-txt.checked {
            border-color: green;
        }

.ecos-label-txt.partial {
        border-color: yellow;
    }

.ecos-label-txt.unchecked {
        border-color: red;
    }

.parent-item::after {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #6c757d;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.parent-item.expanded::after {
    transform: translateY(-50%) rotate(90deg);
}

/* Hide/show children */
.parent-item + ul {
    transition: all 0.3s ease;
    overflow: hidden;
}

.parent-item + ul.hidden {
    display: none;
}


/* Border color states */
.ecos-label-txt.checked {
    border-left-color: green;
}

.ecos-label-txt.partial {
    border-left-color: orange;
}

.ecos-label-txt.unchecked {
    border-left-color: red;
}

.ecos-radio-label-txt.active {
    border-left-color: green;
}

.ecos-radio-label-txt {
    padding: 5px 10px;
    border-left: 3px solid transparent;
 }

.ecos-radio-label-txt.red {
    border-left-color: red;
}

.ecos-radio-label-txt.yellow {
    border-left-color: yellow;
}

.ecos-radio-label-txt.green {
    border-left-color: green;
}

.ecos-sub-heading-label-txt.red {
    border-left: 3px solid red;
}

.ecos-sub-heading-label-txt.yellow {
    border-left: 3px solid yellow;
}

.ecos-sub-heading-label-txt.green {
    border-left: 3px solid green;
}

.ecos-sub-heading-label-txt {
    padding: 5px 10px;
    border-left: 3px solid white;
}

/* Initial button styles */
#terminerButton {
    background-color: #79AADF;
    /* Initial color */
    color: white;
    font-size: 14px;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
    border: none;
    transition: background-color 1s ease-in-out;
    /* Smooth transition for color change */
    width: 100%;
    height: 50px;
    /* Set a height to make it look like a button */
}


 /* Progress bar effect within the button */
#terminerButton .progress-bar {
    background-color: #007AFF;
    /* Progress color */
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    /* Initially, no progress */
    transition: width 1s linear;
    /* Smooth fill of the progress bar */
}


/* Color when the time is over */
#terminerButton.time-over {
    background-color: #007AFF !important;
    /* Change the color to #007AFF */
}
div.dt-container .dt-paging .dt-paging-button {
    padding: 0em 0em 0em 0em !important;
}
.error{
    color: red;
}
.action-menu__link {
    padding: 4px 4px;
    border-radius: 8px;
    color: var(--gray-300);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: capitalize;
    font-size: 20px;
}
#user-data .common-tab.style-one .nav-item .nav-link {
    border-radius: 50px;
    width: 100%;
}
#user-data .common-tab.style-one {
    border-radius: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

/* CSS for timer button */
.btn-main-terminer {
    position: relative;
    padding: 15px 0;
    width: 100%;
    font-size: 16px;
    background-color: #8ea9ea;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-main-terminer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #4169E1, #1E90FF);
    transition: none;
    z-index: -1;
}

.btn-main-terminer.timeout {
    background-color: #ff4757;
    animation: pulse 0.5s infinite alternate;
}

.btn-main-terminer2 {
    position: relative;
    padding: 15px 0;
    width: 100%;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    cursor: pointer;
   background: linear-gradient(90deg, #4169E1, #1E90FF);
}

.btn-main-validate {
    position: relative;
    padding: 15px 0;
    width: 100%;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    background: linear-gradient(90deg, #4169E1, #1E90FF);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.02);
    }
}

/* Pause button styles */
.pause-btn {
    padding: 15px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pause-btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pause-btn.paused {
    background-color: #007AFF !important;
}

/* Alert modal styles */
.timer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.timer-modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 350px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.timer-modal-title {
    color: #ff4757;
    font-size: 24px;
    margin-bottom: 10px;
}

.timer-modal-message {
    color: #333;
    margin-bottom: 20px;
}

.timer-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.timer-modal-btn {
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

.timer-continue-btn {
    background-color: #007AFF;
    color: white;
}

.timer-continue-btn:hover {
    background-color: #104680;
}

.timer-cancel-btn {
    background-color: #ff4757;
    color: white;
}

.timer-cancel-btn:hover {
    background-color: #ff3742;
}

.cursor-pointer {
    cursor: pointer;
}

 /*End GAME PAGE CHECKBOX GROUP */

/* Solo result */

 .ecos-label-txt-sub-heading {
        background-color: #F0F8FF;
        width: 95%;
        padding: 10px;
        border-radius: 6px;
    }

.points-display {
    margin-left: auto;
}

.points-label {
    font-weight: 440 !important;
    font-size: 12px;

}

.ecos-label-txt.checked {
    border-left: 3px solid green !important;
}

.ecos-label-txt.checked .points-label {
    color: green;
}

.ecos-label-txt.unchecked {
    border-left: 3px solid red !important;
}

.ecos-label-txt.unchecked .points-label {
    color: red;
}

.points-label.checked {
    color: green;
}
.ecos-label-txt.partial {
    border-left: 3px solid hsl(29, 100%, 50%) !important;
}
.points-label.partial {
    color: hwb(29 0% 0%);
}
.points-label.unchecked {
    color: red;
}

.parent-item .course-item__arrow {
    transition: transform 0.3s ease;
}

.parent-item.expanded .course-item__arrow {
    transform: rotate(90deg);
}

.hidden {
    display: none;
}

.form-range:disabled {
    background-color: #e9ecef;
}

.form-range:disabled::-webkit-slider-thumb {
    background-color: #007AFF;
    border: 2px solid #007AFF;
}

.form-range:disabled::-moz-range-thumb {
    background-color: #007AFF;
    border: 2px solid #007AFF;
}
/*End Solo result */

/* Checkout page */
 .plan-change-info {
    border: 1px solid;
    border-radius: 8px;
}

.bg-success-50 {
    background-color: rgba(34, 197, 94, 0.1);
}

.border-success-200 {
    border-color: rgba(34, 197, 94, 0.2);
}

.bg-warning-50 {
    background-color: rgba(245, 158, 11, 0.1);
}

.border-warning-200 {
    border-color: rgba(245, 158, 11, 0.2);
}

.text-success-600 {
    color: rgb(22, 163, 74);
}

.text-warning-600 {
    color: rgb(217, 119, 6);
}

/* Discount/Coupon Box Styling */
.discount-container {
    position: relative;
}

.clear-btn {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    padding: 5px;
    z-index: 10;
}

.clear-btn:hover {
    color: #666;
}

.apply-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #007bff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    z-index: 10;
    min-width: 60px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apply-btn:hover {
    background-color: #0056b3;
}

.apply-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* Loading States */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Alert Styling */
.alert {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

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

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

.alert i {
    margin-right: 8px;
}

/* Button Styling */
.btn-main {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-main:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
}

.btn-main:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* Form Control Styling */
.form-control:focus,
.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth {
        flex-direction: column;
    }

    .auth-left,
    .auth-right {
        width: 100%;
    }

    .plan-change-info {
        margin-top: 15px;
        padding: 12px;
    }

    .discount-box input {
        padding-right: 70px;
    }

    .clear-btn {
        right: 65px;
    }

    .apply-btn {
        min-width: 50px;
        padding: 5px 8px;
        font-size: 11px;
    }
}
/* End checkout */

.blur-background {
  filter: blur(5px);
  pointer-events: none; /* Optional: Prevent interaction */
}

.blur {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}



#ecos-suggestion-div .note-box {
    position: fixed;
    bottom: 170px;
    right: 78px;
    width: 300px;
    max-height: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;
}
#setting-section #pills-tabContent #pills-billing .card .card-body.payment-cards{
    overflow-y: scroll;
    height: 260px;
 }
 #ecos-solo-section #pills-tabContent p {
    margin-bottom: 8px;
}
.qr-code-display{
  display: table;
  margin: 0 auto;
  padding: 2px 10px;
  border-radius: 5px;
  font-size: 14px;
  color: #041b3f;
}


.copy-btn {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      background: #ECF3FB;
      cursor: pointer;
    }

    .tooltip {
      position: absolute;
      top: -35px;
      left: 50%;
      transform: translateX(-50%);
      background: #111;
      color: #fff;
      font-size: 13px;
      padding: 4px 8px;
      border-radius: 4px;
      white-space: nowrap;
      opacity: 0;
      transition: opacity 150ms ease;
      pointer-events: none;
    }

    .tooltip.visible {
      opacity: 1;
    }

    .tooltip::after {
      content: "";
      position: absolute;
      bottom: -6px;
      left: 50%;
      transform: translateX(-50%);
      border: 6px solid transparent;
      border-top-color: #111;
    }

    .form-range.saving {
    opacity: 0.7;
}

/* Remove browser default styling */
.form-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px; /* thickness of slider track */
    border-radius: 5px;
    background: #ddd; /* fallback */
    outline: none;
    cursor: pointer;
}

/* Chrome / Edge / Safari track */
.form-range::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 5px;
    background: transparent; /* gradient will be set via JS */
    border: none;
}

/* Firefox track */
.form-range::-moz-range-track {
    height: 8px;
    border-radius: 5px;
    background: transparent;
    border: none;
}

/* Thumb (circle that slides) */
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #007AFF;
    cursor: pointer;
    margin-top: -5px; /* align thumb vertically with track */
}

.form-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #007AFF;
    cursor: pointer;
    border: none;
}

.chart-box {
    height: 400px;
    width: 100% !important;
    margin: 0 auto;
}

.apexcharts-xaxis text {
    white-space: pre-line !important;
    text-anchor: middle !important;
}

#downloadPDF {
  display: table;
  width: auto !important;
  margin: 0 0 0 auto;
}

#multiSessionModal .define-roles-list i {
    width: 40px;
    height: 40px;
    background-color: #d5eaff;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    color: #0084FF;
    font-size: 18px;
    margin-right: 5px;
    border-radius: 10%;
}
#multiSessionModal .define-roles-list li {
    margin-bottom: 10px;
}
#multiSessionModal .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    padding: 0;
    margin: 0 3px;
    background-color:#CEC9C9;
    border: 0;
    opacity: 1; 
    border-radius: 50px !important;
}

#multiSessionModal .carousel-indicators{
    bottom: 50px;
}
#multiSessionModal .carousel-indicators .active {
    background-color: #007AFF;
}

.average {
    width: 89px;
    height: 90px;
    line-height: 90px;
    background-color: #32c25b;
    margin: 0;
    box-shadow: none;
    position: relative;
    border-radius: 50px;
}

.average:after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /*border: 12px solid #eee;*/
    position: absolute;
    top: 0;
    left: 0;
}

.average > span {
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 1;
}

.average .average-left {
    left: 0;
}

.average .average-bar {
    width: 100%;
    height: 100%;
    background: none;
    border-width: 10px;
    border-style: solid;
    position: absolute;
    top: 0;
}

.average .average-left .average-bar {
    left: 100%;
    border-top-right-radius: 80px;
    border-bottom-right-radius: 80px;
    border-left: 0;
    transform-origin: center left;
}

.average .average-right {
    right: 0;
}

.average .average-right .average-bar {
    left: -100%;
    border-top-left-radius: 80px;
    border-bottom-left-radius: 80px;
    border-right: 0;
    transform-origin: center right;
}

.average .average-value {
    width: 100%;
    height: 100%;
    font-size: 18px;
    color: #ffffff;
    text-align: center;
    position: absolute;
}
.average.green .average-bar {
    border-color: #A3FFBD;
}
#billingTable.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order::before,
#billingTable.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order::before,
#billingTable.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order::before {
    color: #000000 !important;
}
#billingTable.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order::after,
#billingTable.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order::after,
#billingTable.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order::after {
    color: #000000 !important;
}
.text-default {
    color: #6c757d;
}

/* ✅ Override your existing CSS */
#list-datatable #billingData.dataTable>thead>tr>th {
    padding: 10px !important;
    background-color: #f0f0f0 !important;
    /* grey */
    color: #000 !important;
    /* black text */
    font-weight: 600;
    text-align: center;
}

/* ✅ Sorting arrows (asc/desc) color */
#list-datatable #billingData.dataTable thead .sorting:after,
#list-datatable #billingData.dataTable thead .sorting:before,
#list-datatable #billingData.dataTable thead .sorting_asc:after,
#list-datatable #billingData.dataTable thead .sorting_desc:after {
    color: #000 !important;
    /* black arrows */
    opacity: 1 !important;
}


#billingData thead th:first-child {
    width: 5% !important;
}

#billingData thead th:nth-child(2) {
    width: 25% !important;
}

.copy-btn span {
    font-size: 18px;
}

div#follow_rules .delete_div {
    margin-bottom: 6px;
    background-color: #f2f7fc;
    border-radius: 10px;
    padding: 3px 10px;
}
div#follow_rules span.icon.delete_rules {
    float: right;
}

div#unfollow_rules .delete_div {
    margin-bottom: 6px;
    background-color: #f2f7fc;
    border-radius: 10px;
    padding: 3px 10px;
}
div#unfollow_rules span.icon.delete_rules {
    float: right;
}

#patient-tab-content .ql-container {
    font-family: var(--body-font);
    height: auto;
    margin-bottom: 15px;
}

#assessor-instructions-tab-content .ql-container {
    font-family: var(--body-font);
    height: auto;
    margin-bottom: 15px;
}

#evaluation-section .accordion-button::after {
	background-size: 13px;
	position: absolute;
	left: 8px;
	background-color: #fff;
	border-radius: 50px;
	border: 2px solid #75767E;
	background-position: center center;
}
#evaluation-section .accordion-button span {
	display: table;
	margin-left: 15px;
	font-weight: 600;
} 
#evaluation-section .accordion-button strong i {
	position: absolute;
	right: -20px;
	margin-top: -12px;
}
#evaluation-section .accordion-button:focus {
	box-shadow: inherit;
}
#evaluation-section .accordion-button:not(.collapsed){
	background-color: transparent;
}
#evaluation-section .accordion-item{
	border:0;
}
#evaluation-section .accordion-button:not(.collapsed){
	box-shadow: inherit;
}
#evaluation-section .main-div-enter-a-title {
	background-color: #F2F7FC;
	padding: 10px;
	border-radius: 10px;
}

#evaluation-section .main-div-enter-a-title .ph-caret-up {
	border: 2px solid #75767E;
	width: 20px;
	display: inline-block;
	height: 20px;
	border-radius: 50px;
	text-align: center;
	line-height: 18px;
	color: #75767E;
	background-color: #f2f7fc;
	font-size: 14px !important;
}

#evaluation-section .main-div-enter-a-title ul li ul {
	padding-left: 30px;
	margin:0;
}
#evaluation-section .enter-a-title1 {
	position: relative;
	z-index: 1;
}
#evaluation-section .enter-a-title1:before{
	position: absolute;
	content: "";
	width: 1px;
	height: calc(100% - 22px);
	inset-inline-start: 10px;
	inset-block-start: 24px;
	border: 1px solid #75767E;
	z-index: -1;
}
#evaluation-section .enter-a-title3 {
	position: relative;
	z-index: 1;
}
#evaluation-section .enter-a-title3:before{
	position: absolute;
	content: "";
	width: 1px;
	height: calc(100% - 34px);
	inset-inline-start: 40px;
	inset-block-start: 25px;
	border: 1px solid #75767E;
	z-index: -1;
}
#evaluation-section .main-div-enter-a-title ul li ul .ph {
	font-size: 20px;
	position: relative;
	top: 4px;
}
#evaluation-section .enter-a-title4 {
	margin: 0 !important;
}

#evaluation-section .main-div-enter-a-title .col-md-3 input {
	width:40px;
	border-radius: 4px;
	border: 0;
	background-color: #fff;
	text-align: center;
	font-weight: 600;
}
#evaluation-section .main-div-enter-a-title .col-md-3 {
  text-align: end;
}
#evaluation-section .main-div-enter-a-title .col-md-3 .ph {
	font-size: 13px;
	position: relative;
	top: 0;
}
#evaluation-section .main-div-enter-a-title .col-md-9 .form-control.input-text2 {
	display: inline-block!important;
	width: 96%!important;
	padding: 10px 12px!important;
	text-align: left;
	background-color: transparent !important;
}
#evaluation-section .main-div-enter-a-title .enter-a-title2 li {
	margin-bottom: 4px;
}
#evaluation-section .main-div-enter-a-title li a {
	color: #75767E;
	font-weight: 600;
	font-size: 13px;
}
#evaluation-section .main-div-enter-a-title li a:hover{
	color:#041b3f;
}

#evaluation-section .accordion-body {
	padding:10px 12px 0;
}
#evaluation-section .main-div-enter-a-title .ph-plus {
	color: #007aff;
	font-size: 18px !important;
}
#evaluation-section .enter-a-title6 .input-text {
	width: 85% !important;
	position: absolute;
	padding: 5px;
	text-align: left !important;
	background-color: #f2f7fc !important;
	margin-left: 5px;
}

#evaluation-section .enter-a-title6 {
	position: relative;
	z-index: 1;
}
#evaluation-section .enter-a-title6::before {
	position: absolute;
	content: "";
	width: 1px;
	height: calc(100% - -5px);
	inset-inline-start: 9px;
	inset-block-start: -4px;
	border: 1px solid #75767E;
	z-index: -1;
}
#evaluation-section .input-text {
  width: 70% !important;
}

#annexes-section .form-control{
	padding: 5px 0;
	background-color: transparent !important;
}
#flashcard-evaluation-section .accordion-button::after {
	background-size: 13px;
	position: absolute;
	left: 8px;
	background-color: #fff;
	border-radius: 50px;
	border: 2px solid #75767E;
	background-position: center center;
}
#flashcard-evaluation-section .accordion-button span {
	display: table;
	margin-left: 15px;
	font-weight: 600;
} 
#flashcard-evaluation-section .accordion-button strong i {
	position: absolute;
	right: -20px;
	margin-top: -12px;
}
#flashcard-evaluation-section .accordion-button:focus {
	box-shadow: inherit;
}
#flashcard-evaluation-section .accordion-button:not(.collapsed){
	background-color: transparent;
}
#flashcard-evaluation-section .accordion-item{
	border:0;
}
#flashcard-evaluation-section .accordion-button:not(.collapsed){
	box-shadow: inherit;
}
#flashcard-evaluation-section .form-select {
	font-size: 13px;
	padding: 12px 16px;
	border: 0;
	background-color: #ecf3fb;
}

#flashcard-evaluation-section .accordion-button strong i {
	position: absolute;
	right: -14px;
	margin-top: -12px;
}

.tag-more-container {
        position: relative;
        display: inline-block;
    }

.hidden-tags-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(20, 20, 20);
    border: 1px solid #181717;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    width: 118px;
    margin-top: 5px;
}

.hidden-tags-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid white;
}

.hidden-tags-popup::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #ddd;
}

.tag-more-container:hover .hidden-tags-popup {
    display: block;
}

.tag-more-trigger {
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-more-trigger:hover {
    opacity: 0.8;
}

        /* Responsive positioning */
@media (max-width: 768px) {
    .hidden-tags-popup {
        left: 0;
        transform: none;
        width: auto;
        max-width: 90vw;
    }

    .hidden-tags-popup::before,
    .hidden-tags-popup::after {
        left: 20px;
        transform: none;
    }
}

/* Alternative: Right positioning if near edge */
.tag-more-container.position-right .hidden-tags-popup {
    left: auto;
    right: 0;
    transform: none;
}

.tag-more-container.position-right .hidden-tags-popup::before,
.tag-more-container.position-right .hidden-tags-popup::after {
    left: auto;
    right: 20px;
    transform: none;
}

 .form-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
}

/* Track */
.form-range::-webkit-slider-runnable-track,
.form-range::-moz-range-track {
    height: 8px;
    border-radius: 5px;
    background: transparent;
    border: none;
}

/* Thumb (still visible even if disabled) */
.form-range::-webkit-slider-thumb,
.form-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #007AFF;
    border: none;
    cursor: default;
    /* not pointer since read-only */
}