/* Chat Widget CSS - Tích hợp với theme dự án */
/* Sử dụng CSS variables từ style.css của dự án */

.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 100px; /* Dịch chuyển sang trái để tránh back-to-top button */
  z-index: 9998;
  font-family: "Open Sans", sans-serif;
}

.chat-widget-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-text);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--color-hover-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.chat-widget-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate(-50%, -50%);
}

.chat-widget-button:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 30px var(--color-hover-2);
  background: var(--color-hover);
}

.chat-widget-button:hover::before {
  width: 120%;
  height: 120%;
}

.chat-widget-button:active {
  transform: scale(1.05) translateY(-1px);
}

.chat-widget-button i {
  font-size: 24px;
  transition: transform 0.3s ease;
  z-index: 1;
  position: relative;
}

.chat-widget-button:hover i {
  transform: rotate(10deg);
}

/* Ẩn button khi widget mở */
.chat-widget.widget-open .chat-widget-button {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-widget-container {
  position: absolute;
  right: -30px;
  width: 380px;
  height: 650px;
  background: var(--color-background-2);
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: var(--border);
  will-change: transform, opacity;
  contain: layout style paint;
}

.chat-widget-container.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  display: flex;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
}

.chat-widget-header {
  background: linear-gradient(135deg, var(--color-text), var(--color-hover));
  color: var(--color-white);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 15px 15px 0 0;
  position: relative;
  overflow: hidden;
  min-height: 50px;
}

.chat-widget-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 2s ease;
}

.chat-widget-header:hover::before {
  left: 100%;
}

.chat-widget-header .header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.chat-widget-header .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-background-5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.chat-widget-header .header-text {
  flex: 1;
  min-width: 0;
}

.chat-widget-header .header-text h4 {
  margin: 0 0 2px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-white);
}

.chat-widget-header .header-text p {
  margin: 0;
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.2;
  color: var(--color-white-2);
  font-weight: 500;
}

.chat-widget-controls {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.chat-widget-close {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  font-size: 14px;
  opacity: 0.8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.chat-widget-close::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate(-50%, -50%);
}

.chat-widget-close:hover {
  opacity: 1;
  transform: scale(1.1);
  background: rgba(255, 59, 48, 0.2);
  color: #ff3b30;
}

.chat-widget-close:hover::before {
  width: 100%;
  height: 100%;
}

.chat-widget-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: var(--color-background-3);
  transition: opacity 0.3s ease;
}

.chat-widget-container.minimized .chat-widget-messages {
  display: none;
}

.chat-widget-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-widget-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-widget-messages::-webkit-scrollbar-thumb {
  background: var(--color-text);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.chat-widget-messages::-webkit-scrollbar-thumb:hover {
  background: var(--color-hover);
}

.widget-message {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  animation: messageSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  will-change: transform, opacity;
}

@keyframes messageSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.widget-message.user {
  flex-direction: row-reverse;
}

.widget-loading {
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.widget-message-bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  contain: layout style paint;
}

.widget-message-bubble:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.widget-message.bot .widget-message-bubble {
  background: var(--color-background-2);
  color: var(--color-white);
  border-bottom-left-radius: 5px;
  box-shadow: var(--shadow);
}

.widget-message.user .widget-message-bubble {
  background: var(--color-text);
  color: var(--color-white);
  border-bottom-right-radius: 5px;
}

.widget-message-time {
  font-size: 10px;
  color: var(--color-white-2);
  margin-top: 4px;
  text-align: left;
  font-weight: 400;
  background: none;
  padding: 0;
  border-radius: 0;
  display: block;
}

.widget-message.bot .widget-message-time {
  color: var(--color-white-2);
  text-align: left;
  font-weight: 400;
  background: none;
  border: none;
}

.widget-message.user .widget-message-time {
  text-align: right;
  color: var(--color-white-2);
}

.chat-widget-input-area {
  padding: 20px;
  background: var(--color-background-2);
  border-top: 1px solid var(--color-background-5);
  transition: opacity 0.3s ease;
}

.chat-widget-container.minimized .chat-widget-input-area {
  display: none;
}

.chat-widget-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.chat-widget-input {
  flex: 1;
  min-height: 40px;
  max-height: 80px;
  padding: 10px 15px;
  border: var(--border);
  border-radius: 20px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  resize: none;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--color-background-3);
  color: var(--color-white);
}

