body {
  font-family: "Sarabun", sans-serif;
  background-color: #003c71; /* Fallback color */
  background-position: center;
  background-size: cover;
  background-attachment: fixed;

  /* ✅ แก้ไข Path รูปภาพ: ถอยหลัง 2 ขั้น (../../) เพื่อออกจาก assets/css/ ไปหา images/ */
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.4)
    ),
    url("../../images/logins.jpg");

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #f0f0f0;
  padding: 2rem 0;
}

/* ✅ CSS สำหรับ Cookie Banner (Glassmorphism) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 20, 40, 0.9);
  /* สีเข้มโปร่งแสง */
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 1rem 0;
  z-index: 9999;
  /* อยู่บนสุด */
  display: none;
  /* ซ่อนไว้ก่อน */
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 0.9rem;
}

.cookie-btn {
  background-color: #ffc107;
  color: #000;
  border: none;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-btn:hover {
  background-color: #e0a800;
  transform: scale(1.05);
}

.cookie-link {
  color: #0dcaf0;
  text-decoration: none;
  border-bottom: 1px dashed #0dcaf0;
}
