@font-face {
  font-family: 'Manrope';
  src: url('/assets/Manrope-Medium-CMtPFC_w.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Manrope';
  src: url('/assets/Manrope-SemiBold-D4ESxy1b.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Manrope';
  src: url('/assets/Manrope-ExtraBold-DKdijuG5.woff2') format('woff2');
  font-weight: 700 800;
  font-style: normal;
}

@font-face {
  font-family: 'DM Mono';
  src: url('/assets/DMMono400-UVoOo2gM.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'DM Mono';
  src: url('/assets/DMMono500-D2daGVJS.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  color: #2f344c;
  padding: 16px;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

.formWrp {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid #e8ebee;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 0.175rem 0.1875rem rgba(0, 0, 0, 0.08);
}

.login {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.formLogo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 5px 6px;
  margin-bottom: 4px;
}

.formLogo svg {
  font-size: 48px;
  width: 48px;
  height: 48px;
  color: #435889;
  fill: #435889;
  flex-shrink: 0;
}

.formLogo h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #435889;
  margin: 0;
}

.formTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  margin-bottom: 4px;
}

.formTitle h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2f344c;
  margin: 0;
}

.formTitle a {
  font-size: 15px;
  font-weight: 600;
  color: #576fa8;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.formTitle a:hover {
  text-decoration: underline;
  color: #435889;
}

#formMessage {
  display: none;
}

.formInput {
  position: relative;
}

.formInput label {
  position: absolute;
  top: 6px;
  left: 14px;
  font-size: 12px;
  font-weight: 500;
  color: #747781;
  pointer-events: none;
  z-index: 1;
}

.formInput .field {
  width: 100%;
  padding: 24px 14px 6px 14px;
  background: #ffffff;
  border: 1px solid #e7ebef;
  border-radius: 12px;
  color: #2f344c;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: 'DM Mono', monospace;
}

.formInput .field:hover {
  border-color: #e7ebef;
  box-shadow: 0 0.175rem 0.1875rem rgba(0, 0, 0, 0.08);
}

.formInput .field:focus {
  border-color: #576fa8;
  border-width: 2px;
  padding: 23px 13px 5px 13px;
  box-shadow: none;
}

.formInput .field__pass {
  padding-right: 44px;
}

.formInput .field__pass:focus {
  padding-right: 43px;
}

.formInput__btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  cursor: pointer;
  color: #6c779d;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  background: transparent;
  border: none;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s;
}

.formInput__btn:hover {
  color: #2f344c;
}

.formInput__btn svg {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.formSubmit {
  margin-top: 4px;
}

.btn {
  width: 100%;
  padding: 10px 20px;
  background: #576fa8;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: 'Manrope', -apple-system, sans-serif;
  letter-spacing: 0.2px;
}

.btn:hover {
  background: #435889;
}

.btn:active {
  background: #394b75;
}

.formLink {
  text-align: center;
  margin-top: -8px;
}

.formLink a {
  font-size: 14px;
  font-weight: 600;
  color: #6c779d;
  text-decoration: none;
  transition: color 0.15s;
}

.formLink a:hover {
  color: #576fa8;
  text-decoration: underline;
}
