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

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
}

.container {
  margin: 0 auto;
  padding: 0 1em;
}

.form-box {
  background: #fff;
  position: relative;
  padding: 2.5em;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e6e9ed;
  max-width: 500px;
  width: 100%;
}

.form-group {
  margin-bottom: 1.5em;
}

.form-input {
  padding: 12px 15px;
  width: 100%;
  border: 1px solid #dce4e9;
  border-radius: 5px;
  font-size: 1em;
  color: #333;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: #e50914;
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15);
}

.button {
  border: none;
  border-radius: 5px;
  padding: 12px;
  background: #e50914;
  color: #fff;
  width: 100%;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.2s;
}

.button:hover {
  background: #c40711;
  transform: translateY(-2px);
}

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

.error-text {
  color: #e50914;
  font-size: 0.85em;
  display: none;
  text-align: left;
  margin-top: 5px;
}

.input-error {
  border-color: #e50914 !important;
  background-color: #fff5f5;
}

@media screen and (min-width: 769px) {
  .container {
    max-width: 840px;
  }
}
