* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: #3d3d3d;
  font-family: Arial, Helvetica, system-ui, sans-serif;
}

.page {
  max-width: 1028px;
  margin: 0 auto;
  padding: 52px 24px 30px;
}

/* logo */
.logo {
  text-align: center;
  margin-bottom: 46px;
}

.logo img {
  height: 50px;
  width: auto;
  display: inline-block;
}

/* form */
.form { width: 340px; margin: 0 auto; }

.form label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #3d3d3d;
}

.field { position: relative; margin-bottom: 34px; }

.field svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: #9a9a9a;
  pointer-events: none;
}

.field input {
  width: 100%;
  height: 43px;
  padding: 0 12px 0 40px;
  font-size: 15px;
  font-family: inherit;
  color: #444;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  outline: none;
}

.field input::placeholder { color: #909090; }
.field input:focus { border-color: #1a87d3; }

button {
  width: 100%;
  height: 39px;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: #1a87d3;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover { background: #1678bd; }
button:disabled { opacity: .65; cursor: wait; }



/* status message */
#message {
  width: 340px;
  margin: 16px auto 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.ok  { color: #1a7f37; }
.err { color: #c0392b; }

/* language row */
.langs {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 62px;
  padding: 0 16px;
  font-size: 13.5px;
}

.langs a { color: #3d3d3d; text-decoration: none; white-space: nowrap; }
.langs a:hover { text-decoration: underline; }

/* footer */
.footer { margin-top: 54px; text-align: center; }

.cp-mark {
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1px;
  color: #f05a28;
}

.footer p { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: #555; }
.footer a { color: #555; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 700px) {
  .logo span { font-size: 44px; }
  .langs { flex-wrap: wrap; justify-content: center; gap: 12px 16px; }
}

/* ---------- toast pop-up ---------- */
.toast {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translate(-50%, -14px);
  background: #d32f2f;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 9999;
  pointer-events: none;
  max-width: 88vw;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}