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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #f0f2f5;
  overflow: hidden;
}

::selection {
  background: rgba(26, 188, 156, 0.3);
}

.wrapper {
  max-width: 400px;
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2);
  padding: 30px;
  margin: 0 20px;
}

.wrapper .title {
  text-align: center;
  margin-bottom: 30px;
}

.wrapper .title span {
  display: inline-block;
  font-size: 32px;
  font-weight: 700;
  color: #1AB189;
}

.wrapper form {
  display: flex;
  flex-direction: column;
}

.wrapper form .row {
  position: relative;
  margin-top: 20px;
}

.wrapper form .row input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 16px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.wrapper form .row input:focus {
  border-color: #1AB189;
  box-shadow: 0 0 8px rgba(26, 177, 137, 0.4);
  outline: none;
}

.wrapper form .pass {
  margin-top: 15px;
  text-align: center;
}

.wrapper form .pass a {
  color: #1AB189;
  font-size: 16px;
  text-decoration: none;
}

.wrapper form .pass a:hover {
  text-decoration: underline;
}

.wrapper form .button input {
  margin-top: 20px;
  height: 50px;
  background: #1AB189;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wrapper form .button input:hover {
  background: #17a589;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.error-messages {
  margin-top: 15px;
  background: #fdd;
  border: 1px solid red;
  border-radius: 12px;
  padding: 10px;
  color: red;
  font-size: 14px;
}

.error-messages ul {
  list-style: none;
  padding: 0;
}

.error-messages li {
  margin-bottom: 5px;
}
.field {
    position: relative;
    height: 50px;
    width: 100%;
    margin-top: 0px;
}
.field input {
    height: 100%;
    width: 100%;
    padding: 0 15px; /* Add some padding for aesthetics */
    border: 1px solid #CACACA;
    border-radius: 6px;
    outline: none;
}
.eye-icon {
    position: absolute;
    top: 50%;
    right: 15px; /* Adjust for better positioning */
    transform: translateY(-50%);
    font-size: 18px;
    color: #8b8b8b;
    cursor: pointer;
}
