/* Общий вид страниц сайта, кроме самого приглашения. */
* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  min-height: 100vh;
  margin: 0;
  padding: 24px 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(#2c0924, #6d1745) fixed;
  color: #fff1f0;
  font: 1rem/1.5 "Segoe UI", system-ui, sans-serif;
}

main {
  width: 100%;
  max-width: 440px;
  padding: 24px 20px;
  border: 1px solid rgb(255 201 210 / 28%);
  border-radius: 24px;
  background: rgb(58 12 44 / 84%);
  overflow-wrap: anywhere;
}

h1, h2 { margin: 0 0 12px; font: 400 1.9rem/1.2 Georgia, "Noto Serif", serif; }
h1:focus, h2:focus { outline: none; }
h2 { font-size: 1.4rem; }
label { display: block; margin-bottom: 6px; font-weight: 600; }

input, button {
  width: 100%;
  min-height: 48px;
  margin-bottom: 12px;
  padding: 10px 14px;
  border: 1px solid #d98bab;
  border-radius: 14px;
  font: inherit;
}

input { background: #fff5f1; color: #4a0f30; }
button { border-color: transparent; background: #ffe3d8; color: #6a1238; font-weight: 600; cursor: pointer; }
.link-button {
  min-height: 48px;
  margin-bottom: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #ffe3d8;
  color: #6a1238;
  font-weight: 600;
  text-decoration: none;
}
button.secondary { border-color: #d98bab; background: #641541; color: #fff1f0; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
#status { min-height: 1.5em; margin-bottom: 0; }
