:root {
  --red: #e61923;
  --red-dark: #c90f18;
  --green: #087f31;
  --gold: #d39a20;
  --ink: #171717;
  --muted: #737373;
  --line: #d8d8d8;
  --surface: #ffffff;
  --shadow: 0 30px 70px rgba(22, 17, 10, 0.28);

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: #d8c4aa;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-background {
  position: relative;
  min-height: 100vh;
  padding: 46px 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.page-background::before {
  content: "";
  position: absolute;
  inset: -35px;
  z-index: -2;

  background:
    linear-gradient(
      rgba(35, 23, 12, 0.16),
      rgba(35, 23, 12, 0.16)
    ),
    url("/assets/images/hotel-reception.jpg")
      center / cover no-repeat;

  filter: blur(8px);
  transform: scale(1.06);
}

.page-background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.05),
      rgba(44, 28, 15, 0.2)
    );
}

.registration-shell {
  width: min(1210px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(760px, auto) 125px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.hotel-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 42px 58px 42px;
  color: #18140b;

  background:
    url("/assets/images/hotel-reception.jpg")
      center / cover no-repeat;
}

.hotel-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    linear-gradient(
      100deg,
      rgba(255, 190, 23, 0.95) 0%,
      rgba(255, 188, 27, 0.73) 42%,
      rgba(255, 181, 31, 0.17) 76%,
      rgba(255, 255, 255, 0) 100%
    );
}

.hotel-brand,
.hotel-message,
.hotel-services {
  position: relative;
  z-index: 1;
}

.hotel-brand {
  text-align: center;
}

.crown-logo {
  width: 68px;
  height: 48px;
  margin: 0 auto 5px;
  color: #66470e;
}

.hotel-brand h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 5px;
  color: #51370c;
}

.hotel-brand p {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #51370c;
}

.hotel-message {
  max-width: 430px;
  margin-top: 52px;
}

.hotel-message h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(37px, 3.2vw, 48px);
  line-height: 1.18;
  letter-spacing: -1.5px;
}

.message-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 27px 0 26px;
}

.message-divider span {
  width: 55px;
  height: 2px;
  background: rgba(69, 48, 13, 0.55);
}

.message-divider i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(69, 48, 13, 0.55);
}

.hotel-message p {
  max-width: 390px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.hotel-services {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 66px;

  min-height: 160px;
  padding: 28px 22px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 15px 40px rgba(42, 31, 13, 0.2);
  backdrop-filter: blur(10px);
}

.service-summary {
  min-width: 0;
  padding: 0 12px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 13px;
  text-align: center;
  border-right: 1px solid #dddddd;
}

.service-summary:last-child {
  border-right: 0;
}

.summary-icon {
  color: var(--green);
}

.summary-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 2.2;
}

.service-summary strong {
  font-size: 14px;
  line-height: 1.45;
}

.registration-panel {
  min-width: 0;
  padding: 42px 62px;
  display: grid;
  align-items: center;
  background: #ffffff;
}

.registration-content {
  width: min(470px, 100%);
  margin-inline: auto;
}

.form-heading {
  text-align: center;
  margin-bottom: 27px;
}

.account-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border: 1.7px solid var(--red);
  border-radius: 50%;
  color: var(--red);
}

.account-icon svg {
  width: 29px;
  height: 29px;
}

.form-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 3vw, 43px);
  line-height: 1.1;
}

.form-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.registration-form {
  display: grid;
  gap: 15px;
}

.input-field {
  position: relative;
  min-height: 59px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.input-field:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230, 25, 35, 0.09);
}

.field-icon {
  width: 60px;
  height: 58px;
  flex: 0 0 60px;
  display: grid;
  place-items: center;
  color: #666666;
}

.field-icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.9;
}

.input-field input,
.input-field select {
  width: 100%;
  min-width: 0;
  height: 57px;
  padding: 0 18px 0 3px;
  border: 0;
  outline: 0;
  color: #262626;
  background: transparent;
}

.input-field input::placeholder {
  color: #777777;
  opacity: 1;
}

.input-field select {
  appearance: none;
  color: #777777;
}

.input-field select:valid {
  color: #262626;
}

.select-arrow {
  position: absolute;
  right: 16px;
  pointer-events: none;
  color: #676767;
}

.select-arrow svg {
  width: 21px;
  height: 21px;
}

.password-field input {
  padding-right: 55px;
}

.password-toggle {
  position: absolute;
  right: 11px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #6b6b6b;
  background: transparent;
}

.password-toggle:hover {
  color: var(--red);
  background: rgba(230, 25, 35, 0.07);
}

.password-toggle svg {
  width: 22px;
  height: 22px;
}

