/* ====================== COMMON ELEMENTS ====================== */
.panel {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.panel:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--card-border);
}

.btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-normal);
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(106, 17, 203, 0.5);
}

.btn.pulse {
  animation: pulse 2s infinite;
}

.btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.icon-btn:hover {
  background: rgba(37, 117, 252, 0.2);
  transform: rotate(15deg);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  z-index: -1;
  transition: var(--transition-normal);
}

.nav-link:hover::before, .nav-link.active::before {
  opacity: 0.15;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  transform: translateY(-2px);
}

.section-subtitle {
  margin-bottom: 20px;
  color: var(--text-secondary);
}
/* ====================== ROOMS ====================== */
.rooms-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rooms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex: 1;
  overflow-y: auto;
}

.room-stats {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.room-card {
  background: var(--input-bg);
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.room-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: var(--transition-normal);
}

.room-card:hover::before {
  opacity: 1;
}

.room-card:hover {
  background: rgba(37, 117, 252, 0.15);
  transform: translateX(5px);
}

.room-title {
  font-weight: 400;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.room-description {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.room-action {
  width: 100%;
  padding: 0.75rem;
  background: rgba(37, 117, 252, 0.2);
  border: none;
  border-radius: 8px;
  color: var(--text-primary);
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s;
}

.room-action:hover {
  background: rgba(37, 117, 252, 0.3);
}

/* DM Room Styles */
.rooms-separator {
  grid-column: 1 / -1;
  margin: 20px 0 10px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
}

.rooms-separator h3 {
  color: var(--primary-color);
  margin: 0;
  font-size: 0.9em;
}

.room-card[data-room-type="dm"] {
  border-left: 3px solid var(--primary-color);
  background: linear-gradient(90deg, rgba(110, 64, 201, 0.1) 0%, transparent 100%);
}

.room-card[data-room-type="dm"] .room-title::before {
  content: "💬 ";
  color: var(--primary-color);
}

/* ====================== ACTIVE USERS ====================== */
.active-users-panel {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  margin-top: auto;
  min-height: 86vh;
  max-height: 86vh;
  overflow-y: auto;
}

.active-users-panel h3 {
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-primary);
}

.active-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.active-user:hover {
  background: rgba(37, 117, 252, 0.2);
}

/* ====================== CHAT ====================== */
.chat-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  max-height: 86vh; /* Aumentado para cobrir mais espaço vertical */
}

.chat-header {
  border-bottom: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem; /* Padding reduzido para menor altura */
  min-height: 40px; /* Altura mínima reduzida */
}

.room-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.room-members {
  font-size: 0.85rem; /* Fonte ligeiramente menor */
  color: var(--text-secondary);
  display: flex;
  gap: 0.25rem;
}

.room-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.room-action-btn {
  background: rgba(37, 117, 252, 0.2);
  border: none;
  border-radius: 8px;
  padding: 0.4rem 0.6rem; /* Padding reduzido */
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem; /* Fonte reduzida */
}

.room-action-btn:hover {
  background: rgba(37, 117, 252, 0.3);
  transform: translateY(-2px);
}

.chat-body {
  flex: 1;
  padding: 0.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem; /* Espaçamento reduzido */
  min-height: 300px;
  max-height: none; /* Removida altura máxima fixa */
  height: calc(100vh - 180px); /* Altura calculada para ocupar mais espaço */
}

.message {
  display: flex;
  gap: 0.8rem; /* Reduzido o gap entre mensagens */
  animation: fadeIn 0.3s ease;
}

.message-self {
  flex-direction: row-reverse;
}

.message-avatar {
  width: 40px; /* Avatar ligeiramente menor */
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem; /* Fonte reduzida */
  flex-shrink: 0;
  position: relative;
}

.master-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 18px; /* Badge menor */
  height: 18px;
  border-radius: 50%;
  background: var(--master-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.65rem; /* Fonte reduzida */
  color: #000;
}

.bot-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 18px; /* Badge menor */
  height: 18px;
  border-radius: 50%;
  background: var(--bot-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.65rem; /* Fonte reduzida */
  color: white;
  animation: botPulse 2s infinite;
}

.message-content {
  max-width: 75%; /* Aumentada ligeiramente a largura máxima */
  border-radius: 18px;
  padding: 0.6rem 0.9rem; /* Padding reduzido */
  position: relative;
}

.message-self .message-content {
  /* Estilos específicos para mensagens próprias */
}

.message-bot .message-content {
  border-left: 3px solid var(--bot-color);
}

.message-content::before {
  content: '';
  position: absolute;
  top: 13px; /* Ajuste de posição */
  left: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid var(--glass-bg);
}

.message-self .message-content::before {
  left: auto;
  right: -8px;
  border-right: none;
  border-left: 8px solid rgba(37, 117, 252, 0.2);
}

.message-bot .message-content::before {
  border-right: 8px solid rgba(139, 92, 246, 0.2);
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem; /* Margem reduzida */
}

.message-sender {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.4rem; /* Gap reduzido */
  font-size: 0.95rem; /* Fonte ligeiramente menor */
}

.message-sender-icon {
  color: var(--master-color);
}

.message-bot-icon {
  color: var(--bot-color);
}

.message-time {
  font-size: 0.75rem; /* Fonte reduzida */
  color: var(--text-secondary);
}

.message-text {
  line-height: 1.4; /* Line-height reduzido */
  color: var(--text-primary);
  font-size: 0.95rem; /* Fonte ligeiramente menor */
}

.system-message {
  align-self: center;
  background: var(--input-bg);
  border-radius: 8px;
  padding: 0.4rem 0.8rem; /* Padding reduzido */
  font-size: 0.85rem; /* Fonte reduzida */
  color: var(--text-secondary);
  max-width: 80%;
  text-align: center;
}

.chat-footer {
  padding: 0.8rem 1rem; /* Padding reduzido */
  border-top: 1px solid var(--card-border);
  display: flex;
  gap: 0.6rem; /* Gap reduzido */
  align-items: center;
  min-height: 65px; /* Altura mínima reduzida */
}

.message-input-container {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border-radius: 12px;
  padding: 0.8rem; /* Padding reduzido */
  gap: 8px; /* Gap reduzido */
}

.chat-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.6rem 0; /* Padding reduzido */
  color: var(--text-primary);
  font-size: 0.95rem; /* Fonte ligeiramente menor */
}

