/* ===== Base ===== */
body{
  font-family: Arial, Helvetica, sans-serif;
  background:#f6f7fb;
  margin:0;
}
.container{
  max-width:1100px;
  margin:40px auto;
  background:#fff;
  padding:24px;
  border-radius:10px;
  box-shadow:0 8px 30px rgba(0,0,0,.06);
}

/* ===== Topo (imagens) ===== */
.hero{
  display:flex;
  justify-content:center;
  margin:16px 0 8px;
}
.hero img{
  max-width:100%;
  height:auto;
  display:block;
}

/* ===== Topbar ===== */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:6px;
}
.topbar-left{ display:flex; align-items:center; gap:8px; }
.topbar-right{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }

/* ===== Info de login ===== */
.login-info{
  text-align:right;
  font-size:14px;
  color:#444;
}

/* ===== Botões ===== */
.btn, button{
  background:#0a66ff;
  color:#fff;
  padding:8px 12px;
  border:none;
  border-radius:6px;
  text-decoration:none;
  cursor:pointer;
  font-weight:600;
  display:inline-block;
}
.btn:hover, button:hover{ opacity:.9; }

.btn-secondary{
  background:#6c757d;
}
.btn-secondary:hover{ opacity:.92; }

.btn-outline{
  background:transparent;
  color:#0a66ff;
  border:1px solid #0a66ff;
}
.btn-logout{
  margin-left:8px;
}

/* ===== Upload ===== */
.upload-wrapper{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-top:1cm;
  flex-wrap:wrap;
}
input[type="file"]{
  position:absolute;
  left:-9999px;
}
.file-btn{
  background:#0a66ff;
  color:#fff;
  padding:10px 16px;
  border:none;
  border-radius:6px;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
  font-weight:600;
}
.file-btn:hover{ opacity:.9; }
.file-name{ color:#555; }

/* ===== Progresso ===== */
.progress-container{
  display:none;
  width:100%;
  max-width:600px;
  height:20px;
  margin:12px auto 0;
  background:#e9ecef;
  border-radius:10px;
  position:relative;
  overflow:hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
}
.progress-bar{
  height:100%;
  width:0%;
  background:#0a66ff;
  border-radius:10px 0 0 10px;
  transition: width .1s ease;
}
.progress-text{
  position:absolute;
  top:0; left:50%;
  transform:translateX(-50%);
  font-size:12px;
  color:#fff;
  line-height:20px;
  font-weight:600;
}

/* ===== Títulos e divisores ===== */
.divider{ margin:24px 0; }
.title-centered{ text-align:center; margin:0 0 4px; }

/* ===== Tabela ===== */
table{
  border-collapse:collapse;
  width:100%;
}
th, td{
  border:1px solid #e6e6e6;
  padding:8px 10px;
  vertical-align:middle;
  text-align:center;
}
th{ background:#fafafa; }
.thumb{ height:70px; }

/* ===== Ações na tabela ===== */
.action-cell{ min-width:170px; }
.suggestion{
  display:block;
  margin-top:4px;
  font-size:12px;
  color:#555;
}

/* ===== Mensagens ===== */
.flash{ margin-top:12px; color:#b00020; }

/* ===== Portal / Forms (auth) ===== */
.container.auth { max-width: 600px; }
.form{
  display:flex; flex-direction:column; gap:10px;
  max-width:420px; margin:0 auto;
}
.form label{ font-size:14px; color:#333; }
.form input{
  padding:10px 12px; border:1px solid #e1e1e1; border-radius:6px;
}
.form .btn{ width:100%; }
.auth-alt{ text-align:center; margin-top:12px; }
.subtitle-centered{ text-align:center; color:#555; }
