/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* Body */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #0a0f1f;
  color: #e0f7fa;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Top Bar */
.topbar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #0d1b2a;
  border-bottom: 2px solid #00e5ff;
  box-shadow: 0 0 12px #00e5ff88;
  position: sticky;
  top: 0;
  z-index: 100;
}
.brand {
  font-size: 20px;
  font-weight: 600;
  margin-left: 12px;
  color: #00e5ff;
  text-shadow: 0 0 8px #00e5ff;
}
.menu-toggle {
  background: none;
  border: none;
  font-size: 22px;
  color: #00e5ff;
  cursor: pointer;
}

/* Navigasi */
.nav-menu {
  position: fixed;
  top: 0;
  left: -260px;
  height: 100vh;
  width: 240px;
  background: #0d1b2a;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-shadow: 2px 0 15px #00e5ff44;
  transition: left 0.3s ease;
  z-index: 200;
}
.nav-menu.show { left: 0; }
.nav-menu a {
  margin: 12px 0;
  text-decoration: none;
  color: #e0f7fa;
  font-size: 16px;
  transition: 0.2s;
}
.nav-menu a:hover { color: #00e5ff; text-shadow: 0 0 6px #00e5ff; }
.menu-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #00e5ff;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 20px;
}

/* Chat */
.title {
  text-align: center;
  margin: 15px;
  font-size: 20px;
  color: #00e5ff;
  text-shadow: 0 0 8px #00e5ff;
}
.chat-container {
  flex: 1;
  width: 125%;
  max-width: 900px;
  margin: 15px auto;
  padding: 15px;
  background: #111827;
  border: 1px solid #00e5ff55;
  border-radius: 12px;
  box-shadow: 0 0 12px #00e5ff55;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 50vh;
}
.message {
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.5;
  animation: fadeIn 0.2s ease-in-out;
}
.user-message {
  align-self: flex-end;
  background: #00e5ff;
  color: #0a0f1f;
  border-bottom-right-radius: 4px;
  box-shadow: 0 0 10px #00e5ffcc;
}
.bot-message {
  align-self: flex-start;
  background: #1e293b;
  color: #e0f7fa;
  border-bottom-left-radius: 4px;
  box-shadow: 0 0 8px #00e5ff44;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Input */
.input-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 125%;
  max-width: 900px;
  margin: 10px auto;
  padding: 8px 12px;
  border-radius: 20px;
  background: #111827;
  border: 1px solid #00e5ff55;
  box-shadow: 0 0 10px #00e5ff55;
}
input {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #e0f7fa;
}
input:focus { outline: none; }
button {
  background: #00e5ff;
  color: #0a0f1f;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
button:hover { background: #00bcd4; box-shadow: 0 0 12px #00e5ff; }

/* Info Panel */
.info-panel {
  width: 125%;
  max-width: 900px;
  margin: 15px auto 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-box {
  background: #111827;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #00e5ff44;
  box-shadow: 0 0 10px #00e5ff22;
}
.info-box h2 {
  margin-bottom: 8px;
  font-size: 17px;
  color: #00e5ff;
  text-shadow: 0 0 6px #00e5ff;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-links a {
  text-decoration: none;
  color: #e0f7fa;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-links a:hover { color: #00e5ff; text-shadow: 0 0 6px #00e5ff; }

/* Footer */
footer {
  text-align: center;
  padding: 12px;
  font-size: 14px;
  color: #888;
}