.chat-input:focus {
  outline: none;
}

.chat-actions {
  display: flex;
  gap: 0.4rem; /* Gap reduzido */
}

.user-muted {
  opacity: 0.6;
  filter: grayscale(100%);
}

.user-kicked {
  display: none !important;
}

.muted-message {
  opacity: 0.5;
  font-style: italic;
  color: var(--text-secondary);
}

.send-btn {
  width: 45px; /* Botão menor */
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.1rem; /* Fonte reduzida */
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-normal);
}

.send-btn:hover {
  transform: rotate(15deg);
}

/* ====================== PARTICIPANTS ====================== */
.participants-container {
  max-height: 86vh; /* Aumentado para corresponder ao chat */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.participants-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.75rem;
  height: calc(100% - 40px);
  overflow-y: auto;
}

.participant {
  display: flex;
  align-items: center;
  padding: 3px 6px;
  transition: all var(--transition-normal);
}

.participant:hover {
  transform: translateX(5px);
}

.participant-bot {
  background: rgba(139, 92, 246, 0.1);
}

.participant-bot:hover {
  background: rgba(139, 92, 246, 0.2);
}

.participant-item {
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.participant-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.participant-item.gold-text {
  background: linear-gradient(to right, rgba(255, 215, 0, 0.1), transparent);
  border-left: 3px solid #FFA500;
}

/* ====================== STATUS AVATAR ====================== */
.status-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 10px;
}

