/* Reviews Page Styles */

/* Reviews Page Main */
.reviews-page {
    padding: 150px 0 100px;
    background-color: #ffffff;
}


/* Page Title */
.reviews-page__title {
    font-family: 'Inter', sans-serif;
    max-width: 820px;
    font-size: 54px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0 0 50px 0;
    text-align: left;
}

/* Controls Section */
.reviews-page__controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    gap: 20px;
}

/* Leave Review Button */
.reviews-page__leave-btn {
    background-color: #0B0D10;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.02em;
    width: 280px;
    height: 60px;
    border: none;
    border-radius: 1000px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 820px;
    margin-bottom: 50px;
}

.reviews-page__leave-btn:hover {
    background-color: #1a1d22;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 13, 16, 0.3);
}

.reviews-page__leave-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.reviews-page__leave-btn:hover::before {
    left: 100%;
}

/* Filters Section */
.reviews-page__filters {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Filter Dropdown */
.filter-dropdown {
    position: relative;
    z-index: 10;
}

.filter-dropdown__toggle {
    background-color: #0B0D10;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.04em;
    height: 60px;
    padding: 20px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-dropdown__toggle:hover {
    background-color: #1a1d22;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 13, 16, 0.3);
}

.filter-dropdown__toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.filter-dropdown__toggle:hover::before {
    left: 100%;
}

/* Small Filter Toggle */
.filter-dropdown--small .filter-dropdown__toggle {
    width: 60px;
    padding: 20px;
    border-radius: 5px;
    justify-content: center;
}

.filter-dropdown__toggle--small {
    gap: 0;
}

.filter-dropdown__icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.filter-dropdown__icon--small {
    width: 30px;
    height: 30px;
}

/* Dropdown Menu */
.filter-dropdown__menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background-color: #0B0D10;
    border-radius: 10px;
    padding: 20px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.filter-dropdown__menu--small {
    min-width: 250px;
    right: 0;
    left: auto;
}

.filter-dropdown__menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.filter-dropdown__option {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #ffffff;
    padding: 15px 0;
    cursor: pointer;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-dropdown__option:last-child {
    border-bottom: none;
}

.filter-dropdown__option:hover {
    color: #1458E4;
}

.filter-dropdown__option--active {
    color: #1458E4;
}

/* Reviews Grid */
.reviews-page__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 20px;
    /* 70px vertical gap for rows, 20px horizontal gap for columns */
    padding: 0px 0px;
    margin-bottom: 50px;
}

/* Review Card Container */
.review-card-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Review Card for Reviews Page */
.review-card-reviews {
    width: 440px;
    background-color: rgba(0, 0, 0, 0.05);
    ;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1px);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.review-card-reviews:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(20, 88, 228, 0.2);
}

/* Review Card Header */
.review-card-reviews__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

/* Stars */
.review-card-reviews__stars {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.review-card-reviews__stars img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Date */
.review-card-reviews__date {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    color: #A9B0B8;
    text-align: right;
    flex-shrink: 0;
}

/* Review Text */
.review-card-reviews__text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    color: #000000;
    letter-spacing: -0.04em;
    margin: 0;
}

/* Review Image */
.review-card-reviews__image {
    border-radius: 10px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.review-card-reviews__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Tags */
.review-card-reviews__tags {
    display: none;
    /* Hide tags inside cards */
}

.review-card-reviews__tag {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    color: #000000;
    padding: 8px 20px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 1000px;
    background-color: transparent;
    white-space: nowrap;
}

/* Tags below cards */
.review-card-below-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}


/* Show More Button */
.reviews-page__show-more {
    width: 100%;
    height: 62px;
    background-color: #0B0D10;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.02em;
    border: none;
    border-radius: 1000px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-page__show-more:hover {
    background-color: #1a1d22;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 13, 16, 0.3);
}

.reviews-page__show-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.reviews-page__show-more:hover::before {
    left: 100%;
}

/* Review Modal */
.review-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.review-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.review-modal {
    width: 600px;
    max-width: 100%;
    max-height: 90vh;
    background-color: #ffffff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.review-modal-overlay.active .review-modal {
    transform: scale(1);
}

.review-modal__header {
    padding: 30px 30px 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
}

.review-modal__title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0;
}

.review-modal__close {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.review-modal__close:hover {
    background-color: #f5f5f5;
}

.review-modal__close img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.review-modal__content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.review-modal__form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-modal__group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-modal__label {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
    color: #000000;
}

.review-modal__input,
.review-modal__select,
.review-modal__textarea {
    width: 100%;
    height: 60px;
    background-color: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    color: #000000;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.review-modal__input:focus,
.review-modal__select:focus,
.review-modal__textarea:focus {
    outline: none;
    border-color: #1458E4;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(20, 88, 228, 0.1);
}

.review-modal__textarea {
    height: 120px;
    padding: 20px;
    resize: vertical;
    min-height: 120px;
}

/* Rating Input */
.rating-input {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-direction: row-reverse;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-star {
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.rating-star:hover,
.rating-input input[type="radio"]:checked~.rating-star {
    color: #ffd700;
}

/* Submit Button */
.review-modal__submit {
    width: 100%;
    height: 62px;
    background-color: #1458E4;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -0.02em;
    border: none;
    border-radius: 1000px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-modal__submit:hover {
    background-color: #0f47bd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 88, 228, 0.3);
}

.review-modal__submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.review-modal__submit:hover::before {
    left: 100%;
}

/* Responsive Design */

/* Large Desktop */
@media (max-width: 1599px) {
    .reviews-page__grid {
        gap: 50px 15px;
        /* Maintain row spacing on large desktop */
    }

    .review-card-reviews {
        width: 400px;
    }

    .review-card-reviews__image img {
        height: 240px;
    }
}

/* Desktop */
@media (max-width: 1280px) {
    .reviews-page__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 20px;
        /* Maintain row spacing on desktop */
    }

    .review-card-reviews {
        width: 100%;
        max-width: 500px;
    }

    .review-card-reviews__image img {
        height: 260px;
    }
}

@media (max-width: 880px) {
    .reviews-page__leave-btn {
        max-width: 100%;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .reviews-page {
        padding: 120px 0 80px;
    }

    .reviews-page__title {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .reviews-page__controls {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
        margin-bottom: 40px;
    }

    .reviews-page__leave-btn {
        align-self: flex-start;
    }

    .reviews-page__filters {
        justify-content: flex-start;
        gap: 15px;
    }

    .filter-dropdown__toggle {
        font-size: 18px;
        height: 56px;
        padding: 18px 25px;
    }

    .filter-dropdown--small .filter-dropdown__toggle {
        width: 56px;
        height: 56px;
        padding: 16px;
    }

    .filter-dropdown__icon--small {
        width: 26px;
        height: 26px;
    }

    .reviews-page__grid {
        grid-template-columns: 1fr;
        gap: 50px;
        /* Maintain row spacing on tablet */
        margin-bottom: 40px;
    }

    .review-card-reviews {
        width: 100%;
        max-width: none;
        padding: 25px;
    }

    .review-card-reviews__image img {
        height: 300px;
    }

    .review-modal {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .review-modal__header {
        padding: 25px 25px 0 25px;
    }

    .review-modal__title {
        font-size: 28px;
    }

    .review-modal__content {
        padding: 25px;
    }

    .review-modal__form {
        gap: 25px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .reviews-page {
        padding: 100px 0 60px;
    }

    .reviews-page__title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .reviews-page__controls {
        gap: 25px;
        margin-bottom: 30px;
    }

    .reviews-page__leave-btn {
        width: 100%;
        height: 56px;
        font-size: 16px;
    }

    .reviews-page__filters {
        gap: 12px;
    }

    .filter-dropdown__toggle {
        font-size: 16px;
        height: 52px;
        padding: 16px 20px;
    }

    .filter-dropdown--small .filter-dropdown__toggle {
        width: 52px;
        height: 52px;
        padding: 14px;
    }

    .filter-dropdown__icon--small {
        width: 24px;
        height: 24px;
    }

    .filter-dropdown__menu {
        min-width: 250px;
        padding: 15px;
    }

    .filter-dropdown__menu--small {
        min-width: 220px;
    }

    .filter-dropdown__option {
        font-size: 16px;
        padding: 12px 0;
    }

    .reviews-page__grid {
        gap: 40px;
        /* Maintain row spacing on mobile */
        margin-bottom: 30px;
    }

    .review-card-reviews {
        padding: 20px;
        gap: 15px;
    }

    .review-card-reviews__header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .review-card-reviews__date {
        text-align: left;
        align-self: flex-start;
    }

    .review-card-reviews__text {
        font-size: 16px;
    }

    .review-card-reviews__image img {
        height: 250px;
    }

    .review-card-reviews__tags {
        gap: 8px;
    }

    .review-card-reviews__tag {
        font-size: 14px;
        padding: 6px 16px;
    }

    .reviews-page__show-more {
        height: 56px;
        font-size: 16px;
    }

    .review-modal__header {
        padding: 20px 20px 0 20px;
    }

    .review-modal__title {
        font-size: 24px;
    }

    .review-modal__content {
        padding: 20px;
    }

    .review-modal__form {
        gap: 20px;
    }

    .review-modal__group {
        gap: 12px;
    }

    .review-modal__label {
        font-size: 16px;
    }

    .review-modal__input,
    .review-modal__select {
        height: 52px;
        padding: 0 16px;
        font-size: 15px;
    }

    .review-modal__textarea {
        height: 100px;
        padding: 16px;
        font-size: 15px;
    }

    .rating-star {
        font-size: 26px;
    }



    .review-modal__submit {
        height: 56px;
        font-size: 16px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .reviews-page__title {
        font-size: 28px;
    }

    .filter-dropdown__toggle {
        font-size: 15px;
        padding: 14px 18px;
    }

    .filter-dropdown__menu {
        min-width: 220px;
    }

    .review-card-reviews__text {
        font-size: 15px;
    }

    .review-card-reviews__image img {
        height: 220px;
    }
}

/* Review Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup {
    width: 540px;
    max-width: 100%;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid #ffffff;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease, height 0.3s ease;
    box-sizing: border-box;
}

.popup-overlay.active .popup {
    transform: scale(1);
}

.popup__header {
    position: relative;
    padding-top: 20px;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.popup__title-bg {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 0px;
    position: relative;
    width: 436px;
    box-sizing: border-box;
    margin-left: 20px;
}

.popup__title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0;
    text-align: left;
}

.popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    background-color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup__close:hover {
    background-color: #f5f5f5;
    transform: scale(1.05);
}

.popup__close-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.popup__content {
    flex: 1;
    padding: 0 20px;
    overflow-y: auto;
    padding-bottom: 20px;
    overflow: hidden;
}

.popup__step-review {
    display: none;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: center;
    height: auto;
    margin-top: 50px;
}

.popup__step-review--active {
    display: flex;
}

.popup__form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup__input {
    width: 100%;
    height: 60px;
    background-color: #262A30;
    border: none;
    border-radius: 10px;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.popup__input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.popup__input:focus {
    outline: none;
    color: #ffffff;
    background-color: #2A3038;
}

.popup__input:hover:not(:focus) {
    background-color: #2A3038;
}

.popup__textarea {
    height: 120px;
    padding: 20px;
    resize: vertical;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
}

.popup__error {
    color: #ff4444;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    min-height: 18px;
    display: none;
}

.popup__error.active {
    display: block;
}

.popup__additional-container {
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
}


.popup__additional-services {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 100%;
}

.popup__additional-services::-webkit-scrollbar {
    width: 4px;
}

.popup__additional-services::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.popup__additional-services::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.popup__additional-btn {
    background-color: transparent;
    border: 1px solid #000000;
    border-radius: 1000px;
    padding: 20px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

.popup__additional-btn:hover {
    background-color: #262A30;
    transform: translateY(-1px);
}

.popup__additional-btn--selected {
    background-color: #262A30;
}

.popup__additional-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #000000;
}

.popup__additional-btn--selected .popup__additional-text {
    color: #ffffff;
}





.popup__success {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    height: 100%;
}

.popup__success-content {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.popup__success-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0;
    text-align: center;
}

.popup__success-description {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.05em;
    color: #A9B0B8;
    margin: 0;
    text-align: center;
}

.popup__footer {
    padding: 20px;
    flex-shrink: 0;
}

.popup__btn {
    width: 100%;
    height: 62px;
    border: none;
    border-radius: 1000px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.02em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup__btn--continue {
    background-color: #1458E4;
    color: #ffffff;
}

.popup__btn--continue:hover {
    background-color: #0f47bd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 88, 228, 0.3);
}

.popup__btn--submit {
    background-color: #1458E4;
    color: #ffffff;
}

.popup__btn--submit:hover {
    background-color: #0f47bd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 88, 228, 0.3);
}

.popup__btn--success {
    background-color: #1458E4;
    color: #ffffff;
}

.popup__btn--success:hover {
    background-color: #0f47bd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 88, 228, 0.3);
}

/* Photo Upload in Popup */
.popup .photo-upload {
    display: flex;
    align-items: center;
    gap: 15px;
}

.popup .photo-upload__label {
    width: 60px;
    height: 60px;
    background-color: #262A30;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.popup .photo-upload__label:hover {
    background-color: #2A3038;
}

.popup .photo-upload__icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.popup .photo-upload__text {
    display: none;
}

.popup .photo-upload__input {
    position: absolute;
    opacity: 0;
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.popup .photo-upload__preview {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.popup .photo-upload__preview-item {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
    flex-shrink: 0;
}

.popup .photo-upload__preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup .photo-upload__preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.popup .photo-upload__preview-remove:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.popup .photo-upload__preview-remove img {
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.popup__rating-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #000000;
}

.popup__rating-stars img {
    width: 40px;
    height: auto;
}

.popup__rating-stars {
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #E5E7EB;
}

/* Review Popup Mobile Responsive */
@media (max-width: 768px) {
    .popup-overlay {
        padding: 20px;
    }

    .popup {
        width: 100%;
        height: 500px;
        border-radius: 10px;
        border: 1px solid #ffffff;
    }

    .popup__header {
        padding: 15px 60px 0 15px;
        position: relative;
    }

    .popup__title-bg {
        padding: 15px;
        margin-left: 0px;
        margin-right: 20px;
    }

    .popup__title {
        font-size: 24px;
        line-height: 1.2;
    }

    .popup__close {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
        position: absolute;
        z-index: 10;
    }

    .popup__close-icon {
        width: 24px;
        height: 24px;
    }

    .popup__content {
        padding: 0 15px;
        padding-bottom: 15px;
        height: calc(100% - 120px);
        overflow: hidden;
    }

    .popup__step-review {
        margin-top: 20px;
        gap: 15px;
        height: calc(100% - 20px);
        justify-content: flex-start;
    }

    .popup__additional-container {
        max-width: 100%;
        width: 100%;
    }

    .popup__input {
        height: 56px;
        padding: 0 16px;
        font-size: 15px;
    }

    .popup__textarea {
        height: 100px;
        padding: 16px;
        font-size: 15px;
    }

    .popup__additional-services {
        gap: 8px;
        justify-content: center;
    }

    .popup__additional-btn {
        padding: 16px 24px;
        min-width: auto;
        flex: 0 1 auto;
    }

    .popup__additional-text {
        font-size: 16px;
        white-space: nowrap;
    }

    .popup__success-content {
        padding: 30px 15px;
    }

    .popup__success-title {
        font-size: 24px;
    }

    .popup__success-description {
        font-size: 16px;
    }

    .popup__footer {
        padding: 15px;
    }

    .popup__btn {
        height: 56px;
        font-size: 16px;
    }

    /* Photo upload mobile styles */
    .popup .photo-upload__label {
        width: 56px;
        height: 56px;
    }

    .popup .photo-upload__icon {
        width: 28px;
        height: 28px;
    }

    .popup .photo-upload__preview-item {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .popup-overlay {
        padding: 10px;
    }


    .popup__title-bg {
        padding: 12px;
        margin-right: 10px;
        margin-bottom: 20px;
    }


    .popup__title {
        font-size: 20px;
    }

    .popup__close {
        width: 40px;
        height: 40px;
    }

    .popup__close-icon {
        width: 20px;
        height: 20px;
    }

    .popup__content {
        padding: 0 12px;
        padding-bottom: 12px;
    }

    .popup__input {
        height: 52px;
        padding: 0 14px;
        font-size: 14px;
    }

    .popup__textarea {
        height: 90px;
        padding: 14px;
        font-size: 14px;
    }

    .popup__additional-services {
        gap: 6px;
        justify-content: center;
    }

    .popup__additional-btn {
        padding: 14px 20px;
        min-width: auto;
    }

    .popup__additional-text {
        font-size: 15px;
    }

    .popup__success-content {
        padding: 25px 12px;
        gap: 15px;
    }

    .popup__success-title {
        font-size: 20px;
    }

    .popup__success-description {
        font-size: 15px;
    }

    .popup__footer {
        padding: 12px;
    }

    .popup__btn {
        height: 52px;
        font-size: 15px;
    }

    /* Photo upload mobile styles for small screens */
    .popup .photo-upload__label {
        width: 52px;
        height: 52px;
    }

    .popup .photo-upload__icon {
        width: 26px;
        height: 26px;
    }

    .popup .photo-upload__preview-item {
        width: 52px;
        height: 52px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .popup-overlay {
        padding: 8px;
    }

    .popup__title-bg {
        padding: 10px;
        margin-right: 10px;
        margin-bottom: 15px;
    }

    .popup__title {
        font-size: 18px;
        line-height: 1.3;
    }


    .popup__close-icon {
        width: 18px;
        height: 18px;
    }

    .popup__content {
        padding: 0 10px;
        padding-bottom: 10px;
    }

    .popup__step-review {
        margin-top: 15px;
        gap: 12px;
    }

    .popup__input {
        height: 48px;
        padding: 0 12px;
        font-size: 13px;
    }

    .popup__textarea {
        height: 80px;
        padding: 12px;
        font-size: 13px;
    }

    .popup__additional-services {
        gap: 4px;
        justify-content: center;
    }

    .popup__additional-btn {
        padding: 12px 16px;
        min-width: auto;
    }

    .popup__additional-text {
        font-size: 14px;
    }

    .popup__success-content {
        padding: 20px 10px;
        gap: 12px;
    }

    .popup__success-title {
        font-size: 18px;
    }

    .popup__success-description {
        font-size: 14px;
    }

    .popup__footer {
        padding: 10px;
    }

    .popup__btn {
        height: 48px;
        font-size: 14px;
    }

    /* Photo upload for extra small screens */
    .popup .photo-upload__label {
        width: 48px;
        height: 48px;
    }

    .popup .photo-upload__icon {
        width: 24px;
        height: 24px;
    }

    .popup .photo-upload__preview-item {
        width: 48px;
        height: 48px;
    }

    .popup .photo-upload__preview-remove {
        width: 18px;
        height: 18px;
    }

    .popup .photo-upload__preview-remove img {
        width: 10px;
        height: 10px;
    }
}


.popup__additional-btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.popup__additional-text {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Updated styles for delete photo button */
.popup .photo-upload__preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background-color: #ff4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.popup .photo-upload__preview-remove:hover {
    background-color: #cc0000;
    transform: scale(1.1);
}

.popup .photo-upload__preview-remove img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}


/* Fix popup height override */
.popup {
    height: 600px;
}