
body {
    background-color: #f2f2f2;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;

}

.container {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    width: 400px;

}

h1{
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.form-control {
    margin-bottom: 15px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border: 2px solid#ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

small {
    color: red;
    font-size: 13px;
  position: absolute;
bottom: -18px;
left: 0;
visibility: hidden;
}

.form-control.error input{
border-color: red;
}
.form-control.error small{
visibility: visible;
}
.form-control.success input{
border-color: green;
}

button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: none;
    background-color: #4caf50;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