.skeleton-icon {
  width: 32px;
  height: 30px;
  background-color: currentColor;
  -webkit-mask: url('../js/skeleton.svg') no-repeat center;
  -webkit-mask-size: contain;
  mask: url('../js/skeleton.svg') no-repeat center;
  mask-size: contain;
}

.status-skeleton {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 32px;
  height: 30px;
  margin-right: 7px;
  flex-shrink: 0;
}

.skeleton-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 32px;
  height: 30px;
  margin-right: 7px;
  flex-shrink: 0;
}

.status-skeleton svg {
  width: 100%;
  height: 100%;
  display: block;
}

.status-skeleton .head {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: currentColor;
}

.status-skeleton .arms {
  width: 16px;
  height: 3px;
  background-color: currentColor;
  margin-top: 2px;
  border-radius: 2px;
}

.status-skeleton .body {
  width: 5px;
  height: 14px;
  background-color: currentColor;
  margin-top: 2px;
  border-radius: 2px;
}

.status-skeleton .legs {
  display: flex;
  justify-content: space-between;
  width: 12px;
  margin-top: 2px;
}

.status-skeleton .legs div {
  width: 3px;
  height: 9px;
  background-color: currentColor;
  border-radius: 2px;
}

/* ====================== USER AVATAR ====================== */
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.user-avatar img,
.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.user-avatar-bot {
  background: rgba(139, 92, 246, 0.2);
}

/* Status bubble */
.avatar-bubble {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  bottom: 0;
  right: 0;
  border: 1.5px solid var(--bg-primary);
}

/* ====================== STATUS COLORS ====================== */
.user-common .avatar-bubble { background-color: #4CAF50; }
.user-verified .avatar-bubble { background-color: #2196F3; }
.user-moderator .avatar-bubble { background-color: #FFFFFF; }
.user-master .avatar-bubble { background-color: #FFD700; }
.user-bot .avatar-bubble { background-color: #8B5CF6; }

/* ====================== USER INFO ====================== */
.user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.user-name {
  font-weight: 400;
  font-size: 9px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-primary);
}

.user-address {
  font-size: 8px;
  line-height: 1.2;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ====================== ROLE ICONS ====================== */
.user-role-icon {
  width: 20px;
  height: 20px;
  margin-left: 6px;
  flex-shrink: 0;
}

.user-role-icon img {
  width: 100%;
  height: 100%;
}

.role-icon {
  font-size: 0.7em;
}

/* ====================== ROOMS SECTION ====================== */
.rooms-actions {
  margin: 1.5rem 0;
}

.input-with-button {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.input-with-button .modal-input {
  flex: 1;
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--text-secondary);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--card-border);
}

.divider span {
  padding: 0 1rem;
}

.private-rooms-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.private-room-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--input-bg);
  border-radius: 8px;
}

.private-room-info h4 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.private-room-info p {
  font-size: 0.6rem;
  color: var(--text-secondary);
}

/* ====================== FRIENDS & ONLINE USERS ====================== */
.friends-header {
  margin: 15px 0 10px;
  padding: 5px 10px;
  background-color: rgba(76, 175, 80, 0.2);
  border-radius: 5px;
}

.friends-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.9em;
}

.others-header {
  margin: 15px 0 10px;
  padding: 5px 10px;
  background-color: rgba(33, 150, 243, 0.2);
  border-radius: 5px;
}

.others-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.9em;
}

.active-user.user-friend {
  border-left: 3px solid #4CAF50;
  background-color: rgba(76, 175, 80, 0.1);
}

.friend-badge {
  color: #4CAF50;
  margin-left: 5px;
  font-size: 0.8em;
}

