/* ============================================================
   feedback.css - 工单反馈页面样式
   ============================================================ */

.feedback-wrap {
    min-height: calc(100vh - 180px);
    padding: 48px 16px 64px;
    background: linear-gradient(180deg, #fff8f2 0%, #fff 40%);
}

.feedback-page {
    max-width: 640px;
    margin: 0 auto;
}

/* ---- 头部区域 ---- */
.feedback-header {
    text-align: center;
    margin-bottom: 36px;
}
.fb-icon-circle {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a20, #ff5200);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 20px rgba(255,98,0,0.25);
}
.feedback-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
}
.feedback-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ---- 消息提示 ---- */
.feedback-msg {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}
.feedback-msg-ok {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.feedback-msg-err {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* ---- 表单卡片 ---- */
.feedback-form {
    background: #fff;
    border: 1px solid #e8e2da;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.fb-field {
    margin-bottom: 24px;
}
.fb-field:last-of-type {
    margin-bottom: 28px;
}
.fb-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}
.fb-required {
    color: #ef4444;
    margin-left: 2px;
}
.fb-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1e293b;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: auto;
}
.fb-select:focus {
    border-color: #ff6200;
    box-shadow: 0 0 0 3px rgba(255,98,0,0.08);
}

.fb-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1e293b;
    resize: vertical;
    min-height: 120px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    line-height: 1.7;
}
.fb-textarea:focus {
    border-color: #ff6200;
    box-shadow: 0 0 0 3px rgba(255,98,0,0.08);
}
.fb-textarea::placeholder {
    color: #b0b8c4;
}
.fb-char-count {
    text-align: right;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* ---- 提交按钮 ---- */
.fb-submit-btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(135deg, #ff7a20, #ff5200);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    letter-spacing: 1px;
}
.fb-submit-btn:hover {
    opacity: 0.9;
    box-shadow: 0 4px 16px rgba(255,82,0,0.3);
}
.fb-submit-btn:active {
    transform: scale(0.985);
}

/* ---- 提示区域 ---- */
.fb-tips {
    margin-top: 28px;
    padding: 20px;
    background: #fffaf5;
    border-radius: 10px;
    border: 1px solid #fde6cc;
}
.fb-tips h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: #9a4f00;
    margin: 0 0 10px;
}
.fb-tips ul {
    margin: 0;
    padding-left: 18px;
}
.fb-tips li {
    font-size: 0.84rem;
    color: #78716c;
    line-height: 1.8;
}

/* ---- 移动端适配 ---- */
@media (max-width: 640px) {
    .feedback-wrap {
        padding: 32px 12px 48px;
    }
    .feedback-form {
        padding: 20px 16px;
    }
    .feedback-header h1 {
        font-size: 1.35rem;
    }
}