.form-status {
  min-height: 18px;
  margin: -3px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.form-status.error {
  color: var(--red-dark);
}

.form-status.success {
  color: var(--green);
}

.register-button {
  min-height: 59px;
  margin-top: 1px;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 7px;
  color: white;
  background:
    linear-gradient(
      90deg,
      #e91b24,
      #e51620
    );
  box-shadow: 0 10px 25px rgba(230, 25, 35, 0.2);
  font-size: 16px;
  font-weight: 750;
  transition:
    transform 150ms ease,
    background 150ms ease;
}

.register-button:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(
      90deg,
      #ce111a,
      #e51620
    );
}

.register-button:active {
  transform: translateY(0);
}

.register-button svg {
  width: 27px;
  height: 27px;
}

.signin-text {
  margin: 4px 0 0;
  text-align: center;
  color: #737373;
  font-size: 14px;
}

.signin-text a {
  margin-left: 5px;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

.signin-text a:hover {
  text-decoration: underline;
}

.security-footer {
  grid-column: 1 / -1;
  padding: 25px 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  border-top: 1px solid #dadada;
  background: white;
}

.security-item {
  min-width: 0;
  padding: 0 38px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 13px;
  border-right: 1px solid #e0e0e0;
}

.security-item:first-child {
  padding-left: 0;
}

.security-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.security-icon {
  color: var(--green);
}

.security-icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 1.8;
}

.security-item strong,
.security-item small {
  display: block;
}

.security-item strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.security-item small {
  color: #777777;
  font-size: 12px;
}

@media (max-width: 1050px) {
  .registration-shell {
    grid-template-columns: 43% 57%;
  }

  .hotel-panel {
    padding-inline: 34px;
  }

  .hotel-message h2 {
    font-size: 36px;
  }

  .hotel-services {
    left: 20px;
    right: 20px;
    padding-inline: 10px;
  }

  .service-summary {
    padding-inline: 6px;
  }

  .registration-panel {
    padding-inline: 40px;
  }

  .security-footer {
    padding-inline: 38px;
  }

  .security-item {
    padding-inline: 22px;
  }
}

@media (max-width: 820px) {
  .page-background {
    padding: 18px 12px;
  }

  .registration-shell {
    display: block;
    border-radius: 15px;
  }

  .hotel-panel {
    min-height: 510px;
    padding: 30px 24px;
  }

  .hotel-message {
    margin-top: 40px;
  }

  .hotel-message h2 {
    font-size: 38px;
  }

  .hotel-services {
    bottom: 26px;
    grid-template-columns: repeat(2, 1fr);
    padding: 18px;
  }

  .service-summary {
    padding: 12px 8px;
    border-right: 0;
  }

  .registration-panel {
    padding: 40px 22px;
  }

  .security-footer {
    padding: 25px 22px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .security-item,
  .security-item:first-child,
  .security-item:last-child {
    padding: 0;
    border-right: 0;
  }
}

@media (max-width: 480px) {
  .hotel-panel {
    min-height: 580px;
  }

  .hotel-brand h1 {
    font-size: 20px;
    letter-spacing: 3px;
  }

  .hotel-message h2 {
    font-size: 32px;
  }

  .hotel-message p {
    font-size: 14px;
  }

  .hotel-services {
    left: 14px;
    right: 14px;
  }

  .summary-icon svg {
    width: 34px;
    height: 34px;
  }

  .service-summary strong {
    font-size: 12px;
  }

  .form-heading h2 {
    font-size: 34px;
  }

  .registration-panel {
    padding-inline: 16px;
  }

  .input-field {
    min-height: 56px;
  }
}

/* BNX_SECURE_AUTH_REGISTRATION_V1 */
[hidden] {
  display: none !important;
}

.auth-dialog {
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(10, 15, 12, 0.62);
}

.auth-dialog-card {
  width: min(430px, 100%);
  padding: 32px;
  text-align: center;
  border-radius: 17px;
  background: white;
  box-shadow: 0 25px 70px rgba(0,0,0,.28);
}

.auth-dialog-card input {
  width: 100%;
  height: 54px;
  margin: 15px 0;
  padding: 0 15px;
  text-align: center;
  border: 1px solid #d5d8d6;
  border-radius: 9px;
  font-size: 22px;
  letter-spacing: 7px;
}

.auth-dialog-card button {
  width: 100%;
  min-height: 48px;
  margin-top: 9px;
  border-radius: 8px;
  font-weight: 700;
}

.auth-primary {
  border: 0;
  color: white;
  background: #079c3a;
}

.auth-secondary {
  border: 1px solid #d7d9d8;
  background: white;
}

.auth-link {
  border: 0;
  color: #e31c24;
  background: transparent;
}
