﻿@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

body {
    font-family: 'Nunito', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Hiệu ứng chuyển cảnh */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}

/* Styling cho các nút lựa chọn (Radio box) */
.answer-option:checked + div {
    border-color: #0d9488;
    background-color: #f0fdfa; /* Teal nhạt */
    color: #0d9488;
    box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.1), 0 2px 4px -1px rgba(13, 148, 136, 0.06);
}

.answer-option + div {
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.answer-option + div:hover {
    background-color: #f9fafb;
    border-color: #e2e8f0;
}

/* Accordion Animation */
.accordion-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
.accordion-content.open {
    max-height: 500px; /* Số lớn để cover nội dung */
    opacity: 1;
}

/* Floating Button Pulse */
@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

#supportToggle {
    animation: pulse-orange 2s infinite;
}