* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
}

.logo {
  width: 120px;
  margin: 20px auto;
  display: block;
}

.registo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: 20px;
}

.login-container {
  width: 100%;
  max-width: 400px;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
  text-align: center;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input[type="file"] {
  display: none;
}

.custom-file-upload {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  margin-top: 5px;
  transition: background-color 0.3s ease;
}

.custom-file-upload:hover {
  background-color: #0056b3;
}

.iniciar {
  background-image: linear-gradient(to right, rgb(0, 92, 197), rgb(90, 20, 220));
  width: 100%;
  border: none;
  padding: 15px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border-radius: 10px;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.iniciar:hover {
  background-image: linear-gradient(to right, rgb(0, 80, 172), rgb(80, 19, 195));
}

.alternative-login {
  margin-top: 30px;
  text-align: center;
}

.social-buttons button {
  margin: 5px;
  padding: 10px 16px;
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}

.social-buttons .facebook {
  background-color: #3b5998;
}

.social-buttons .google {
  background-color: #db4437;
}

.social-buttons .twitter {
  background-color: #1da1f2;
}

/* Responsivo */
@media (max-width: 768px) {
  .logo {
    width: 100px;
    margin: 20px auto;
  }

  .login-container {
    padding: 30px 20px;
  }

  .social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .social-buttons button {
    width: 100%;
  }

  .custom-file-upload {
    width: 100%;
    text-align: center;
  }
}