.active-user {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  margin: 5px 0;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.active-user:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.user-bot {
  border-left: 3px solid #8B5CF6;
}

.user-moderator {
  border-left: 3px solid #FFA500;
}

.user-verified {
  border-left: 3px solid #2196F3;
}

.user-master {
  border-left: 3px solid #FFA500;
}

.friend-badge {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
}

.active-user.friend {
  border-left: 3px solid #4CAF50;
  background-color: rgba(76, 175, 80, 0.1);
}

.profile-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.profile-modal-actions .btn {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Novas regras para melhor responsividade */
@media (max-height: 800px) {
  .chat-body {
    height: calc(100vh - 160px); /* Ajuste para telas menores */
  }
  
  .chat-header {
    min-height: 50px;
    padding: 0.5rem 0.8rem;
  }
  
  .chat-footer {
    min-height: 55px;
    padding: 0.6rem 0.8rem;
  }
}
/* ====================== USER PROFILE MODAL ====================== */
#user-profile-modal .modal-content {
  max-width: 500px;
}

.profile-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.profile-modal-avatar {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.0rem;
  border: 3px solid var(--primary-color);
}

.profile-modal-badges {
  position: absolute;
  bottom: -35px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: nowrap;
}

.profile-modal-info {
  width: 100%;
  text-align: center;
}

.profile-modal-info h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.profile-modal-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: monospace;
  background: var(--input-bg);
  padding: 8px 12px;
  border-radius: 4px;
}

.profile-modal-status {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.profile-modal-description {
  margin-bottom: 20px;
  padding: 15px;
  background: var(--input-bg);
  border-radius: 8px;
}

.profile-modal-description h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.profile-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.5rem;
  font-weight: bold;
}

.master-badge {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
}

.moderator-badge {
  background: linear-gradient(135deg, #4A90E2, #2E5FAA);
  color: white;
}

.verified-badge {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: white;
}

/* ====================== MODERATION ====================== */
.moderation-section {
  margin-bottom: 20px;
  padding: 15px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.moderation-section h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.moderation-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.moderation-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.moderation-action-btn:hover {
  background-color: var(--card-bg);
  transform: translateY(-2px);
}

.btn-warning {
  background-color: #ff9f43;
  border-color: #ff9f43;
  color: #2a2a3a;
}

.btn-warning:hover {
  background-color: #ffa754;
  border-color: #ffa754;
}

.btn-danger {
  background-color: #ff6b6b;
  border-color: #ff6b6b;
}

.btn-danger:hover {
  background-color: #ff7f7f;
  border-color: #ff7f7f;
}

.btn-secondary {
  background-color: #5b5b6b;
  border-color: 5b5b6b;
}

.btn-secondary:hover {
  background-color: #6b6b7b;
  border-color: #6b6b7b;
}

.btn-info {
  background-color: #54a0ff;
  border-color: #54a0ff;
}

.btn-info:hover {
  background-color: #6ab0ff;
  border-color: #6ab0ff;
}

.modal-input {
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  padding: 10px;
  border-radius: 4px;
  width: 100%;
}

.modal-input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-group label {
  color: var(--text-secondary);
  display: block;
  margin-bottom: 5px;
}

.modal-content {
  background-color: var(--modal-bg);
  color: var(--text-primary);
}

.modal-header {
  border-bottom: 1px solid var(--card-border);
}

.close-modal {
  color: var(--text-secondary);
}

.close-modal:hover {
  color: var(--text-primary);
}

.muted-users-list {
  margin-top: 10px;
}

.muted-user-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  background-color: var(--input-bg);
  border-radius: 4px;
  margin-bottom: 5px;
}

.muted-user-item span {
  color: var(--text-secondary);
}

.btn-sm {
  padding: 4px 8px;
  font-size: 0.7em;
}

.btn-success {
  background-color: #10ac84;
  border-color: #10ac84;
}

.btn-success:hover {
  background-color: #0f9b78;
  border-color: #0f9b78;
}

.moderation-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 15px;
}

@media (max-width: 480px) {
  .moderation-actions {
      grid-template-columns: repeat(2, 1fr);
  }
}

