/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f5f7fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #1a1a2e;
}

/* HEADER */
header {
  background: #1a1a2e;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 8px;
  display: block;
}

.logo-left .nome-empresa {
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.logo-left .subtitulo {
  color: #aaa;
  font-size: 13px;
  margin-left: 5px;
}

/* MAIN */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.panel {
  background: white;
  border-radius: 16px;
  padding: 45px 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  max-width: 550px;
  width: 100%;
}

.panel.narrow {
  max-width: 500px;
}

.eyebrow {
  color: #888;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 5px;
}

.panel h1 {
  font-size: 28px;
  color: #1a1a2e;
  margin: 5px 0 10px;
  font-weight: 700;
}

.panel .muted {
  color: #777;
  font-size: 15px;
  margin-bottom: 35px;
  line-height: 1.5;
}

/* FORM - ESPAÇAMENTO DOBRADO */
.form label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  font-size: 14px;
}

.form input,
.form select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  background: #fafbfc;
  transition: 0.3s;
  margin-bottom: 45px;  /* ESPAÇAMENTO GRANDE ENTRE CAMPOS */
  color: #1a1a2e;
}

.form input:focus,
.form select:focus {
  border-color: #1a73e8;
  outline: none;
  background: white;
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
}

.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* BOTÃO */
button.primary {
  background: #1a73e8;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: 0.3s;
  margin-top: 5px;
}

button.primary:hover {
  background: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.25);
}

/* ALERTA */
.alert {
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* SUCESSO */
.success-icon {
  font-size: 56px;
  text-align: center;
  display: block;
  margin-bottom: 10px;
}

.detalhes {
  background: #f0f7ff;
  padding: 16px 20px;
  border-radius: 12px;
  margin: 18px 0;
  border-left: 4px solid #1a73e8;
}

.detalhes p {
  margin: 6px 0;
  font-size: 15px;
}

.detalhes strong {
  color: #1a1a2e;
}

.btn {
  display: inline-block;
  background: #1a73e8;
  color: white;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
  margin-top: 15px;
}

.btn:hover {
  background: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.25);
}

/* FOOTER */
footer {
  background: #1a1a2e;
  color: #888;
  text-align: center;
  padding: 18px;
  font-size: 13px;
  margin-top: auto;
}

/* RESPONSIVO */
@media (max-width: 600px) {
  header {
    padding: 12px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .logo-left .subtitulo {
    display: none;
  }
  
  .panel {
    padding: 30px 20px;
  }
  
  .panel h1 {
    font-size: 22px;
  }
  
  .form input,
  .form select {
    margin-bottom: 35px;
  }
}