/* Basic styling for the team Registration Form page. */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #ecfeff 0%, #f8fafc 100%);
    color: #1f2937;
}

.signed-in-row,
.invite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.signed-in-row span {
  display: block;
  color: #64748b;
}

.signed-in-row form,
.invite-row form {
  margin: 0;
}

.member-list {
  line-height: 1.8;
  padding-left: 1.25rem;
}

.success-message {
  color: #166534;
}

.error-message {
  color: #b91c1c;
}

.registration-notice {
  display: grid;
  gap: 6px;
  margin: 16px 0 24px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ecfeff;
  color: #155e75;
}

.registration-closed {
  background: #fef2f2;
  color: #991b1b;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.form-card {
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border: 1px solid #cfe8ea;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    padding: 28px;
}

.form-card h1 {
    margin: 0 0 8px;
    font-size: 2rem;
}

.form-subtitle {
    margin: 0 0 24px;
    color: #64748b;
}

.app-form {
    display: grid;
    gap: 14px;
}

label {
    font-weight: 600;
    font-size: 0.95rem;
}

input,
select,
button {
    font: inherit;
}

input,
select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
}

.inline-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

button {
    margin-top: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    background: #0f766e;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: #115e59;
}

.secondary-button {
    margin-top: 0;
    white-space: nowrap;
    background: #334155;
}

.secondary-button:hover {
    background: #1e293b;
}

.status-message {
    margin: 0;
    min-height: 20px;
    font-size: 0.95rem;
}
