:root {
    --cor-primaria: #0A1A2F;
    --cor-destaque: #F4741F;
    --cor-fundo: #F6F6F6;
    --cor-texto: #2C2C2C;
    --cor-branco: #FFFFFF;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Mulish', Arial, sans-serif;
  background: linear-gradient(120deg, #0a2236 0%, #1d3557 100%);
  color: #222;
  display: flex;
  flex-direction: column;
}
header {
  background: var(--cor-primaria);
  color: #fff;
  padding: 28px 0 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 60px;
  padding-right: 60px;
  z-index: 2;
  position: relative;
}
header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 32px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}
header nav a:hover {
  color: #ff7d1a;
}
main {
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  position: relative;
  z-index: 1;
}
.painel-container {
  display: flex;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(10, 34, 54, 0.18);
  backdrop-filter: blur(8px);
  animation: fadeInUp 1s cubic-bezier(.23, 1.03, .74, 1) both;
  max-width: 1100px;
  width: 100%;
  margin: 40px 0 80px 0;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.painel-formularios {
  display: flex;
  flex: 1;
  gap: 10px; /* Espaçamento entre os painéis */
  background: transparent;
}
.painel {
  flex: 1; /* Divide igualmente o espaço entre os painéis */
  min-width: 260px;
  background: rgba(255, 255, 255);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 36px 36px 36px;
  box-shadow: 0 2px 16px rgba(10, 34, 54, 0.06);
  animation: fadeInUp 1.2s cubic-bezier(.23, 1.03, .74, 1) both;
  border-radius: 16px; /* Ajusta o arredondamento */
}
.painel.login {
    border-right: 1.5px solid #e3e7ee; /* Linha divisória entre os painéis */
}
.painel.cadastro {
    border-right: 1.5px solid #e3e7ee;
}
.painel h2 {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 18px;
  font-weight: bold;
  color: #0a2236;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #0a2236;
  font-size: 1.03rem;
}

input, .button {
  width: 100%; /* Garante que inputs e botões tenham a mesma largura */
  box-sizing: border-box; /* Inclui padding e borda no cálculo da largura */
}

input {
  padding: 13px;
  margin-bottom: 18px;
  border: 1px solid #dde2e6;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  transition: border 0.2s;
}

input:focus {
  border: 1.5px solid #ff7d1a;
  outline: none;
}

.button {
  background: linear-gradient(90deg, #ff7d1a 60%, #ffb866 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 0;
  font-size: 1.12rem;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 14px;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(255, 125, 26, 0.09);
}

.button:hover {
  background: linear-gradient(90deg, #e66a12 60%, #ffb866 100%);
}
footer {
    background-color: var(--cor-primaria);
    color: var(--cor-branco);
    text-align: center;
    padding: 30px 10px;
    font-size: 0.9em;
}