@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background: linear-gradient(120deg, #f56a00, #d64100);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

h1, h2 {
  text-align: center;
  color: #1d6b0e;
  margin-bottom: 20px;
}

.label-float {
  position: relative;
  margin-bottom: 20px;
}

.label-float input {
  width: 100%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border 0.3s;
}

.label-float input:focus {
  border-color: #1d6b0e;
}

.label-float label {
  position: absolute;
  top: -10px;
  left: 12px;
  background-color: #fff;
  padding: 0 5px;
  font-size: 13px;
  color: #1d6b0e;
}

.fa-eye {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #1d6b0e;
}

#msgError, #msgSuccess {
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
  color: red;
}

#msgSuccess {
  color: green;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #1d6b0e;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #145209;
}

p {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

p a {
  color: #f56a00;
  font-weight: bold;
  text-decoration: none;
}

p a:hover {
  text-decoration: underline;
}

.fade {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