/* ====================== SHOP ====================== */
.shop-panel {
  width: 100%;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.shop-item {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.shop-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
  opacity: 0;
  transition: var(--transition-normal);
}

.shop-item:hover::after {
  opacity: 1;
}

.shop-item:hover {
  transform: translateY(-8px) rotate(2deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.shop-item-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.shop-item-image::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

.shop-item-image i {
  font-size: 2.5rem;
  color: white;
  z-index: 2;
}

.item-price {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 450;
  z-index: 2;
}

.shop-item-content {
  padding: 1.5rem;
}

.shop-item-title {
  font-size: 1.0rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.shop-item-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.shop-item-button {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 400;
  cursor: pointer;
  transition: opacity var(--transition-normal);
  position: relative;
  z-index: 2;
}

.shop-item-button:hover {
  opacity: 0.9;
}

.add-funds-section {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  margin-bottom: 20px;
}

.fund-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.fund-option {
  background: var(--input-bg);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.2s;
}

.fund-option:hover {
  transform: translateY(-5px);
}

.fund-amount {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.fund-price {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.fund-buy-btn {
  width: 100%;
  padding: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 400;
  cursor: pointer;
}

/* ====================== PROFILE ====================== */
.profile-container {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
}

.profile-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.profile-avatar {
  position: relative;
}

.avatar-content {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.avatar-content::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: conic-gradient(transparent, transparent, transparent, var(--accent-color));
  animation: rotate 4s linear infinite;
}

.avatar-content::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  z-index: 1;
}

.avatar-content i {
  z-index: 2;
}

.avatar-badges {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  gap: 0.5rem;
}

.avatar-badge-item {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.5rem;
  z-index: 3;
}

.profile-info {
  flex: 1;
}

#profile-username {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.profile-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.profile-status.online {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.profile-status.offline {
  background: rgba(148, 163, 184, 0.2);
  color: var(--text-secondary);
}

.profile-balance {
  background: var(--input-bg);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.profile-address {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  word-break: break-all;
}

.profile-actions {
  display: flex;
  gap: 1rem;
}

.inventory-edit-section {
  margin: 1rem 0;
}

.inventory-edit-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
}

.inventory-edit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: var(--input-bg);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.inventory-edit-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.inventory-item-name {
  font-size: 0.7rem;
  color: var(--text-primary);
}

.toggle-item-btn.active {
  background: var(--success-color);
}

.toggle-item-btn.active {
  background: linear-gradient(to right, #4caf50, #2e7d32) !important;
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
  position: relative;
  overflow: hidden;
}

.toggle-item-btn.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
  );
  animation: toggle-shine 1.5s infinite;
}

.inventory-section, .powers-section {
  margin-bottom: 2.5rem;
}

.inventory-grid, .powers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.inventory-item {
  background: var(--input-bg);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.inventory-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translate(-100%);
  transition: var(--transition-normal);
}

.inventory-item:hover::before {
  transform: translateX(100%);
}

.inventory-item:hover {
  transform: translateY(-5px) scale(1.05);
}

.item-icon {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.item-name {
  font-size: 0.7rem;
  color: var(--text-primary);
}

/* ====================== MODALS ====================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--modal-bg);
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  max-height: 86vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 1.3rem;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.2rem;
  color: var(--text-primary);
}

.close-modal {
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s;
  color: var(--text-secondary);
}

.close-modal:hover {
  color: var(--accent-color);
}

.modal-body {
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 400;
  color: var(--text-primary);
}

.modal-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.8rem;
}

.modal-input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.auth-method {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  padding: 0.75rem;
  background: var(--input-bg);
  border: none;
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  font-weight: 400;
  transition: background 0.2s;
}

.auth-tab.active {

}

.auth-content {
  display: none;
}

.auth-content.active {
  display: block;
}

.entropy-meter {
  margin: 1rem 0;
}

.entropy-bar {
  height: 8px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  width: 0%;
  transition: width 0.5s;
}

.entropy-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.entropy-box {
  height: 150px;
  background: var(--input-bg);
  border-radius: 8px;
  margin: 1rem 0;
  position: relative;
  overflow: hidden;
}

.entropy-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.entropy-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
}

.security-warning {
  background: rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  color: var(--text-primary);
}

/* ====================== PIN OVERLAY ====================== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.pin-container {
  background: var(--modal-bg);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  width: 90%;
  max-width: 400px;
}

.pin-input {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.pin-digit {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.error-message {
  color: var(--danger-color);
  margin: 1rem 0;
}

.pin-footer {
  margin-top: 1.5rem;
}

.pin-footer a {
  color: var(--accent-color);
  text-decoration: none;
}

.pin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.close-pin-modal {
  color: var(--text-secondary);
  font-size: 23px;
  font-weight: bold;
  cursor: pointer;
}

.close-pin-modal:hover {
  color: var(--text-primary);
}

.profile-pin-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
}

.help-text {
  font-size: 8px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ====================== EMOJI PICKER ====================== */
.emoji-picker {
  position: fixed;
  top: 26vh;
  left: 50%;
  transform: translateX(-50);
  max-height: 300px;
  overflow-y: auto;
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 10px;
  z-index: 9999;
  display: none;
  width: 70vh;
  height: 100vh;
}

.emoji-picker.hidden {
  display: none;
}

.emoji-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.emoji-item {
  cursor: pointer;
  font-size: 18px;
}

.emoji-categories {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}

.emoji-category-btn {
  cursor: pointer;
  background: var(--input-bg);
  color: var(--text-primary);
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
}

.emoji-category-btn.active {
  background: var(--primary-color);
}

/* ====================== LOADING SCREEN ====================== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-secondary), var(--primary-color), var(--secondary-color));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-content {
  text-align: center;
  color: white;
}

.logo-spinner {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: spin 2s linear infinite;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin: 20px auto;
  overflow: hidden;
}

#loading-progress {
  width: 0%;
  height: 100%;
  background: white;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.fade-out {
  opacity: 0 !important;
}




/* ====================== SETTINGS MENU ====================== */

.settings-modal {
  position: fixed;
  top: 70px;
  right: 20px;
  top: 70px;
  right: 20px;
  background: var(--modal-bg);
  border-radius: 12px;
  box-shadow: var(--glass-shadow);
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 280px;
  
  display: none;
  overflow: hidden;
   animation: fadeIn 0.2s ease-out;
}

.settings-modal.active {
  display: block;
}

.settings-content {
  padding: 0.5rem 0;
}

.settings-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--card-border);
  transition: all 0.2s ease;
  font-size: 0.70rem;
  position: relative;
}

.settings-item:hover {
  background: rgba(37, 117, 252, 0.2);
    padding-left: 1.5rem;
}
.settings-item:last-child {
  border-bottom: none;
}
.settings-item i {
  margin-right: 12px;
  width: 20px;
  text-align: center;
  color: #2575fc;
}

/* ====================== THEME SWITCHER ====================== */
.theme-switcher {
  position: relative;
  display: block;
 left: 0;
}


.theme-toggle {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  align-items: center;
  gap: 0.5rem;
    margin: 0 auto;   /* centraliza no pai */
  transition: all 0.2s ease;
  font-weight: 400;
}

.theme-options {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background: var(--card-bg);
  border-radius: 8px;
  padding: 0.5rem 0;
  box-shadow: var(--glass-shadow);
  display: none;
  z-index: 10;

  min-width: 140px;
  animation: slideDown 0.2s ease-out;
}


.theme-switcher:hover .theme-options {
  display: block;
}

.theme-option {
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.theme-option:hover {
  background: rgba(37, 117, 252, 0.2);
  padding-left: 1.75rem;
}


.theme-option i {
  font-size: 0.7rem;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}



/* QR Login Modal */
#qr-login-modal {
  visibility: hidden;
  opacity: 0;
  display: block;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,1);
  transition: all 0.3s ease;
}

#qr-login-modal.show {
  visibility: visible;
  opacity: 1;
}

