* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #0d0d0d;
  color: #fff;
}

/* CONTENEDOR GENERAL */
section {
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 40px;
  text-align: center;
}

/* FORMULARIO */
.login-form {
  background: #1a1a1a;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeIn 1s ease;
}

/* LOGO */
.foto-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
}

.foto-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #3da35d;
  object-fit: cover;
  transition: 0.3s;
}

.foto-container img:hover {
  transform: scale(1.05);
}

/* CAMPOS DE TEXTO */
.login-form input {
  width: 90%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: #2a2a2a;
  color: #fff;
  font-size: 1rem;
}

.login-form label {
  align-self: flex-start;
  margin-left: 5%;
  color: #ccc;
  font-size: 0.9rem;
}

/* OPCIONES DE LOGIN */
.login-options {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #ccc;
}

.login-options label {
  display: flex;
  align-items: center;
  gap: 6px;
}


.login-form input, 
.login-form select {
    width:90%;
    padding:12px;
    border-radius:8px;
    border:none;
    outline:none;
    background:#2a2a2a;
    color:#fff;
    font-size:1rem;
}


.link {
  color: #3da35d;
  text-decoration: none;
  transition: 0.3s;
}

.link:hover {
  color: #2b7c44;
  text-decoration: underline;
}

/* BOTÓN */
.btn {
  width: 60%;
  padding: 14px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  background: #3da35d;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #2b7c44;
  transform: scale(1.03);
}

/* MENSAJE DE RESPUESTA */
.mensaje {
  margin-top: 15px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  min-height: 20px;
  transition: 0.3s;
}

/* TEXTO REGISTRO */
.registrate {
  font-size: 0.95rem;
  color: #ccc;
  text-align: center;
}

.registrate .link {
  color: #3da35d;
  font-weight: bold;
}

/* ANIMACIÓN */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .login-form {
    width: 95%;
    padding: 30px 20px;
  }

  .btn {
    width: 80%;
  }

  h2 {
    font-size: 2rem;
  }

  .foto-container {
    width: 120px;
    height: 120px;
  }
}
