body {
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(135deg, #05070a 0%, #040910 100% 100%);
}

.sidebar {
  width: 300px;
  background: #0c0c0c;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.logos{
    width: 50px;
    height: 50px;
}
.sidebar-content {
  display: block;
}

.group-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background 0.2s;
}

.group-item:hover {
  background: #f1f5f9;
}

.group-item img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 12px;
}

.group-item button {
  background: #2563eb;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 14px;
  transition: background 0.2s;
}

.group-item button:hover {
  background: #1e40af;
}

.chat-count {
  font-size: 12px;
  color: #4b5563;
  margin-left: 8px;
}

#chatArea {
  background: #0c0c0c;
  border-radius: 8px;
  margin: 10px;
  padding: 10px;
}

#chatArea.welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.chat-message {
  text-align: left;
  width: 100%;
}

.bg-white{
    background-color: rgb(12 12 12) !important;
    color: white;
}
input {
    background-color: #04080e;
}
textarea {
    background-color: #04080e;   
}
#groupHeader {
  background: #0c0c0c;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  color: white;
}

#searchToken, #usernameInput, #popupMessageInput {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px;
  transition: border-color 0.3s;
  max-width: 100%;
  width: 100%;
  resize: vertical;
}

#searchToken:focus, #usernameInput:focus, #popupMessageInput:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#popupMessageInput {
  min-height: 100px;
}

#penButton {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  transition: background 0.2s;
}

#penButton:hover {
  background: #1e40af;
}

.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 173 0);
}
.bg-blue-500:hover {
  --tw-bg-opacity: 1;
  background-color:  rgb(53 49 41) !important;
}
.bg-purple-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 173 0);
}
.bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(53 49 41);
}
.bg-green-500:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(250 173 0) !important;
}

#welcomeImage {
  width: 60%;
  object-fit: cover;
  border-radius: 8px;
}

#welcomeText {
  max-width: 400px;
  font-size: 12px;
}

#thinkingIndicator {
  animation: pulse 1.5s infinite;
  background: #e5e7eb;
  border-radius: 6px;
  padding: 8px 12px;
  font-style: italic;
  color: #4b5563;
  text-align: left;
  width: 100%;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.bg-binance-yellow {
  background: #F3BA2F;
  color: #ffffff;
}

.bg-transparent {
  background: transparent;
  color: #000000;
}

#connectWalletBtn, #editProfileBtn, #createGroupBtn, #searchGroupBtn, #confirmDisconnectBtn, #cancelDisconnectBtn, #popupSendMessageBtn, #cancelMessagePopupBtn {
  border-radius: 6px;
  transition: background 0.2s;
}

#connectWalletBtn:hover { background: #1e40af; }
#editProfileBtn:hover { background: #6b21a8; }
#createGroupBtn:hover { background: #15803d; }
#searchGroupBtn:hover { background: #4b5563; }
#confirmDisconnectBtn:hover { background: #b91c1c; }
#cancelDisconnectBtn:hover { background: #4b5563; }
#popupSendMessageBtn:hover { background: #1e40af; }
#cancelMessagePopupBtn:hover { background: #4b5563; }

.hamburger-btn {
  display: none;
  font-size: 24px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger-btn i {
   color: #ffffff;
    background: #faad00;
    padding: 5px;
    border-radius: 5px;
}
.popup {
  z-index: 2000;
}

.popup-content {
  max-width: 400px;
  width: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .sidebar {
    width: 0;
    overflow: hidden;
    position: fixed;
    height: 100%;
    z-index: 1000;
  }
  .sidebar-open {
    width: 250px;
  }
  .sidebar-content {
    display: none;
  }
  .sidebar-open .sidebar-content {
    display: block;
  }
  .hamburger-btn {
    display: block;
  }
  #welcomeText {
    max-width: 300px;
    font-size: 1rem;
  }
}