#qr-login-modal .modal-content {
  margin: 5% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-70px);
  opacity: 0;
  transition: all 0.3s ease;
}

#qr-login-modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

#qr-login-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--card-border);
}

#qr-login-modal .modal-header h2 {
  margin: 0;
  color: var(--text-primary);
}

.qr-login-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qr-code-section, .request-id-section, .signature-input-section {
  padding: 15px;
  background: var(--input-bg);
  border-radius: 8px;
}

.request-id-display {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.request-id-display input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  padding: 10px;
  border-radius: 8px;
  font-family: monospace;
}

.signature-input-section textarea {
  width: 100%;
  min-height: 120px;
  background: var(--bg-primary);
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  font-family: monospace;
  resize: vertical;
}

/* Room Discovery Modal */
#room-discovery-modal .modal-content.large-modal {
  max-width: 900px;
  max-height: 80vh;
  overflow-y: auto;
}

.discovery-container {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.discovery-section {
  flex: 1;
  min-height: 400px;
}

.discovery-section h3 {
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
}

#discovery-public-rooms .room-card,
#discovery-private-rooms .room-card {
  margin-bottom: 15px;
  transition: transform 0.2s ease;
}

#discovery-public-rooms .room-card:hover,
#discovery-private-rooms .room-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .discovery-container {
      flex-direction: column;
  }
  
  #room-discovery-modal .modal-content.large-modal {
      width: 95%;
      margin: 10% auto;
  }
}

