/* ================================================================
   🌊 COMPONENTS - OCEAN BLUE EDITION
   ================================================================ */

/* --- LOADING SHIMMER --- */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.loading-shimmer {
  width: 100%;
  height: 60px;
  background: linear-gradient(
    90deg,
    var(--bg-card) 25%,
    var(--border-light) 50%,
    var(--bg-card) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* --- TOAST CONTAINER --- */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* --- NOTIFICAÇÕES --- */
.lyto-notification {
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--ocean);
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 8px 24px var(--card-shadow);
  animation: slide-in-right 0.3s ease forwards;
}

.lyto-notification.fade-out {
  animation: fade-out 0.3s ease forwards;
}

/* --- SEARCH PREVIEW --- */
.search-preview-card {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1rem 0;
}

.preview-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.preview-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  border: 2px solid var(--ocean);
  object-fit: cover;
}

.preview-details {
  text-align: center;
}

.preview-details strong {
  display: block;
  color: var(--text-primary);
  font-size: 1rem;
}

.preview-username {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.preview-id {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-family: var(--font-mono);
}

/* --- EMPTY LIST --- */
.empty-list {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- ERROR MESSAGE --- */
.error-msg {
  text-align: center;
  padding: 2rem;
  color: var(--btn-danger);
  font-size: 0.85rem;
}
