@font-face {
  font-family: "Inter";
  src:
    url("/assets/fonts/inter/Inter-Variable.ttf") format("truetype-variations"),
    url("/assets/fonts/inter/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Inter";
  src:
    url("/assets/fonts/inter/Inter-Variable-Italic.ttf")
      format("truetype-variations"),
    url("/assets/fonts/inter/Inter-Variable-Italic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: block;
}

:root {
  --brand: #bc3134;
  --brand-dark: #982629;
  --brand-soft: #f7e8e9;
  --white: #ffffff;
  --page: #f7f7f7;
  --text: #222222;
  --muted: #777777;
  --line: #e4e4e4;
  --danger: #bc3134;
  --radius: 10px;
}

* {
  box-sizing: border-box;
  cursor: default;
  text-decoration: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

html {
  min-height: 100%;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  background: var(--page);
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  font-optical-sizing: auto;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  cursor: pointer;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.btn {
  min-height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--white);
  padding: 9px 16px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.04em;
}

button:hover,
.btn:hover {
  background: var(--brand-dark);
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 11px;
  background: var(--white);
  color: var(--text);
  outline: none;
  font-weight: 400;
  cursor: text;
}

input[type="tel"] {
  letter-spacing: 0.2px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
}

input.is-invalid {
  border-color: var(--danger);
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

code {
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 2px 6px;
  border-radius: 6px;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

.auth-logo {
  position: fixed;
  z-index: 2;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
}

.auth-logo img {
  display: block;
  width: 164px;
  max-width: 42vw;
  height: auto;
}

@media (max-width: 620px) {
  .auth-logo {
    top: 18px;
    left: 16px;
  }

  .auth-logo img {
    width: 145px;
  }
}

.image-protect {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.image-protect img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.image-protect::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
}
