.admin-shell {
  max-width: 1280px;
}

.admin-panel {
  padding: 1.5rem;
}

.admin-title {
  max-width: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.login-form {
  display: grid;
  gap: 1rem;
  max-width: 420px;
  margin-top: 1.5rem;
}

.login-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 500;
}

.login-form input,
.schedule-table input {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: #ee7326;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-button-secondary {
  background: #111111;
}

.editor-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.editor-actions {
  display: flex;
  gap: 0.75rem;
}

.status-text {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: #2f6b2f;
}

.status-text.is-error {
  color: #b42318;
}

.table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.schedule-table th,
.schedule-table td {
  padding: 0.6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.schedule-table th {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
}

.schedule-table td:first-child,
.schedule-table th:first-child {
  width: 90px;
}

.is-hidden {
  display: none;
}

@media (max-width: 860px) {
  .editor-header {
    flex-direction: column;
  }

  .editor-actions,
  .header-actions {
    width: 100%;
  }

  .admin-link,
  .admin-button {
    width: 100%;
  }
}
