/* ========== 问题反馈页面样式 ========== */

.page-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.page-header .back-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin-right: 15px;
}

.page-header h1 {
    margin: 0;
    font-size: 24px;
    flex: 1;
    text-align: center;
}

.page-header .add-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.page-header .add-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* 列表视图 */
.list-view {
    padding: 15px 0;
}

/* 反馈卡片 */
.feedback-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feedback-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.status-tag {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.status-0 {
    background: #fef9c3;
    color: #ca8a04;
    border: 1px solid #fde047;
}

.status-1 {
    background: #e0e7ff;
    color: #6366f1;
    border: 1px solid #a5b4fc;
}

.status-2 {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #86efac;
}

.status-3 {
    background: #f3f4f6;
    color: #9ca3af;
    border: 1px solid #e5e7eb;
}

.card-time {
    font-size: 12px;
    color: #999;
}

.card-content {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.card-contact {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.card-contact .contact-label {
    color: #aaa;
}

/* 官方回复 */
.card-reply {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 12px 15px;
    margin-top: 10px;
}

.card-reply .reply-label {
    font-size: 12px;
    color: #16a34a;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.card-reply .reply-content {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state .empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.empty-state .empty-text {
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.empty-state .empty-sub {
    font-size: 13px;
    color: #bbb;
}

/* 提交表单 */
.form-view {
    padding: 15px 0;
}

.form-card {
    background: white;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-section {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #555;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-label .required {
    color: #ef4444;
}

.form-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #bbb;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.btn-cancel-form {
    flex: 1;
    padding: 14px;
    background: #f3f4f6;
    color: #666;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cancel-form:hover {
    background: #e5e7eb;
}

.btn-submit {
    flex: 2;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    color: #999;
}
