
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #f2e9dc;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 800px;
  margin: 10px auto 0 auto; /* <= kurangi dari atas */
  padding: 20px;
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 801px) {
  .container {
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 12px;
    background: #fff8ef;
  }
}


.logo {
  width: 100px;
  margin-bottom: 10px;
}

h1 {
  margin: 10px 0 5px;
  font-size: 26px;
  color: #4b2c20;
}

.subtitle {
  font-size: 15px;
  margin-bottom: 15px;
  color: #6c4f3d;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  justify-content: center;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-button {
  background-color: #a47148;
  color: #fff;
  border-radius: 50%;
  padding: 20px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, background-color 0.2s;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 80px;
  margin: auto;
}

.menu-button:hover {
  background-color: #8d5f39;
  transform: translateY(-2px);
}

.label {
  font-size: 14px;
  margin-top: 8px;
  color: #4b2c20;
  font-weight: 600;
}


.chat-float {
  position: fixed;
  top: 10px;
  right: 10px;
  background: none !important;     /* Hapus background */
  border: none !important;         /* Hapus border */
  box-shadow: none !important;     /* Hapus bayangan */
  padding: 0 !important;
  width: auto;
  height: auto;
  z-index: 9999;
  display: block;
}

.chat-float:hover {
  background: none !important;     /* Pastikan tidak muncul saat hover */
  box-shadow: none !important;
}

.chat-float img {
  width: 80px;
  
  transition: transform 0.2s ease;
  display: block;
}

.chat-float:hover img {
  transform: scale(1.1); /* efek membesar */
}


.chat-float .icon {
  font-size: 20px;
  line-height: 1;
}

.chat-float {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
}

.chat-icon {
  width: 90px;
  display: block;
}

.sparkle {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 20px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.chat-float .label {
  font-size: 11px;
  margin-top: 3px;
}

.chat-float:hover {
  background-color: rgba(141, 95, 57, 0.95);
  transform: translateY(-2px);
}


.chat-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: flex-end;
  flex-direction: column;
  z-index: 10000;
}

.chat-slide {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
  display: flex;
  flex-direction: column;
}

.chat-slide iframe {
  flex: 1;
  width: 100%;
  border: none;
}

.chat-close {
  background: #a47148;
  color: white;
  border: none;
  font-size: 20px;
  padding: 8px 16px;
  border-radius: 0 0 10px 10px;
  align-self: flex-end;
  margin: 8px;
  z-index: 2;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}
@media (max-width: 600px) {
  .dropdown-menu {
    right: 0;
    left: auto;
    width: 180px;
    top: 110%;
    font-size: 14px;
  }

  .dropdown-menu a.menu-item {
    padding: 10px 14px;
  }

  .status-login {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
  }

  .dropdown-toggle {
    font-size: 14px;
    padding: 8px 14px;
  }

  .notif-inline {
    font-size: 10px;
    height: 16px;
    min-width: 16px;
    padding: 0 5px;
  }
}
@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.dropdown-menu.show {
  display: block;
  animation: fadeSlideDown 0.3s ease forwards;
}
