.review-card {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 18px;
    border: 2px solid rgb(107, 39, 55);
    width: 773px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    max-width: calc(100% - 40px);
}
.reviews {

    padding: 80px 0;
}

.reviews h2 {
    color: rgb(107, 39, 55);
    font-family: Philosopher;
    font-size: 48px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 20px;
}
.review-header {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-name {
    color: rgb(107, 39, 55);
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
}
.review-rating {
    padding-left: 10px;
    font-size: 18px;
}
.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 5px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    padding: 21px 0;
}

.reviews-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/photo/various-vases-pottery-indoors-workshop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: 1;
}

.reviews-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}
.review-text {
    color: rgb(33, 33, 33);
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.reviews-more {
    text-align: right;
    margin-top: 0px;
}

.reviews-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
    color: rgb(255, 255, 255);
    font-family: Work Sans;
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0%;
    text-align: left;
}
.reviews-actions button {
    color: rgb(255, 255, 255);
    font-family: Work Sans;
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0%;
    text-align: left;
}
.reviews-pagination {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 10px 40px 0 0;
}
#leaveReviewBtn, #backToMainBtn, #nextPageBtn, #prevPageBtn {
    background: #6B2737;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    padding: 10px 24px;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
#leaveReviewBtn:hover, #backToMainBtn:hover, #nextPageBtn:hover, #prevPageBtn:hover {
    background: #8B3447;
}
.review-footer {
    text-align: right;
    color: #888;
    font-size: 13px;
    margin-top: 10px;
}
body {
    
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}
.modal h3 {
    color: #6B2737;
    font-family: 'Philosopher', sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
    padding-right: 30px;
    text-align: center;
    margin-top: 0;
    line-height: 15px;
}
.modal-content-review {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 30px 40px;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #6B2737;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}
#reviewText {
    border-radius: 10px;
}
.cta-button {
    border-radius: 10px;
    background: rgb(107, 39, 55);
    color: rgb(255, 255, 255);
    font-family: "Work Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0%;
    text-align: center;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}