/* TIPOGRAFIA E BASE */
*{
  box-sizing:border-box;
}

body{
  margin:0;
  padding:0;
  font-family:"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:#F7F7F7;
  color:#111111;
}

a{
  color:#0095F6;
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

/* LAYOUT GERAL */
.page-wrapper{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.container{
  max-width:1040px;
  margin:0 auto;
  padding:24px 16px 32px;
}

/* TOPO / BRAND */
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:24px;
}

.brand{
  font-weight:600;
  font-size:20px;
  letter-spacing:0.03em;
}

.top-links a{
  margin-left:12px;
  font-size:14px;
}

/* CARDS */
.card{
  background:#FFFFFF;
  border-radius:16px;
  padding:18px 18px 20px;
  box-shadow:0 8px 24px rgba(0,0,0,0.04);
  border:1px solid #EDEDED;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:16px;
}

/* TÍTULOS E TEXTOS */
h1,h2,h3{
  margin:0 0 12px;
  font-weight:600;
  color:#111111;
}

p{
  margin:0 0 10px;
  color:#555555;
}

.small{
  font-size:12px;
  color:#777777;
}

/* FORMULÁRIOS */
form{
  margin-top:8px;
}

label{
  display:block;
  font-size:13px;
  margin:10px 0 4px;
  color:#555555;
}

input,
select,
textarea{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #E0E0E0;
  font-size:14px;
  outline:none;
  background:#FFFFFF;
}

input:focus,
select:focus,
textarea:focus{
  border-color:#0095F6;
  box-shadow:0 0 0 1px rgba(0,149,246,0.15);
}

/* BOTÕES */
button,
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:999px;
  border:none;
  font-size:14px;
  cursor:pointer;
  font-weight:500;
  transition:background .15s ease, transform .05s ease, box-shadow .15s ease;
}

button:active,
.btn:active{
  transform:translateY(1px);
}

/* primário */
.btn-primary{
  background:#0095F6;
  color:#FFFFFF;
  box-shadow:0 4px 10px rgba(0,149,246,0.25);
}

.btn-primary:hover{
  background:#0083D8;
}

/* secundário (rosa) */
.btn-secondary{
  background:#E1306C;
  color:#FFFFFF;
}

/* neutro */
.btn-neutral{
  background:#EFEFEF;
  color:#111111;
}

/* links em formato de botão */
.btn-link{
  background:transparent;
  padding:0;
  border:none;
  color:#0095F6;
  box-shadow:none;
  border-radius:0;
}

/* IMAGENS */
img{
  max-width:100%;
  height:auto;
  border-radius:12px;
}

/* BADGES / STATUS */
.badge{
  display:inline-block;
  padding:3px 9px;
  border-radius:999px;
  font-size:11px;
  background:#EFEFEF;
}

.badge.approved{
  background:#D1FADF;
  color:#05603A;
}

.badge.rejected{
  background:#FEE4E2;
  color:#B42318;
}

/* SLIDESHOW */
.slideshow{
  position:relative;
  height:380px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#000;
  border-radius:18px;
  overflow:hidden;
  margin-bottom:18px;
}

.slideshow img{
  max-height:380px;
  width:auto;
  border-radius:0;
}

.slideshow .nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.55);
  color:#fff;
  border:none;
  width:auto;
  padding:8px 12px;
  cursor:pointer;
  border-radius:999px;
  font-size:16px;
}

.slideshow .prev{
  left:12px;
}

.slideshow .next{
  right:12px;
}

/* SEÇÃO ENVIAR FOTO */
.upload-section{
  margin-top:12px;
}

.upload-card{
  background:#FFFFFF;
  border-radius:16px;
  padding:18px 18px 20px;
  box-shadow:0 8px 24px rgba(0,0,0,0.04);
  border:1px solid #E2E2E2;
}

.upload-dropzone{
  border:1px dashed #BDBDBD;
  border-radius:14px;
  padding:18px;
  text-align:center;
  background:#FAFAFA;
  margin-bottom:12px;
  cursor:pointer;
}

.upload-dropzone span{
  display:block;
  font-size:13px;
  color:#555555;
}

.upload-hint{
  font-size:11px;
  color:#999999;
  margin-top:4px;
}

/* ALERTAS */
.alert-success{
  margin-top:10px;
  font-size:13px;
  color:#05603A;
  background:#ECFDF3;
  border-radius:8px;
  padding:8px 10px;
}

.alert-error{
  margin-top:10px;
  font-size:13px;
  color:#B42318;
  background:#FEF3F2;
  border-radius:8px;
  padding:8px 10px;
}

/* FOOTER */
.footer{
  margin-top:auto;
  border-top:1px solid #E6E6E6;
  padding:14px 16px 18px;
  font-size:12px;
  color:#777777;
  background:#FFFFFF;
}

.footer-inner{
  max-width:1040px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}

.footer-links a{
  margin-right:12px;
  font-size:12px;
  color:#555555;
}

.footer-links a:hover{
  color:#0095F6;
}

/* RESPONSIVO */
@media (max-width:640px){
  .topbar{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}
