/* ====================== 反馈表单优化 ====================== */

.form-container {
    max-width: 720px;
    margin: 40px auto;
    padding: 0 20px;
}

h1 {
    text-align: center;
    margin-bottom: 12px;
    color: #222;
    font-size: 2.1rem;
}

.form-lead {
    text-align: center;
    color: #555;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    text-align: center;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-group {
    margin-bottom: 1.8rem;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1.05rem;
}

.required {
    color: #e53935;
    font-size: 0.9em;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.char-count {
    font-size: 0.85rem;
    color: #777;
    text-align: right;
    margin-top: 6px;
}

.submit-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 1rem;
    padding: 14px;
    background-color: #333;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.25s;
}

.submit-btn:hover:not(:disabled) {
    background-color: #555;
}

.submit-btn:disabled {
    background-color: #999;
    cursor: not-allowed;
}

.form-tips {
    margin-top: 3rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #444;
}

.form-tips h4 {
    margin-top: 0;
    color: #222;
}

.form-tips ul {
    padding-left: 1.4em;
    margin: 0.8rem 0 0;
}