/* stub.css — тимчасові стилі до нової верстки (розд. 13.1: лише темна тема) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #e8e6ff;
  background: #010213;
}

a {
  color: #f5b12a;
}

.stub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 1rem;
  background: #080a1c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stub-nav a {
  color: #e8e6ff;
  text-decoration: none;
}

.stub-nav a:hover {
  color: #f5b12a;
  text-decoration: underline;
}

.stub-nav__brand {
  font-weight: 700;
  margin-right: auto;
  color: #ffffff;
}

.stub-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.stub-page {
  background: #0d1a2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.5rem;
  color: #e8e6ff;
}

.stub-page h1,
.stub-page h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: #ffffff;
}

.stub-page p {
  margin: 0 0 1rem;
  color: #b3adae;
}

.stub-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #010213;
  background: #e8b429;
  border-radius: 4px;
}

.stub-footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #b3adae;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stub-footer a {
  color: #f5b12a;
}

.stub-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
}

.stub-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #e8e6ff;
}

.stub-form input,
.stub-form select,
.stub-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font: inherit;
  color: #e8e6ff;
  background: #080a1c;
}

.stub-form input::placeholder,
.stub-form textarea::placeholder {
  color: #6b6674;
}

.stub-form button,
.stub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid #2623d8;
  border-radius: 6px;
  background: #2623d8;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.stub-form button:hover,
.stub-btn:hover {
  background: #2f11dd;
}

.stub-btn--ghost {
  background: transparent;
  color: #e8e6ff;
  border-color: rgba(255, 255, 255, 0.24);
}

.stub-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.stub-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #e8e6ff;
}

.stub-list li {
  margin-bottom: 0.35rem;
}

.stub-errors {
  margin: 0;
  padding: 0.75rem;
  list-style: none;
  color: #ff9d9d;
  background: rgba(176, 0, 32, 0.16);
  border: 1px solid rgba(176, 0, 32, 0.4);
  border-radius: 6px;
}

.stub-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  color: #e8e6ff;
}

.stub-table th,
.stub-table td {
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

@media (max-width: 767px) {
  .stub-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .stub-main {
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
  }
}
