@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f3f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* ----- Container ----- */
.register-container {
  width: 100%;
  max-width: 450px;
  padding: 20px;
}

/* ----- Caixa principal ----- */
.form-box {
  background: white;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-box h1 {
text-align: center;
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #1c1f2a;
}

.subtitle {
  color: #666;
  margin-bottom: 25px;
  text-align: center;
}

/* ----- Inputs ----- */
.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.input-group label {
  font-weight: 500;
  margin-bottom: 5px;
  color: #1e1e2f;
}

.input-group input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border 0.3s;
}

.input-group input:focus {
  border-color: #030213;
}

/* ----- Botão ----- */
.btn-register {
  width: 100%;
  padding: 14px;
  border: none;
  background: #030213;
  color: white;
  font-size: 1em;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}

.btn-register:hover {
  background: #030213;
  opacity: 0.85
}

/* ----- Link para login ----- */
.login-link {
  text-align: center;
  margin-top: 15px;
  color: #030213;
}

.login-link a {
  color: #030213;
  text-decoration: none;
  font-weight: 500;
}

.login-link a:hover {
  text-decoration: underline;
}

/* ----- Formatação das Caixas de Senhas ----- */

.input-wrap {
    position: relative;
    width: 100%;
}

.input-wrap input {
    width: 100%;
}

.toggle-senha {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #717182;
}

select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    background: white;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    color: #1e1e2f;
}

input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
}