.chat-widget-input:focus {
  border-color: var(--color-text);
  box-shadow: 0 0 0 3px var(--color-hover-2);
  transform: translateY(-1px);
}

.chat-widget-input::placeholder {
  color: var(--color-white-2);
  transition: color 0.3s ease;
}

.chat-widget-input:focus::placeholder {
  color: var(--color-white-3);
}

.chat-widget-send-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--color-text);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.chat-widget-send-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate(-50%, -50%);
}

.chat-widget-send-btn:hover {
  background: var(--color-hover);
  transform: scale(1.1) translateY(-1px);
  box-shadow: 0 4px 12px var(--color-hover-2);
}

.chat-widget-send-btn:hover::before {
  width: 120%;
  height: 120%;
}

.chat-widget-send-btn:active {
  transform: scale(1.05);
}

.chat-widget-send-btn:disabled {
  background: var(--color-background-5);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.chat-widget-send-btn:disabled::before {
  display: none;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--color-background-2);
  border-radius: 15px;
  border-bottom-left-radius: 5px;
  box-shadow: var(--shadow);
  max-width: 70%;
  position: relative;
}

.typing-indicator::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent, var(--color-hover-2), transparent);
  border-radius: inherit;
  opacity: 0;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

.typing-dots {
  display: flex;
  gap: 3px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text);
  animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
}

.welcome-message {
  text-align: center;
  padding: 30px 20px;
  color: var(--color-white);
  animation: welcomeFadeIn 0.6s ease-out;
}

@keyframes welcomeFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.welcome-message i {
  font-size: 48px;
  color: var(--color-text);
  margin-bottom: 15px;
  animation: welcomeIconBounce 1s ease-out 0.3s both;
}

@keyframes welcomeIconBounce {
  0% { transform: scale(0) rotate(-180deg); }
  50% { transform: scale(1.1) rotate(-90deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.welcome-message h4 {
  color: var(--color-white);
  margin-bottom: 10px;
}

.welcome-message p {
  color: var(--color-white-2);
}

/* Hiệu ứng pulse khi có tin nhắn mới */
.chat-widget-button.has-notification {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px var(--color-hover-2);
  }
  50% {
    box-shadow: 0 4px 20px var(--color-text);
  }
  100% {
    box-shadow: 0 4px 20px var(--color-hover-2);
  }
}

/* Hiệu ứng cho status indicator */
.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  margin-right: 6px;
  animation: statusBlink 2s infinite;
}

@keyframes statusBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.5; }
}

/* Hiệu ứng hover cho messages */
.widget-message-bubble::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.widget-message-bubble:hover::after {
  opacity: 1;
}

/* Enhanced scrollbar */
.chat-widget-messages::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--color-text), var(--color-hover));
  border-radius: 2px;
  transition: all 0.3s ease;
}

.chat-widget-messages::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--color-hover), var(--color-text));
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .chat-widget-button::before,
  .chat-widget-send-btn::before,
  .chat-widget-close::before {
    display: none;
  }
}

