body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(270deg, #0078d7, #0279da, #02dac8, #34dae0);
  background-size: 800% 800%;
  animation: fundoAnimado 18s ease infinite;

  display: flex;
  justify-content: center;
  align-items: flex-start;  /* conteúdo começa do topo */
  
  min-height: 100vh;
  overflow-y: auto;         /* permite rolar */
  overflow-x: hidden;       /* sem scroll lateral */
  padding: 40px 0;          /* espaço em cima e embaixo */
}

/* Chrome, Safari, Edge */
body::-webkit-scrollbar {
  display: none;
}

/* Firefox */
body {
  scrollbar-width: none;
  -ms-overflow-style: none; /* IE/Edge antigo */
}



@keyframes fundoAnimado {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Flip-card */
.flip-card {
  background: transparent;
  width: 420px;
  perspective: 1200px;
  margin: auto;   /* centraliza horizontal */
}


.flip-card-inner {
  position: relative;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1), height 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  background: #f6f6f6;
  padding: 20px 25px;
  overflow: hidden;
  box-sizing: border-box;
  backface-visibility: hidden;
  left: 0;
  top: 0;
}

.flip-card-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* Logo */
.logo-container {
  text-align: center;
  margin-bottom: 0px;
}

.logo-container img {
  max-width: 200px;
  height: auto;
  display: inline-block;
}

/* Títulos */
h1, h2 { 
  text-align: center; 
  margin-bottom: 20px; 
}
h1, h2 { color: #0078d7; }

/* Labels e Inputs */
label { 
  display: block; 
  margin-top: 10px; 
  font-weight: bold; 
  color: #333; 
}
input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  transition: 0.3s;
  box-sizing: border-box;
}
input:focus {
  border-color: #0078d7;
  outline: none;
  box-shadow: 0 0 6px rgba(0,120,215,0.4);
}

/* Botões */
.btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  background: linear-gradient(135deg, #0078d7, #00b4d8);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s ease;
}
.btn:hover {
  background: linear-gradient(135deg, #005fa3, #0096c7);
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.btn-voltar {
  background: #666;
}
.btn-voltar:hover { background: #444; }

/* Tabelas */
.table-container { 
  position: relative; 
  margin-top: 20px; 
  overflow: hidden; 
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
  table-layout: fixed;
}
th, td { 
  border: 1px solid #ddd; 
  padding: 10px; 
  text-align: center; 
  word-wrap: break-word; 
}
th { 
  background: #1abc9c; 
  color: white; 
  font-size: 15px; 
}
td { background: #f9f9f9; }
