/* Discord Button & Widget Styles */
.button.button-discord,
.discord-enhanced {
  width: 100% !important;
  max-width: 600px !important;
  /* match the standard button margins so width appears consistent */
  margin: 0 0 var(--btn-gap) 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  box-sizing: border-box !important;
  /* reduced height/padding to visually match other buttons */
  min-height: 62px !important;
  padding: var(--btn-padding-vertical) var(--btn-padding-horizontal) !important;
}
.discord-button-content {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* keep content left-aligned to match other buttons */
  width: 100%;
  gap: var(--btn-gap);
  margin: 0;
}
.discord-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.discord-avatar-container {
  position: relative;
  display: flex;
  align-items: center;
}
.discord-mini-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--avatar-radius);
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  background: #222;
}
.discord-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid;
  background-color: #747f8d;
}
.discord-status-dot.online {
  background-color: #43b581;
  border-color: #43b581;
  box-shadow: 0 0 10px rgba(67, 181, 129, 0.6);
}
.discord-status-dot.idle {
  background-color: #faa61a;
  border-color: #faa61a;
  box-shadow: 0 0 10px rgba(250, 166, 26, 0.6);
}
.discord-status-dot.dnd {
  background-color: #f04747;
  border-color: #f04747;
  box-shadow: 0 0 10px rgba(240, 71, 71, 0.6);
}
.discord-status-dot.offline {
  background-color: #747f8d;
  border-color: #747f8d;
}
.discord-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
  min-width: 0;
  text-align: left;
  justify-content: center;
}
.discord-single-text {
  font-weight: bold;
  font-size: 1.05em;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  white-space: normal;
}
@media (max-width: 600px) {
  .button.button-discord,
  .discord-enhanced {
  min-height: 52px !important;
  padding: var(--btn-padding-vertical) var(--btn-padding-horizontal) !important;
    max-width: 100% !important;
    margin: 0 0 10px 0 !important;
  }
  .discord-button-content {
    gap: var(--btn-gap);
  }
  .discord-left {
    gap: 8px;
  }
  .discord-mini-avatar {
    width: 28px;
    height: 28px;
  }
  .discord-status-dot {
    width: 12px;
    height: 12px;
    border-width: 2px;
  }
  .discord-single-text {
    font-size: 1em;
  }
}
@media (max-width: 400px) {
  .button.button-discord,
  .discord-enhanced {
  min-height: 70px !important;
  padding: var(--btn-padding-vertical) var(--btn-padding-horizontal) !important;
  }
}
