/* --- Popup Styles (for pop-up full review) --- */
.review-popup {
    display: none; /* Ensure the popup is hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.review-popup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: translateY(-50px); /* Start slightly above center for animation */
    animation: fadeInPopup 0.3s forwards; /* Apply fade-in animation */
}

@keyframes fadeInPopup {
    from { opacity: 0; transform: translateY(-70px); }
    to { opacity: 1; transform: translateY(0); }
}

.review-popup-content h3 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 15px;
}

.review-popup-content .popup-comment {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
    white-space: pre-wrap; /* Preserve whitespace and line breaks */
}

.review-popup-content .popup-info {
    font-size: 0.9rem;
    color: #718096;
    text-align: right;
    font-style: italic;
}

.review-popup .close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.review-popup .close-button:hover,
.review-popup .close-button:focus {
    color: #333;
    text-decoration: none;
}
