* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #FFFFE0;
  color: #1c1c1c;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #FFFFE0;
  margin: 5% auto;
  padding: 2rem;
  border: 1px solid #e5e5e5;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s;
}

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

.close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 1.5rem;
  color: #3c2f2f;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #d48c00;
}

.modal-title {
  font-family: 'Libre Baskerville', serif;
  color: #3c2f2f;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  font-weight: normal;
}

.cadastro-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e5e5;
  background-color: #fffff0;
  font-family: 'Courier New', monospace;
  color: #3c2f2f;
  font-size: 0.9rem;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #d48c00;
}

.submit-btn {
  background-color: #1c1c1c;
  color: #fff;
  padding: 12px;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 1rem;
  width: 100%;
}

.submit-btn:hover {
  background-color: #444;
}

.login-link {
  text-align: center;
  font-family: 'Courier New', monospace;
  color: #5e4a3b;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.login-link a {
  color: #d48c00;
  text-decoration: none;
  transition: color 0.2s;
}

.login-link a:hover {
  color: #b37700;
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 600px) {
  .modal-content {
    padding: 1.5rem;
    margin: 10% auto;
  }
  
  .form-group input {
    padding: 10px;
  }
}