.rating-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f0f3f6;
    color: var(--blue3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ld-rating-form {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: Arial, sans-serif;
}

.ld-rating-label {
    font-weight: bold;
    font-size: 16px;
}

.star-rating {
    direction: rtl;
    display: inline-flex;
    gap: 5px;
    margin: 0 auto;
}

.star-rating input {
    display: none;
}

.star-rating .star {
    font-size: 32px;
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s ease-in-out, transform 0.1s;
}

.star-rating .star:hover,
.star-rating .star:hover~.star {
    color: #ffca28;
    transform: scale(1.1);
}

.star-rating input:checked~.star {
    color: #ff9800;
}


/*** style for admin page ***/

.ld-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;

}

.ld-stat-box {
    background: #fff;
    padding: 20px;
    border-left: 4px solid #2271b1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ld-rating-bar-container {
    background: white;
}

.ld-rating-bar {
    background: #2271b1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
}