/* public/styles/dashboard.css */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  background-color: #0d0d0d;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Title */
.brand-name {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff69b4;
  margin-bottom: 2rem;
}

/* Grid Layout */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 100%;
  gap: 1rem;
}

/* Status Cards */
.status-card {
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.2s ease;
}

.status-card:hover {
  background-color: #2a2a2a;
}

/* Header */
.status-header {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
  color: #fff;
}

/* Details */
.status-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.label {
  color: #888;
  margin-right: 0.5rem;
  display: inline-block;
  width: 70px;
}

/* Status Indicator */
.status-indicator {
  display: inline-block;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: gray;
  margin-left: 0.3rem;
  vertical-align: middle;
}

.status-indicator.ready {
  background-color: #28a745;
}

.status-indicator.down {
  background-color: #dc3545;
}

.status-indicator.warning {
  background-color: #ffc107;
}

.shard-id {
  display: inline-block;
  margin-right: 2px;
  padding: 1px 4px;
  border-radius: 3px;
  background: #333;
  color: #fff;
  font-weight: bold;
  font-size: 0.85em;
}
/* Shard status colors */
.shard-status-ready {
  background: #28a745;
  color: #fff;
}
.shard-status-connecting {
  background: #0078d7;
  color: #fff;
}
.shard-status-reconnecting {
  background: #ffc107;
  color: #222;
}
.shard-status-idle {
  background: #6c757d;
  color: #fff;
}
.shard-status-nearly {
  background: #fd7e14;
  color: #fff;
}
.shard-status-disconnected {
  background: #dc3545;
  color: #fff;
}


#guildSearch {
  padding: 8px 12px;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 1rem;
  width: 220px;
  transition: border-color 0.2s;
  margin-right: 8px;
}

#guildSearch:focus {
  border-color: #0078d7;
  outline: none;
}

button[onclick="searchGuild()"] {
  padding: 8px 16px;
  background: #ff69b4;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

button[onclick="searchGuild()"]:hover {
  background: #ff69b4;
}

#searchResult {
  font-size: 1rem;
  vertical-align: middle;
}

.search-bar-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}