/* Ephemeral Messages Modal */
#ephemeral-modal .modal-content {
  max-width: 400px;
}

/* Avatar modal effects */
.avatar-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.avatar-modal-content {
  background: var(--modal-bg);
  color: var(--text-primary);
  padding: 20px;
  border-radius: 12px;
  width: 400px;
  max-width: 90%;
}

.avatar-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.close-avatar-modal {
  font-size: 18px;
  cursor: pointer;
  color: var(--text-secondary);
}

.close-avatar-modal:hover {
  color: var(--text-primary);
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 15px;
}

.avatar-option {
  background: var(--input-bg);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.avatar-option i {
  font-size: 20px;
  color: var(--text-primary);
}

.avatar-option:hover {
  background: var(--card-bg);
  transform: scale(1.05);
}

#seed-phrase {
  white-space: pre-wrap;
  font-family: monospace;
}

#recovery-passphrase {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 16px;
  background: var(--input-bg);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#recovery-passphrase label {
  color: var(--text-primary);
  font-size: 8px;
  font-weight: 400;
  margin-bottom: 6px;
}

#recovery-passphrase textarea {
  width: 100%;
  height: 120px;
  padding: 12px;
  border-radius: 12px;
  border: none;
  outline: none;
  resize: none;
  font-size: 8px;
  line-height: 1.4;
  color: var(--text-primary);
  background: var(--input-bg);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.4);
  transition: all 0.2s ease-in-out;
}

#recovery-passphrase textarea::placeholder {
  color: var(--text-secondary);
}

#recovery-passphrase textarea:focus {
  box-shadow: 0 0 0 2px var(--accent-color);
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.btn-secondary {
  background-color: #5e72e4;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #4d5fd0;
}

.btn-danger {
  background-color: #f5365c;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-danger:hover {
  background-color: #da2c4f;
}

/* Notification styles */
.notification-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}

.notification-content i {
  font-size: 1.0em;
}

.status-online {
  width: 10px;
  height: 10px;
  background: #4CAF50;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 8px #4CAF50;
  animation: status-pulse 2s infinite;
}

#edit-avatar {
  margin-top: 20px;
}

#access-account {
  margin-top: 10px;
}