.nsp-rating-popup {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    height: 100px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    font-family: sans-serif;
}

.nsp-rating-popup.is-visible {
    display: flex;
}

.nsp-rating-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nsp-rating-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.nsp-rating-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.nsp-score {
    min-width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.nsp-score:hover,
.nsp-score:focus {
    background: #fee2e2;
    border-color: #f59e0b;
    outline: none;
}

.nsp-score.is-active {
    background: #f59e0b;
    border-color: #d97706;
    color: #fff;
}

.nsp-rating-hints {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    color: #6b7280;
    margin-top: -4px;
}

.nsp-rating-close {
    border: none;
    background: transparent;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.15s ease;
}

.nsp-rating-close:hover,
.nsp-rating-close:focus {
    color: #111827;
}

.nsp-rating-message {
    margin-left: auto;
    color: #10b981;
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 640px) {
    .nsp-rating-popup {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }

    .nsp-rating-message {
        margin-left: 0;
    }
}

