body {
  font-family: Arial, sans-serif;
  background-color: #f4f6f8;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* Container principal */
.cadastro-container {
  background-color: #fff;
  width: 380px;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Logo */
.logo {
  width: 70px;
  margin-bottom: 15px;
}

/* Título */
h1 {
  font-size: 22px;
  margin-bottom: 25px;
  color: #1d4ed8;
}

/* Campos de entrada */
.input-group {
  margin-bottom: 20px;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-size: 14px;
}

input,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

select {
  background-color: #fff;
  color: #333;
}

/* Botão principal */
.btn-criar {
  width: 100%;
  background-color: #1d4ed8;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.btn-criar:hover {
  background-color: #153eab;
}

/* Modal */
.modal {
  display: none; /* oculto por padrão */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content h2 {
  color: #1e63e9;
}

.modal-content p {
  margin: 10px 0 20px;
  color: #333;
}

.btn-ok {
  background-color: #1e63e9;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.btn-ok:hover {
  background-color: #174eb9;
}

.close-btn {
  float: right;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  transition: 0.3s;
}

.close-btn:hover {
  color: #333;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Link inferior */
.link {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  color: #1d4ed8;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}
