/*!*************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./client/features/social/styles.css ***!
  \*************************************************************************************/
.social-overlay {
  align-items: center;
}

.social-panel {
  width: min(540px, 92vw);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.social-hub {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 4px 12px;
}

.social-hub__status {
  font-size: 0.9rem;
  border-radius: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
}

.social-hub__status[data-tone='success'],
.social-hub__inline-status[data-tone='success'] {
  color: #1ddf88;
}

.social-hub__status[data-tone='error'],
.social-hub__inline-status[data-tone='error'] {
  color: #ff8670;
}

.social-hub__status[data-tone='info'],
.social-hub__inline-status[data-tone='info'] {
  color: #d0d7ff;
}

.social-hub__invites {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-hub__invite-nav {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.social-hub__invite-nav:hover {
  background: rgba(255, 255, 255, 0.08);
}

.social-hub__invite-viewport {
  flex: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 0;
}

.social-hub__invite-track {
  display: flex;
  gap: 12px;
}

.social-hub__invite-card {
  min-width: 220px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-hub__invite-title {
  font-weight: 600;
}

.social-hub__invite-details {
  margin: 0;
  opacity: 0.7;
}

.social-hub__invite-actions {
  display: flex;
  gap: 8px;
}

.social-hub__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding-right: 6px;
}

.social-hub__header-button {
  position: relative;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.social-hub__header-button.has-alert {
  box-shadow: 0 0 0 2px rgba(255, 79, 107, 0.4);
}

.social-hub__header-button.is-active {
  background: rgba(255, 255, 255, 0.12);
}

.social-hub__header-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.social-hub__header-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff4f6b;
  color: #fff;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.7rem;
}

.social-hub__header-badge.has-alert {
  animation: social-hub-alert 1.4s ease-in-out infinite;
}

@keyframes social-hub-alert {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.social-hub__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-hub__search-row {
  display: flex;
}

.social-hub__search-row input[type='search'] {
  flex: 1;
  border-radius: 999px;
  padding: 10px 14px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.social-hub__friend-list,
.social-hub__request-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-hub__friend-row,
.social-hub__request-row,
.social-hub__invite-card {
  border-radius: 12px;
}

.social-hub__friend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
}

.social-hub__friend-row.is-pinned {
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.social-hub__friend-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.social-hub__avatar {
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.social-hub__avatar--image {
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.social-hub__avatar--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.social-hub__friend-nameplate {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-hub__friend-name {
  font-size: 1rem;
}

.social-hub__friend-handle {
  opacity: 0.6;
  font-size: 0.85rem;
}

.social-hub__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
}

.social-hub__status--online {
  background: rgba(66, 203, 116, 0.2);
  color: #8ff5b7;
}

.social-hub__status--away {
  background: rgba(255, 200, 80, 0.18);
  color: #ffd27a;
}

.social-hub__status--busy {
  background: rgba(255, 120, 120, 0.2);
  color: #ff9da1;
}

.social-hub__status--offline {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

.social-hub__friend-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-hub__pin-button {
  border: none;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.2s ease;
}

.social-hub__pin-button.is-active {
  transform: scale(1.05);
}

.social-hub__join-note {
  opacity: 0.7;
  font-size: 0.8rem;
}

.social-hub__request-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
}

.social-hub__request-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-hub__request-actions {
  display: flex;
  gap: 8px;
}

.social-hub__add-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.social-hub__add-row {
  display: flex;
  gap: 8px;
}

.social-hub__add-row input[type='text'] {
  flex: 1;
  border-radius: 999px;
  padding: 10px 14px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.social-hub__inline-status {
  font-size: 0.85rem;
}

.social-hub__empty {
  padding: 24px;
  text-align: center;
  opacity: 0.7;
}

.social-hub__friend-actions button,
.social-hub__request-actions button,
.social-hub__invite-actions button {
  border-radius: 999px;
  padding: 8px 14px;
}

.social-hub__request-actions .primary,
.social-hub__friend-actions .primary,
.social-hub__invite-actions .primary {
  background: #ff4f6b;
  border: none;
  color: white;
}

.social-hub__request-actions .secondary,
.social-hub__friend-actions .ghost-button,
.social-hub__invite-actions .secondary {
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  border: none;
}

.social-hub__request-actions .secondary:hover,
.social-hub__friend-actions .ghost-button:hover,
.social-hub__invite-actions .secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

