/* === eHockey Global Styles (Player + Team) === */

.ehsp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #e6e6e9;
}

.ehsp-card {
  background: #121418;
  border: 1px solid #1f2530;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, .35);
  padding: 1.25rem;
}

/* Header */
.ehsp-header {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.ehsp-avatar img {
  border-radius: 8px;
  background: #0e1116;
  border: 1px solid #222;
}

.ehsp-title h1 {
  margin: 0;
  font-size: 1.9rem;
  color: #fff;
}

.ehsp-title .ehsp-username {
  opacity: .8;
  font-size: .95rem;
  margin-top: .25rem;
}

/* Tabs */
.ehsp-tabs-nav {
  display: flex;
  gap: .5rem;
  margin: .75rem 0 1rem;
}

.ehsp-tab {
  background: #1a2231;
  color: #cfe6ff;
  border: 1px solid #2a3344;
  padding: .5rem .9rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.ehsp-tab:hover {
  background: #24324d;
}

.ehsp-tab.active {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

/* Tab panels */
.ehsp-tabpanel {
  display: none;
  background: #0e1116;
  border: 1px solid #202633;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.ehsp-tabpanel.active {
  display: block;
}

/* Tables */
.ehsp-table-wrap {
  overflow-x: auto;
}

.ehsp-table {
  width: 100%;
  border-collapse: collapse;
  background: #15171d;
  color: #e6e6e9;
}

.ehsp-table thead {
  background: #1b1f2b;
}

.ehsp-table th,
.ehsp-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #262b3b;
}

.ehsp-table th {
  text-align: left;
  color: #9cc2ff;
  font-weight: 600;
}

.ehsp-table tr:last-child td {
  border-bottom: none;
}

.ehsp-col-role { width: 180px; white-space: nowrap; }
.ehsp-col-gp { width: 90px; text-align: right; }

/* Buttons */
.button {
  background: #0d6efd;
  border: none;
  color: #fff;
  padding: .45rem .9rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s;
}

.button:hover {
  background: #0b5ed7;
}

/* Small tweaks for readability */
.ehsp-panel-inner p {
  margin: 0.5rem 0;
}
/* === Schedule Table Fix === */
.ehsp-table th,
.ehsp-table td {
  border-bottom: 1px solid #262b3b;
}
.ehsp-table td a { color: #9cc2ff; text-decoration: none; }
.ehsp-table td a:hover { text-decoration: underline; }
.ehsp-team-comparison p {
  font-size: 1.1em;
  margin: 6px 0;
  line-height: 1.4;
  color: #fff;
}
.stat-names p {
  font-weight: 600;
  color: #00bfff;
  margin: 6px 0;
}
