/* Feedback Page Redesign */

/* Container and Card */
section.feedback-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

section.feedback-section .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.feedback-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.feedback-card h1 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
    color: #333;
    font-weight: 700;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

/* Inputs */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
    background: #fff;
}

.form-control:focus {
    border-color: #f5e91f;
    outline: none;
}

.form-control[iserror=true] {
    border-color: #ff402b;
    background-color: #fff9f8;
    background-image: url(/images/icons/attention.svg);
    background-position: right 10px center;
    background-repeat: no-repeat;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.error-hint {
    color: #ff402b;
    font-size: 12px;
    margin-top: 5px;
}

/* Attach Button */
.feedback-attach {
    margin-bottom: 25px;
}

.btn-attach {
    display: inline-flex;
    align-items: center;
    background: #f0f0f0;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: background 0.3s ease;
    font-family: inherit;
}

.btn-attach:hover {
    background: #e0e0e0;
}

.btn-attach svg {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.btn-attach.active {
    background: #e8f5e9;
    color: #2e7d32;
}

.btn-attach.active svg path {
    fill: #2e7d32;
}

/* Submit Button */
.form-actions {
    margin-top: 30px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #f5e91f;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 233, 31, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    section.feedback-section {
        padding: 20px 0;
    }

    .feedback-card {
        padding: 20px;
        box-shadow: none;
        background: #fff;
    }

    .feedback-card h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}