/* Vendor Feedback Form Styles */

.vendor-feedback-form-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #f9f7f4;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Form Info Section */
.vf-form-info {
    background: #e8f4f8;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #0073aa;
}

.vf-form-info details {
    cursor: pointer;
}

.vf-form-info summary {
    font-weight: 600;
    color: #0073aa;
    padding: 10px;
    user-select: none;
}

.vf-form-info summary:hover {
    color: #005a87;
}

.vf-info-content {
    padding: 15px 0;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.vf-info-content p {
    margin: 10px 0;
}

.vf-info-content ol {
    margin-left: 20px;
}

.vf-info-content ol li {
    margin-bottom: 8px;
}

.vf-info-content code {
    background: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #d63384;
}

.vendor-feedback-form h2 {
    color: #5a4a42;
    text-align: center;
    margin-bottom: 10px;
    font-size: 32px;
}

.vendor-feedback-form-container > p {
    text-align: center;
    color: #8b7c77;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.form-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e8ddd8;
}

.form-section h3 {
    color: #5a4a42;
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-group {
    margin-bottom: 25px;
}

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

.form-group input[type="text"],
.form-group input[type="date"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d4cac0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    background: white;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a8897a;
    box-shadow: 0 0 0 3px rgba(168, 137, 122, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.principle-group {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #d4a574;
}

.principle-group h4 {
    color: #5a4a42;
    font-size: 16px;
    margin-bottom: 8px;
    margin-top: 0;
}

.principle-group p {
    color: #8b7c77;
    font-size: 14px;
    margin-bottom: 15px;
}

.radio-group {
    margin-bottom: 15px;
}

.radio-group label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: normal;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
    accent-color: #a8897a;
}

.principle-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d4cac0;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
}

.form-blessing {
    background: #e8dfd8;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 30px 0;
    font-style: italic;
    color: #5a4a42;
    border-left: 4px solid #d4a574;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #a8897a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #8b7c77;
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Testimonials Styles */

.vendor-testimonials-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
}

.vendor-testimonials-container h2 {
    color: #5a4a42;
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #d4a574;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
    color: #5a4a42;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-meta p {
    margin: 5px 0;
    color: #8b7c77;
    font-size: 13px;
}

.testimonial-meta p strong {
    color: #5a4a42;
    font-size: 14px;
}

.client-name {
    font-weight: 600;
    color: #a8897a;
}

.submission-date {
    color: #aaa;
    font-size: 12px;
}

.testimonial-ratings {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.rating-badge {
    display: inline-block;
    background: #f5f1ed;
    color: #5a4a42;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Responsive */

@media (max-width: 600px) {
    .vendor-feedback-form-container {
        padding: 20px;
        margin: 20px;
    }
    
    .vendor-feedback-form h2 {
        font-size: 24px;
    }
    
    .form-section h3 {
        font-size: 16px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
