.rating-star-wrapper {
    display: inline;
    margin-left: 12px;
}

/* Custom styles for the rating modal */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}


.modal-body {
    padding: 40px 30px;
}

.modal-rating-text-1 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
}

.modal-rating-text-2 {
    font-size: 16px;
    color: #6c757d;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

.modal-rating-text-3 {
    font-size: 18px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 15px;
    margin-top: 30px;
}

/* Custom styles for the rating modal */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#modal-rating.close {
    position: absolute;
    right: 15px;
    top: 15px;
    border: none;
    background: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    z-index: 10;
}

#modal-rating .close:hover {
    color: #dc3545;
}

.modal-body {
    padding: 40px 30px;
}

.modal-rating-text-1 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
}

.modal-rating-text-2 {
    font-size: 16px;
    color: #6c757d;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

.modal-rating-text-3 {
    font-size: 18px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 15px;
    margin-top: 30px;
}

/* Star Rating Styles */
.rating-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
}

.star {
    cursor: pointer;
    transition: all 0.2s ease;
    fill: #e9ecef;
    stroke: #354259;
    stroke-width: 2;
}

.star:hover {
    transform: scale(1.1);
}

.star.filled {
    fill: #ffd700;
    stroke: #f39c12;
}

.star.hover {
    fill: #ffd700;
    stroke: #f39c12;
}

/* Textarea styles */
#rating-comment {
    width: 100%;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    resize: vertical;
    min-height: 120px;
    margin-bottom: 25px;
}

#rating-comment:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Button styles */
.rating-action {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Rating display */
.rating-display {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    color: #6c757d;
    min-height: 24px;
}

.rating-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: #6c757d;
}

/* end rating */

.modal-rating-text-1 {
    font-size: 20px;
    font-weight: 600;
    color: #010814;
    margin-bottom: 8px;
    text-align: center;
    margin-top: 40px;
}

.modal-rating-text-2 {
    font-size: 14px;
    font-weight: 400;
    color: #354259;
    text-align: center;
}

.modal-rating-text-3 {
    font-size: 14px;
    font-weight: 600;
    color: #354259;
    margin-bottom: 8px;
    text-align: center;
}

@media(max-width: 768px) {
    .modal-rating-text-1 {
        font-size: 1rem;
        font-weight: 600;
        color: #010814;
        margin-bottom: 8px;
        text-align: center;
        margin-top: 40px;
    }

    .modal-rating-text-2 {
        font-size: 0.825rem;
        font-weight: 400;
        color: #354259;
        text-align: center;
    }

    .modal-rating-text-3 {
        font-size: .825rem;
        font-weight: 600;
        color: #354259;
        margin-bottom: 8px;
        text-align: center;
    }
}

.rating {
    font-size: 0;
    display: inline-block;
    display: flex;
    justify-content: center;
    gap: 24px;
}

#rating-comment {
    border-radius: 8px;
    border: 1px solid #E6E7EA;
    background: #FFF;
    padding: 12px;
    width: 100%;
    box-shadow: 0px 1px 2px 0px rgba(5, 32, 81, 0.05);
}

.rating-action {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.rating-action button {
    width: 50%;
}

#modal-rating .modal-body {
    padding: 24px;
}