.feedback-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-modal.hidden {
    display: none;
}

.feedback-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 12, 0.38);
}

.feedback-shell {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.feedback-panel {
    width: min(100%, 560px);
    padding: 20px;
    color: #d7dde7;
    background: linear-gradient(145deg, rgba(16, 20, 27, 0.96), rgba(12, 16, 22, 0.98));
    border: 1px solid rgba(185, 107, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.36);
}

.feedback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.feedback-header h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.feedback-close {
    width: 28px;
    height: 28px;
    color: #eef2ff;
    background: transparent;
    font-size: 24px;
    line-height: 1;
}

.feedback-label,
.feedback-upload-head,
.feedback-message {
    color: #96a0ad;
    font-size: 13px;
}

.feedback-text-wrap {
    position: relative;
    margin-top: 8px;
}

.feedback-text-wrap textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 12px 28px;
    color: #e8edf5;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 6px;
    resize: vertical;
}

.feedback-count {
    position: absolute;
    right: 12px;
    bottom: 8px;
    color: #b8c0cc;
    font-size: 12px;
}

.feedback-upload-head {
    display: flex;
    justify-content: space-between;
    margin: 14px 0 8px;
}

.feedback-image-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feedback-upload-btn,
.feedback-image-item {
    width: 76px;
    height: 76px;
    border-radius: 6px;
}

.feedback-upload-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #dce5ef;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(148, 163, 184, 0.28);
    cursor: pointer;
}

.feedback-upload-btn span {
    font-size: 24px;
    line-height: 20px;
}

.feedback-upload-btn strong {
    font-size: 12px;
    font-weight: 500;
}

.feedback-image-item {
    position: relative;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.8);
}

.feedback-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.feedback-image-item button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
}

.feedback-submit {
    width: 100%;
    height: 38px;
    margin-top: 14px;
    color: #fff;
    background: #128534;
    border-radius: 6px;
    font-weight: 700;
}

.feedback-submit:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.feedback-message {
    min-height: 18px;
    margin-top: 10px;
    text-align: center;
}

.feedback-message.success {
    color: #5ee083;
}

.feedback-message.error {
    color: #fb7185;
}
