.container {
    width: 100%;
    max-width: 1500px;
    margin: 20px auto;
}

.feedback-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.feedbackbox {
    width: 100%;
    background: #f5f5f5;
    /*border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);*/
    padding: 40px;
    /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
    position: relative;
    overflow: hidden;
}

.feedbackbox:hover {
    /*transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);*/
}

.feedbackbox h3 {
    color: #000000;
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

.feedbackbox > p {
    color: #7f8c8d;
    margin-bottom: 50px;
    line-height: 1.6;
    text-align: center;
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
}

/* 表单特定样式 - 作用域限定在 #feedbackForm 内 */
#feedbackForm .form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    justify-content: space-between;
}

#feedbackForm .form-group {
    padding: 0 10px;
    margin-bottom: 20px;
}

/* 三列布局 */
#feedbackForm .form-group.third {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
}

#feedbackForm .form-group.full {
    flex: 0 0 100%;
    max-width: 100%;
}

#feedbackForm .form-group.half {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
}

#feedbackForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

#feedbackForm input,
#feedbackForm textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    color: #333;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) inset;
    line-height: 1.4;
}

#feedbackForm input:focus,
#feedbackForm textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

#feedbackForm input::placeholder,
#feedbackForm textarea::placeholder {
    color: #a0a0a0;
    font-size: 14px;
}

#feedbackForm textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.4;
}

#feedbackForm .submit-btn {
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    width: auto;
    display: block;
    margin: 10px auto 0;
}

#feedbackForm .submit-btn:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

#feedbackForm .submit-btn:disabled {
    background-color: #666666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#feedbackForm .submit-btn.loading {
    color: transparent;
}

#feedbackForm .submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

#feedbackForm .error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

#feedbackForm .field-error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

#feedbackForm .field-success {
    border-color: #2ecc71;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

.success-message {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
    font-weight: 500;
    font-size: 14px;
}

.footer {
    margin-top: 40px;
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9rem;
    width: 100%;
}

.form-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-icon {
    font-size: 2.2rem;
    color: #3498db;
    margin-right: 12px;
}

@media (max-width: 768px) {
    .feedbackbox {
        padding: 25px 20px;
    }

    #feedbackForm .form-row {
        margin: 0;
    }

    #feedbackForm .form-group {
        padding: 0;
        margin-bottom: 18px;
    }

    #feedbackForm .form-group.third,
    #feedbackForm .form-group.half {
        flex: 0 0 100%;
        max-width: 100%;
    }
}