/* Gaming Platform Monitor Styles */

.gp-container {
  padding: 20px;
  max-width: 1400px;
}

.gp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e9ecef;
}

.gp-header h2 {
  margin: 0;
  color: #333;
  font-size: 1.5rem;
}

.gp-header h2 i { margin-right: 10px; color: #6f42c1; }

.gp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.gp-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-top: 4px solid transparent;
}
.gp-card--primary { border-top-color: #6f42c1; }
.gp-card--success { border-top-color: #28a745; }
.gp-card--info    { border-top-color: #17a2b8; }

.gp-card__icon { font-size: 2rem; margin-bottom: 12px; opacity: .7; }
.gp-card--primary .gp-card__icon { color: #6f42c1; }
.gp-card--success .gp-card__icon { color: #28a745; }
.gp-card--info    .gp-card__icon { color: #17a2b8; }

.gp-card__value { font-size: 2.5rem; font-weight: 700; color: #333; }
.gp-card__label { color: #6c757d; font-size: .9rem; margin-top: 4px; }

.gp-updated { color: #aaa; font-size: .8rem; text-align: right; margin-top: -10px; margin-bottom: 20px; }

.gp-unavailable {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 20px;
  color: #856404;
}
.gp-unavailable i { margin-right: 8px; }

.gp-loading {
  padding: 40px;
  text-align: center;
  color: #6c757d;
}
.gp-loading i { margin-right: 8px; }

.gp-empty {
  padding: 40px;
  text-align: center;
  color: #adb5bd;
}
.gp-empty i { font-size: 2rem; display: block; margin-bottom: 10px; }

.gp-rooms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.gp-rooms-header h3 { margin: 0; font-size: 1.1rem; color: #333; }

.gp-table-wrap { overflow-x: auto; }

.gp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.gp-table th {
  background: #f8f9fa;
  padding: 12px 16px;
  text-align: left;
  font-size: .85rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 2px solid #e9ecef;
}
.gp-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: .9rem;
  color: #333;
}
.gp-table tr:last-child td { border-bottom: none; }
.gp-table tr:hover td { background: #f8f9fa; }

.gp-player {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: .8rem;
  margin: 2px;
}
.gp-player--man   { background: #cce5ff; color: #004085; }
.gp-player--woman { background: #f8d7da; color: #721c24; }

.gp-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.control-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.control-card h3 { margin: 0 0 16px; font-size: 1rem; color: #333; }
.control-card h3 i { margin-right: 8px; color: #6c757d; }

.control-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn-refresh {
  background: #6f42c1; color: #fff; border: none;
  padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: .9rem;
}
.btn-refresh:hover { background: #5a32a3; }

.btn-refresh-small {
  background: #f8f9fa; color: #6c757d; border: 1px solid #dee2e6;
  padding: 4px 10px; border-radius: 4px; cursor: pointer;
}
.btn-refresh-small:hover { background: #e9ecef; }

.btn-primary   { background: #6f42c1; color: #fff; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; }
.btn-secondary { background: #6c757d; color: #fff; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; }
.btn-primary:hover   { background: #5a32a3; }
.btn-secondary:hover { background: #545b62; }

.info-text p { margin: 4px 0; font-size: .85rem; color: #6c757d; }

@media (max-width: 768px) {
  .gp-container { padding: 10px; }
  .gp-header { flex-direction: column; gap: 12px; }
  .gp-cards { grid-template-columns: 1fr 1fr; }
}
