.btn {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  width: 100%;
  margin: 6px 0;
  cursor: pointer;
  font-size: 15px;
  transition: transform 0.1s;
}

.btn:active {
  transform: scale(0.97);
}

.btn.green { background: var(--green); }
.btn.red { background: var(--red); }
.btn.danger { background: var(--dark); }
.btn.theme-btn { background: #9c27b0; color: white; }

.btn.small {
  padding: 8px 14px;
  font-size: 12px;
  width: auto;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #1e1e2e;
  padding: 20px;
  border-radius: 24px;
  max-width: 300px;
  width: 90%;
  text-align: center;
  color: white;
}

.modal-close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.avatar-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 12px 0;
}

.avatar-option {
  font-size: 28px;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
}

.avatar-option:active {
  background: var(--gold);
  transform: scale(0.9);
}

.notification-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gold);
  color: #000;
  padding: 8px 14px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 12px;
  transition: transform 0.2s;
  white-space: nowrap;
  max-width: 90%;
  white-space: normal;
  text-align: center;
  z-index: 1500;
}

.notification-toast.show {
  transform: translateX(-50%) translateY(0);
}

.message-bubble {
  margin-bottom: 15px;
}

.message-text {
  padding: 10px;
  border-radius: 12px;
  word-break: break-word;
  white-space: pre-wrap;
}
