/* Base reset e responsividade */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-image: url(backgroundcard.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.logo-container img {
  max-width: 120px;
  height: auto;
}


/* Container adaptável */
.register-container {
  background: rgba(0, 0, 0, 0.75);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  text-align: center;
  width: 100%;
  max-width: 400px;
}

/* Título com ajuste de quebra */
.register-container h2 {
  margin-bottom: 20px;
  font-size: 24px;
  word-break: break-word;
}

/* Inputs com melhor toque e espaçamento */
.register-container input[type="text"],
.register-container input[type="tel"],
.register-container input[type="password"],
.register-container input[type="file"] {
  width: 100%;
  padding: 12px 16px;
  margin: 10px 0;
  border: none;
  border-radius: 6px;
  background: #f5f5f5;
  color: #333;
  font-size: 16px;
  box-sizing: border-box;
}

/* Botão com área de toque confortável */
.register-container button {
  width: 100%;
  padding: 14px;
  margin-top: 15px;
  font-size: 17px;
  font-weight: bold;
  color: #fff;
  background: #1abc9c;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.register-container button:hover {
  background: #16a085;
}

/* Preview da imagem */
.profile-pic-container {
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid #fff;
}

/* Mensagem de autenticação */
.auth-message {
  margin-top: 10px;
  font-size: 14px;
  color: #f39c12;
}

/* Link adaptado para toque */
a {
  color: #1abc9c;
  text-decoration: none;
  font-size: 15px;
}

/* Media query para telas menores */
@media (max-width: 480px) {

   .logo-container img {
    max-width: 90px;
  }
  .register-container {
    padding: 20px;
  }

  .register-container h2 {
    font-size: 22px;
  }

  .register-container input,
  .register-container button {
    font-size: 15px;
  }

  a {
    font-size: 14px;
  }
}
