/* ==========================================
   FEEDBACK PAGE STYLES
   ========================================== */

/* ========== CAPTCHA STYLES ========== */
.feedback-captcha-container {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 10px;
}

.feedback-captcha-question {
    background: #f5f5f5;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
    border: 2px solid #e0e0e0;
}

.feedback-captcha-input {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.feedback-captcha-input:focus {
    outline: none;
    border-color: #fb590b;
    box-shadow: 0 0 0 3px rgba(251, 89, 11, 0.1);
}

.feedback-captcha-error {
    display: block;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 600;
}

/* Form note styling */
.form-note {
    font-size: 12px;
    margin-top: 5px;
    font-weight: 600;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .feedback-captcha-container {
        flex-direction: column;
        gap: 10px;
    }

    .feedback-captcha-question {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .feedback-captcha-question {
        width: 100%;
        min-width: auto;
        padding: 8px 15px;
        font-size: 14px;
    }

    .feedback-captcha-input {
        padding: 10px;
        font-size: 12px;
    }
}

/* ========== STAR RATING STYLES ========== */
.star-rating-container {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    border-radius: 10px;
    border: 2px solid #ffe4cc;
    margin-bottom: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.star-rating-input {
    position: relative;
    cursor: pointer;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 12px;
    font-size: 20px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    border: 2px solid transparent;
}

.star-rating-input label i {
    transition: all 0.2s ease;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ .star-rating-input label {
    color: #ffc107;
    transform: scale(1.15);
}

.star-rating-input label:hover i,
.star-rating-input label:hover ~ .star-rating-input label i {
    filter: drop-shadow(0 0 3px rgba(255, 193, 7, 0.5));
}

.star-rating-input input:checked + label {
    color: #ffc107;
    border-color: #d17a3c;
    background: rgba(209, 122, 60, 0.1);
    transform: scale(1.1);
}

.star-rating-input input:checked + label i {
    animation: starPulse 0.3s ease;
}

@keyframes starPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.rating-feedback {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    text-align: center;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 6px;
}

/* ========== CONTACT INFO STYLES ========== */
.feedback-contact-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 30px;
    border: 2px solid #ffe4cc;
    box-shadow: 0 4px 15px rgba(209, 122, 60, 0.1);
}

.feedback-contact-info h4 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item {
    display: flex;
    gap: 15px;
    padding: 18px;
    margin-bottom: 15px;
    background: #ffffff;
    border-radius: 10px;
    border-left: 4px solid #d17a3c;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(209, 122, 60, 0.15);
}

.contact-icon {
    font-size: 28px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details {
    flex: 1;
}

.contact-details p {
    margin: 6px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.contact-details p strong {
    color: #d17a3c;
    font-weight: 600;
}

.contact-details a {
    color: #d17a3c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #fb590b;
    text-decoration: underline;
}

/* ========== RECOMMENDATION GROUP STYLES ========== */
.recommend-group {
    display: flex;
    gap: 15px;
}

.recommend-group .rating-option {
    flex: 1;
}

.recommend-group .rating-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    text-align: center;
}

.recommend-group .rating-option label i {
    font-size: 24px;
    color: #d17a3c;
}

.recommend-group .rating-option input:checked + label i {
    transform: scale(1.2);
}

/* Responsive adjustments for star rating */
@media (max-width: 768px) {
    .star-rating-container {
        gap: 8px;
        padding: 15px;
    }

    .star-rating-input label {
        padding: 6px 10px;
        font-size: 16px;
    }

    .rating-feedback {
        font-size: 12px;
    }

    .contact-item {
        flex-direction: column;
        padding: 15px;
    }

    .contact-icon {
        font-size: 24px;
    }

    .contact-details p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .star-rating-container {
        gap: 6px;
        padding: 12px;
    }

    .star-rating-input label {
        padding: 5px 8px;
        font-size: 14px;
    }

    .feedback-contact-info {
        padding: 20px;
    }

    .feedback-contact-info h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .contact-item {
        padding: 12px;
        margin-bottom: 12px;
    }

    .contact-details p {
        font-size: 12px;
        margin: 5px 0;
    }
}