/* Enhanced Responsive Design */
/* Mobile First Approach */
@media (max-width: 480px) {
  .chat-widget {
  bottom: 20px;
  right: 60px;
  }

  .chat-widget-button {
    width: 56px;
    height: 56px;
    box-shadow: 0 2px 15px var(--color-hover-2);
  }

  .chat-widget-button i {
    font-size: 20px;
  }

  .chat-widget-container {
    width: 320px;
    height: 400px;
    bottom: 80px;
    right: -10px;
    border-radius: 16px;
    max-width: calc(100vw - 30px);
    max-height: calc(100vh - 150px);
  }

  .chat-widget-header {
    padding: 10px 15px;
    min-height: 50px;
  }

  .chat-widget-header .avatar {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .chat-widget-header .header-text h4 {
    font-size: 14px;
  }

  .chat-widget-header .header-text p {
    font-size: 11px;
  }

  .chat-widget-messages {
    padding: 12px;
  }

  .widget-message-bubble {
    max-width: 80%;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 12px;
  }

  .chat-widget-input-area {
    padding: 12px;
  }

  .chat-widget-input {
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 18px;
    min-height: 36px;
  }

  .chat-widget-send-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .welcome-message {
    padding: 15px 10px;
  }

  .welcome-message i {
    font-size: 32px;
  }

  .welcome-message h4 {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .welcome-message p {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Very Small Mobile Screens */
@media (max-width: 375px) {
  .chat-widget {
  bottom: 15px;
  right: 50px;
  }

  .chat-widget-button {
    width: 52px;
    height: 52px;
  }

  .chat-widget-container {
    width: 300px;
    height: 380px;
    bottom: 75px;
    right: -5px;
    border-radius: 14px;
    max-width: calc(100vw - 20px);
  }

  .chat-widget-header {
    padding: 8px 12px;
    min-height: 48px;
  }

  .chat-widget-messages {
    padding: 10px;
  }

  .widget-message-bubble {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 10px;
  }

  .chat-widget-input-area {
    padding: 10px;
  }

  .chat-widget-input {
    font-size: 13px;
    padding: 8px 10px;
    min-height: 32px;
  }

  .chat-widget-send-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* Tablet Portrait */
@media (min-width: 481px) and (max-width: 768px) {
  .chat-widget {
  bottom: 25px;
  right: 70px;
  }

  .chat-widget-button {
    width: 58px;
    height: 58px;
  }

  .chat-widget-button i {
    font-size: 22px;
  }

  .chat-widget-container {
    width: 340px;
    height: 450px;
    bottom: 85px;
    right: -15px;
  }

  .widget-message-bubble {
    max-width: 75%;
    font-size: 13px;
  }

  .chat-widget-input {
    font-size: 13px;
  }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .chat-widget {
  bottom: 30px;
  right: 120px;
  }

  .chat-widget-container {
    width: 370px;
    height: 490px;
    bottom: 80px;
    right: -25px;
  }

  .widget-message-bubble {
    max-width: 75%;
  }
}

/* Desktop Small */
@media (min-width: 1025px) and (max-width: 1366px) {
  .chat-widget {
  bottom: 30px;
  right: 130px;
  }

  .chat-widget-container {
    width: 380px;
    height: 500px;
    bottom: 80px;
    right: -30px;
  }
}

/* Desktop Large */
@media (min-width: 1367px) {
  .chat-widget {
  bottom: 30px;
  right: 140px;
  }

  .chat-widget-container {
    width: 400px;
    height: 520px;
    bottom: 80px;
    right: -30px;
  }

  .widget-message-bubble {
    max-width: 70%;
    font-size: 14px;
  }
}

/* Ultra Wide Screens */
@media (min-width: 1920px) {
  .chat-widget {
  bottom: 40px;
  right: 180px;
  }

  .chat-widget-container {
    width: 420px;
    height: 540px;
    bottom: 90px;
    right: -30px;
  }
}

/* Landscape Mobile - Compact mode */
@media (max-width: 896px) and (orientation: landscape) {
  .chat-widget-container {
    height: calc(100vh - 60px);
    width: 300px;
    bottom: 65px;
    max-height: 350px;
  }

  .chat-widget-messages {
    padding: 10px;
  }

  .chat-widget-input-area {
    padding: 10px;
  }

  .chat-widget-header {
    padding: 8px 12px;
    min-height: 40px;
  }

  .chat-widget-header .avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .chat-widget-header .header-text h4 {
    font-size: 13px;
  }

  .chat-widget-header .header-text p {
    font-size: 10px;
  }
}

/* Mobile specific enhancements */
@media (max-width: 768px) {
  /* Prevent body scroll when widget is open */
  body.chat-widget-open {
    overflow: hidden;
  }

  /* Better touch targets */
  .chat-widget-button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .chat-widget-send-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* Improved input for mobile */
  .chat-widget-input {
    -webkit-appearance: none;
    -webkit-border-radius: 18px;
    border-radius: 18px;
    /* Prevent zoom on iOS */
    font-size: 16px;
  }

  /* Hide scrollbar on mobile */
  .chat-widget-messages::-webkit-scrollbar {
    display: none;
  }

  .chat-widget-messages {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* Mobile-friendly message bubbles */
  .widget-message-bubble {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  /* Compact header for mobile */
  .chat-widget-header .header-text {
    overflow: hidden;
  }

  .chat-widget-header .header-text h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .chat-widget-header .header-text p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .chat-widget-button {
    box-shadow: 0 4px 20px var(--color-hover-2);
  }

  .chat-widget-container {
    box-shadow: var(--box-shadow);
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .chat-widget-input {
    /* Prevent zoom on iOS */
    font-size: 16px !important;
    /* Fix iOS input styling */
    -webkit-appearance: none;
    appearance: none;
    border-radius: 18px;
  }

  .chat-widget-container {
    /* Fix iOS viewport issues */
    -webkit-overflow-scrolling: touch;
  }

  .chat-widget-messages {
    /* Smooth scrolling on iOS */
    -webkit-overflow-scrolling: touch;
  }
}

/* Android Chrome specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .chat-widget-input {
    /* Prevent zoom on Android */
    font-size: 16px;
  }
}

/* Quick Questions Styles */
.quick-questions {
  margin: 15px 0;
  padding: 15px;
  background: var(--color-bg-2);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.quick-questions-header {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-questions-header span {
  color: var(--color-hover);
}

.quick-questions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.quick-question-btn {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  min-height: 70px;
  position: relative;
  overflow: hidden;
}

.quick-question-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.quick-question-btn:hover::before {
  left: 100%;
}

.quick-question-btn:hover {
  background: var(--color-hover);
  color: var(--color-white);
  border-color: var(--color-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--color-hover-2);
}

.quick-question-btn i {
  font-size: 16px;
  color: var(--color-hover);
  transition: all 0.3s ease;
}

.quick-question-btn:hover i {
  color: var(--color-white);
  transform: scale(1.1);
}

.quick-question-btn span {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text);
  transition: all 0.3s ease;
  line-height: 1.2;
}

.quick-question-btn:hover span {
  color: var(--color-white);
  font-weight: 600;
}

.quick-question-btn:active {
  transform: translateY(0);
  transition: transform 0.1s ease;
}

/* Mobile responsive cho quick questions */
@media (max-width: 768px) {
  .quick-questions {
    margin: 10px 0;
    padding: 12px;
  }

  .quick-questions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .quick-question-btn {
    padding: 8px 6px;
    min-height: 60px;
  }

  .quick-question-btn i {
    font-size: 14px;
  }

  .quick-question-btn span {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .quick-questions-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quick-question-btn {
    flex-direction: row;
    justify-content: flex-start;
    min-height: 45px;
    padding: 10px 12px;
    gap: 10px;
  }

  .quick-question-btn span {
    font-size: 12px;
    text-align: left;
  }
}

/* Animation cho quick questions khi hiển thị */
.quick-questions {
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effects cho toàn bộ quick questions */
.quick-questions:hover {
  border-color: var(--color-hover-2);
  box-shadow: 0 2px 8px var(--color-hover-2);
}