/* Trymzo Smart Review Popup Styles */
.trymzo-review-card.floating-popup {
    position: fixed;
    bottom: calc(70px + var(--safe-bottom));
    /* Above bottom nav */
    left: 15px;
    right: 15px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Animations */
.trymzo-review-card.slide-up {
    animation: slideUpFadeIn 0.4s ease-out forwards;
}

.trymzo-review-card.slide-down {
    animation: slideDownFadeOut 0.4s ease-in forwards;
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDownFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(100px);
    }
}

/* Close Button */
.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    padding: 5px;
    cursor: pointer;
    line-height: 1;
}

/* Content Styles */
.review-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.star-rating i {
    font-size: 2.2rem;
    color: #ffd700;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.star-rating i:hover,
.star-rating i.hover {
    transform: scale(1.2);
}

.star-rating i.fas {
    color: #ffd700;
}

/* Footer & Buttons */
.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skip-btn {
    color: #777;
    text-decoration: none !important;
    font-size: 0.9rem;
}

.continue-btn {
    border-radius: 10px;
    padding: 8px 25px;
    font-weight: 600;
}

.rate-playstore-btn {
    width: 100%;
    margin-top: 15px;
    border-radius: 12px;
    padding: 12px;
    background: #ff6b00;
    border-color: #ff6b00;
    font-weight: 700;
    font-size: 1rem;
}

.rate-playstore-btn:hover {
    background: #e65a00;
    border-color: #e65a00;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Dark Mode Compatibility */
.dark-mode .trymzo-review-card.floating-popup {
    background: #222;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.dark-mode .review-title,
.dark-mode p {
    color: #eee;
}

.dark-mode textarea {
    background: #333;
    border-color: #444;
    color: #fff;
}