@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Prompt&display=swap');

* {
  font-family: "Prompt", sans-serif;
  box-sizing: border-box;
  color: #1a1f36;
  word-wrap: break-word;
  padding: 0;
  margin: 0;
}
/*"Kanit", sans-serif*/

body {
  background-color: white;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  background-color: wheat;
  border-radius: 5px;
  width: 400px;
}
/*
.form {
  padding: 30px 50px;
  background-color: #fafafa;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
*/
.form {
    padding: 25px 50px;
    background-color: #fafafa;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

.form-control {
  position: relative;
  margin-bottom: 5px;
  padding-bottom: 15px;
}

.form-button {
  margin-top: 10px;
  position: relative;

}

.form-control label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.form-control input {
  border-radius: 5px;
  display: block;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 3px solid #ccc;
}

.form button {
  cursor: pointer;
  border-radius: 5px;
  border: 2px solid #605f5f;
  padding: 8px 30px;
  background-color: white;
  width: 100%;
  font-weight: bold;
}

.form button:hover {
    background-color: #888686; /* Green */
    color: white;
  }

.form-control.error input {
    border-color: red;
  }
  
  .form-control.success input {
    border-color: green;
  }
  
  .form-control small {
    color: red;
    position:absolute;
    bottom: 10;
    left: 0;
    visibility: hidden;
  }
  
  .form-control.error small {
    visibility: visible;
  }
  
  .error-message {
    position: absolute; /* Position relative to .dropdown-container */
    top: 80%; /* Place the error directly below the dropdown */
    left: 0;
    color: red;
    margin-top: 1px; /* Add space below the dropdown */
    font-size: 13.7px;
}

.hidden {
    display: none !important;
}