.team-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
}
.team-panel h3 { margin: 0 0 14px; font-size: 16px; }
.team-add-form { display: flex; gap: 10px; flex-wrap: wrap; }
.team-add-form input,
.team-add-form select {
  flex: 1 1 180px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13.5px;
  font-family: inherit;
}
.team-add-form .action-btn { flex: 0 0 auto; }
.team-form-error { color: #b3261e; font-size: 13px; margin: 10px 0 0; }

.temp-password-banner {
  position: relative;
  background: #fff8e1;
  border: 1px solid #e8c766;
  border-radius: 12px;
  padding: 16px 40px 16px 16px;
  margin-bottom: 18px;
}
.temp-password-banner p { margin: 0 0 6px; font-size: 14px; }
.temp-password-banner #tempPasswordText { font-weight: 700; font-size: 15px; }
.temp-password-note { color: var(--ink-soft); font-size: 12.5px !important; font-weight: 400 !important; }
.temp-password-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
}

.role-select-cell select {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
}
.team-status-pending { color: #b3261e; font-weight: 600; }
.team-status-active { color: #2e7d32; font-weight: 600; }
.team-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.team-row-actions button {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  font-size: 12.5px;
  cursor: pointer;
  font-family: inherit;
}
.team-row-actions button:hover { background: var(--maroon-deep); color: white; }

.topup-btn {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  font-size: 12.5px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.topup-btn:hover { background: var(--maroon-deep); color: white; }
.team-row-actions .danger:hover { background: #b3261e; border-color: #b3261e; }

.req-status-new { color: #966B00; }
.req-status-quoted { color: #7A1220; }
.req-status-confirmed { color: #2e7d32; }
.req-status-declined { color: #b3261e; }

@media (max-width: 640px) {
  .team-add-form { flex-direction: column; }
  .team-add-form input, .team-add-form select, .team-add-form .action-btn { flex: 1 1 auto; width: 100%; }
}
