.oc-points-header-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.oc-points-header-icon:hover {
    background: #e5e5e5;
}

.points-icon {
    font-size: 20px;
}

.points-text {
    font-size: 14px;
    font-weight: 500;
}

.oc-points-modal {
    position: fixed;
    top: 175px;
    left: 80px; /* Reduced from 280px to 80px */
    width: 400px;
    height: calc(70vh - 80px);
    background: white;
    z-index: 9999;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.oc-points-modal.active {
    display: block;
    opacity: 1;
}

.oc-points-modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.close-modal {
    background: none !important;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
}

.loyalty-slider {
    position: relative;
    margin: 30px;
    border-bottom: 2px solid #ddd;
    padding-top: 30px; /* Add space for labels */
}

.slider-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #ddd;
    border-radius: 50%;
    bottom: -7px;
    transform: translateX(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Add group names above dots */
.slider-dot:before {
    content: attr(data-name);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 12px;
    color: #666;
}

/* Base dot style */
/*.slider-dot {*/
/*    position: relative;*/
/*    z-index: 2;*/
/*}*/

/* Active dot style */
.slider-dot.active {
    background: #007bff;
}

/* Line between dots */
.slider-dot:not(:last-child):before {
    content: '';
    position: absolute;
    background: #ddd;
    width: calc(200% + 16px); /* Adjusted to account for dot width */
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

/* Active line style */
.slider-dot.active:not(:last-child):before {
    background: #007bff;
}

/* Add group names above dots */
.slider-dot:after {
    content: attr(data-name);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 12px;
    color: #666;
}

.group-details {
    margin: 20px;
    flex-grow: 1;
}

.group-info {
    display: none;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    margin-bottom: 20px;
}

.group-info.active {
    display: block;
}

.group-info-always{
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    margin-bottom: 20px;
    display: block;

}


.points-earning,
.points-value,
.next-level,
.referral-info {
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}

.next-level {
    color: #007bff;
    font-weight: 500;
}

.referral-info {
    margin: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    /*font-style: italic;*/
    text-align: center;
    text-decoration: underline;
}

.referral-font{
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}

.close-modal:before {
    background: none !important;
}