@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', serif;
  background: #f1f1f3;
  color: #131a39;
}

img {
  max-width: 100%;
}

* {
  box-sizing: border-box;
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.container {
  max-width: 480px;
  width: 100%;
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: 0px 16px 24px 0px rgba(0, 0, 0, 0.08);
  background: white;
}

header {
  margin-bottom: 32px;
  text-align: center;
}

label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

input {
  padding: 8px 16px;
  width: 100%;
  height: 56px;
  font-size: 16px;
  border-radius: 8px;
  color: #131a39;
  border: 1px solid transparent;
  background: #f1f1f3;
  transition: all 300ms linear;
  outline: none;
}

input:hover {
  background-color: #d4d4ec;
}

input:focus {
  border-color: #5f5fc4;
}

button {
  margin-top: 24px;
  padding: 8px 20px;
  width: 100%;
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  color: white;
  background: #5f5fc4;
  transition: all 300ms linear;
  appearance: none;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #4141ab;
}

p#error {
  margin-top: 8px;
  font-size: 12px;
  color: #eb404e;
}

form.error input {
  border-color: #eb404e;
}

.validation-container {
  margin-top: 8px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #c9cace;
}

.validation-container ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding-left: 24px;
}

.validation-container ul li {
  position: relative;
}

.validation-container ul li::before {
  content: '•';
  position: absolute;
  font-size: 12px;
  line-height: normal;
  top: 0;
  left: -16px;
}

.validation-text {
  font-size: 14px;
  line-height: normal;
  color: #2f3138;
  transition: color 0.3s ease;
}

.validation-text.text-valid-color {
  color: #42ba94;
}
