.form-container {
    background: #fff;
    padding: 20px;
    margin: 7px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}
.form-container h2 {
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.form-group .error {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}
button#submitBtn{
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}
button#submitBtn:disabled {
    background: #ccc;
}
.hidden {
    display: none;
}
.phone-group {
    display: flex;
    gap: 10px;
}
.phone-group .phone-field {
    flex: 1;
}
.phone-group .phone-field:nth-child(1) {
    max-width: 20%;
}

.role-student, .role-teacher {
    display: flex;
    justify-content: left;
    align-items: center;
}

.role-student label, .role-teacher label {
    width: 40%;
}

.role-student input, .role-teacher input {
    width: auto;
}

.error {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
  }

  .termos-uso label {
    display: inline-flex;
    align-items: center;      /* Centraliza verticalmente checkbox + texto */
    gap: 6px;                 /* Espaço entre checkbox e texto */
    font-size: 14px;
  }
  
  .termos-uso input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
  
  .termos-uso span {
    white-space: normal;      /* Deixa quebrar se a tela for estreita */
  }
  
  .termos-uso a {
    color: #007BFF;
    text-decoration: none;
  }
  
  .termos-uso a:hover {
    text-decoration: underline;
  }
  