/**
 * FAQ Feedback - Styles
 */

/* =====================================
   Feedback Container
   ===================================== */
.faq-feedback-container {
    margin: 40px 0 30px;
    padding: 30px;
    background: var(--faq-bg-lighter);
    text-align: center;
    transition: all 0.3s ease;
}

.faq-feedback-container p {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 400;
    color: #002449;
}

/* =====================================
   Buttons Container
   ===================================== */
.faq-feedback-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =====================================
   Feedback Buttons
   ===================================== */
.faq-feedback-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    overflow: hidden;
	margin:0;
}

/* Yes Button */
.faq-feedback-btn[data-vote="1"] {
    color: #012547;
}

.faq-feedback-btn[data-vote="1"]:hover {
    background: #012547;
    color:white;
}



/* No Button */
.faq-feedback-btn[data-vote="-1"] {
    color: #012547;
}

.faq-feedback-btn[data-vote="-1"]:hover {
    background: #012547;
    color:white;
}



/* =====================================
   Button States
   ===================================== */
.faq-feedback-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.faq-feedback-btn:active {
    transform: translateY(0);
}

.faq-feedback-btn:focus {
    outline: 2px solid #918AD7;
    outline-offset: 2px;
}

/* =====================================
   Messages
   ===================================== */
.faq-feedback-thanks,
.faq-feedback-error {
    display: none;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 15px;
    background: white;
    border-radius: 8px;
}

.faq-feedback-thanks {
    color: #46b450;
    border: 2px solid #46b450;
}

.faq-feedback-thanks:before {
    content: '✓ ';
    font-size: 22px;
    margin-right: 5px;
}

.faq-feedback-error {
    color: #dc3232;
    border: 2px solid #dc3232;
}

.faq-feedback-error:before {
    content: '! ';
    font-size: 22px;
    margin-right: 5px;
}

/* =====================================
   Voted State
   ===================================== */
.faq-feedback-voted {
    background: #f0faf1;
    border: 2px solid #46b450;
}

.faq-feedback-voted-yes {
    background: #f0faf1;
}

.faq-feedback-voted-no {
    background: #fff5f5;
    border-color: #dc3232;
}

/* =====================================
   Animation
   ===================================== */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.faq-feedback-voted .faq-feedback-thanks {
    animation: pulse 0.5s ease;
}

/* =====================================
   Responsive Design
   ===================================== */
@media (max-width: 768px) {
    .faq-feedback-container {
        padding: 25px;
    }
    
    .faq-feedback-container p {
        font-size: 16px;
    }
    
    .faq-feedback-buttons {
        width: 100%;
		padding: 0 50px;
    }
    
    .faq-feedback-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .faq-feedback-thanks,
    .faq-feedback-error {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .faq-feedback-container {
        padding: 20px;
    }
    
    .faq-feedback-container p {
        font-size: 15px;
    }
    
    .faq-feedback-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* =====================================
   Accessibility
   ===================================== */
.faq-feedback-btn:focus-visible {
    outline: 2px solid #918AD7;
    outline-offset: 3px;
}
