.feedback-section {
    padding: 40px 20px; /* 减小上下 padding，整体抬高 */
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 60px); 
    align-items: flex-start; /* 改为 flex-start，避免内容少时居中导致下方留白过多 */
}

.feedback-container {
    width: 100%;
    max-width: 800px;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px; /* 减小 padding */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feedback-title {
    font-size: 1.5rem; /* 减小字号 (2rem -> 1.5rem) */
    color: #333;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 700;
}

.feedback-desc {
    color: #666;
    text-align: center;
    margin-bottom: 20px; /* 减小间距 */
    font-size: 0.95rem; /* 略微减小字号 */
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* 减小间距 */
}

.feedback-input {
    width: 100%;
    height: 180px; /* 减小高度 (300px -> 180px) */
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    resize: vertical;
    font-size: 0.95rem; /* 略微减小字号 */
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.feedback-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    background-color: #fff;
}

.feedback-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.btn-reset, .btn-submit {
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
}

.btn-reset {
    background-color: #f5f5f5;
    color: #666;
}

.btn-reset:hover {
    background-color: #e0e0e0;
}

.btn-submit {
    background-color: #007bff;
    color: white;
}

.btn-submit:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* History Section */
.feedback-history {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.history-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.history-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #eee;
}

.history-q {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 20px;
}

.q-content {
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
    word-break: break-word;
}

.q-time {
    color: #999;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.history-a {
    color: #555;
    line-height: 1.5;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
}

.history-a.no-reply {
    color: #999;
    font-style: italic;
}

.history-empty {
    text-align: center;
    color: #999;
    padding: 20px 0;
}
