body {
  font-family: sans-serif;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.747);
  overflow: hidden;
  width: 90%;
  max-width: 400px;
}

.form-section {
  padding: 30px;
  text-align: center;
}

h2 {
  color: #333;
  margin-bottom: 20px;
}

.form-floating {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}

button {
  background-color: #5cb85c;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  margin-top: 10px;
}

button:hover {
  background-color: #4cae4c;
}

.switch-form {
  margin-top: 20px;
  color: #777;
  font-size: 14px;
}

.switch-form a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.switch-form a:hover {
  text-decoration: underline;
}

#register-form {
  display: none;
}

/* Estilos para pantallas más pequeñas */
@media (max-width: 600px) {
  .container {
    margin: 20px;
    width: 95%;
  }

  .form-section {
    padding: 20px;
  }

  h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  label {
    font-size: 14px;
  }

  input[type="text"],
  input[type="password"],
  input[type="email"] {
    font-size: 14px;
    padding: 8px;
  }

  button {
    font-size: 14px;
    padding: 10px 15px;
  }

  .switch-form {
    font-size: 12px;
    margin-top: 15px;
  }
}
