.feedback-fab {
    position: fixed;
    right: -30px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    z-index: 1045;
    border: 0;
    border-radius: 8px 8px 0 0;
    background: #e11d48;
    color: #fff;
    padding: 10px 24px;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.35);
}

.feedback-fab:hover {
    background: #be123c;
}

.feedback-modal {
    border: 0;
    border-radius: 12px;
}

.feedback-desc {
    color: #4b5563;
}

.feedback-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feedback-topic {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 15px;
}

.feedback-topic.active {
    color: #dc2626;
    border-color: #fca5a5;
    background: #fef2f2;
}

.feedback-help {
    margin-top: 6px;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.feedback-upload-note {
    color: #6b7280;
    margin-bottom: 8px;
}

.feedback-upload-row {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    display: grid;
    grid-template-columns: 110px 1fr;
    overflow: hidden;
}

.feedback-upload-btn {
    border-right: 1px solid #e5e7eb;
    background: #fff;
    color: #e11d48;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-height: 36px;
    margin: 0;
    font-weight: 600;
}

.feedback-upload-name {
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    min-height: 36px;
}

.feedback-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.feedback-submit {
    min-width: 120px;
}

.feedback-rating-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.feedback-rating-option {
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 6px;
    min-height: 96px;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
}

.feedback-rating-icon {
    font-size: 30px;
}

.feedback-rating-option.active {
    border-color: #f87171;
    background: #fef2f2;
    color: #dc2626;
}

.feedback-rating-option:hover {
    border-color: #9ca3af;
}

@media (max-width: 768px) {
    .feedback-fab {
        transform: none;
        right: 16px;
        top: auto;
        bottom: 18px;
        border-radius: 999px;
        padding: 10px 16px;
    }

    .feedback-upload-row {
        grid-template-columns: 90px 1fr;
    }

    .feedback-rating-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
