/* ===============================
   FLOATING (เหลือแค่ FEEDBACK)
=============================== */
.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 9999;
    display: flex;
  flex-direction: row;   /* 🔥 จาก column → row */
  align-items: flex-end;
  gap: 12px;
}

/* ===============================
   FEEDBACK CARD (เหมือน cookie)
=============================== */
.feedback-btn {
  display: flex;
  flex-direction: column;   /* 🔥 แนวตั้งในตัวการ์ด */
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  padding: 12px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,0.05);
  cursor: pointer;
  min-width: 120px;   /* ✅ กันหด */
  max-width: 160px;   /* ✅ กันยืด */
}

/* hover */
.feedback-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  background: rgba(19,60,130,0.12);
}

/* icon */
.feedback-btn .fb-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b5ea7, #5b7bd5);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  transform: scale(1.05);
}

/* text */
.feedback-btn .fb-text {
  font-size: 12px;
  font-weight: 600;
  color: #2c3e50;
  white-space: nowrap;
}

/* ===============================
   ลดความเด่น (ไม่รบกวนสายตา)
=============================== */
.floating-actions {
  opacity: .85;
  transition: opacity .3s ease;
}

.floating-actions:hover {
  opacity: 1;
}

/* ===============================
   FULLSCREEN – ซ่อน
=============================== */
:fullscreen .floating-actions {
  display: none !important;
}

/* ===============================
   🎥 MOBILE LANDSCAPE – ซ่อน
=============================== */
@media (max-width:1024px) and (orientation:landscape){
  .floating-actions{
    display:none !important;
  }
}

@media (max-width: 768px) {
  .floating-actions {
    flex-direction: column;
    align-items: flex-end;
  }
}

/* ===============================
   COOKIE BUTTON – MODERN MINIMAL
=============================== */

.cookie-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
	min-width: 110px; 
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  padding: 10px 12px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,0.05);
  cursor: pointer;
}

/* hover */
.cookie-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}


.cookie-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  background: linear-gradient(135deg, #3b5ea7, #5b7bd5);
  color: #fff;

  border-radius: 50%;
  font-size: 20px;
}

/* ===============================
   TEXT
=============================== */
.cookie-text {
  font-size: 12px;
  font-weight: 500;
  color: #2c3e50;
  white-space: nowrap;
}

.cookie-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(19,60,130,0.06); /* 🔥 เบา โปร่ง */
  color: var(--led-blue);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(19,60,130,0.15);
  font-size: 13px;
  font-weight: 500;

  cursor: pointer;
  transition: all .2s ease;

  backdrop-filter: blur(4px); /* 🔥 modern */
}

/* hover */
.cookie-btn:hover {
	transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  background: rgba(19,60,130,0.12);
  border-color: rgba(19,60,130,0.3);
}

/* active */
.cookie-btn:active {
  transform: scale(0.96);
}


/* ===============================
   📱 MOBILE – ICON ONLY
=============================== */
@media (max-width: 768px) {

  .cookie-btn {
    width: 42px;
    height: 42px;
    padding: 0;

    justify-content: center;
    border-radius: 50%;

    background: rgba(19,60,130,0.08);
  }

  .cookie-text {
    display: none; /* 🔥 ซ่อนข้อความ */
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: .85;
    transform: translateY(0);
  }
}

.feedback-btn,
.cookie-wrapper {
  transition: transform .25s ease, box-shadow .25s ease;
}