@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&display=swap');

:root{
  --uniola-dark:#1f1c2c;
  --uniola-light:#928dab;
  --uniola-glass: rgba(255,255,255,0.05);
}

*{ box-sizing:border-box; }
body{
  font-family:'Quicksand',sans-serif;
  background: linear-gradient(135deg, var(--uniola-dark), var(--uniola-light));
  color:#fff; 
  min-height:100vh; 
  display:flex; 
  flex-direction:column;
}
a { color:#fff; text-decoration:none; }
a:hover{ opacity:.9; }
.navbar-brand img{ height:42px; }
.card{
  background: var(--uniola-glass);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:1rem; 
  color:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}
.card .btn-primary{
  background:#1f1c2c; 
  border-color:#1f1c2c;
}
.btn-primary{
  background:#1f1c2c; 
  border-color:#1f1c2c;
}
.btn-primary:hover,.btn-primary:focus{
  background: linear-gradient(135deg, #1f1c2c, #928dab);
  border-color:#928dab;
}

/* ==============================
   FIX VISIBILIDADE DOS INPUTS
   ============================== */

/* Inputs padrão */
.form-control,
.form-select {
  background: rgba(255,255,255,.15);
  border: none;
  color: #000;             /* texto sempre visível */
  transition: background .2s, color .2s;
}

/* Placeholder */
.form-control::placeholder {
  color: #f6f6f6;             /* cinza médio */
}

/* Foco */
.form-control:focus,
.form-select:focus {
  background-color: #fff;  /* fundo branco ao focar */
  color: #000;             /* texto preto */
  outline: 2px solid rgba(0,0,0,.2);
  box-shadow: none;
}

/* Inputs dentro de modais — fundo sempre branco */
/* Inputs dentro de modais — fundo sempre branco e bordas pretas */
.modal .form-control,
.modal-header,
.modal .form-select {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #bdb9b9 !important;   /* borda preta */
  border-radius: 8px;                  /* cantos arredondados opcionais */
}

.modal .form-control:focus,
.modal .form-select:focus {
  border: 2px solid #000 !important;   /* borda preta mais grossa no foco */
  outline: none !important;
  box-shadow: none !important;
}

.offcanvas{ 
  background: rgba(0,0,0,.6); 
  color:#fff; 
  backdrop-filter: blur(8px); 
}
footer{ 
  margin-top:auto; 
  background: rgba(0,0,0,.35); 
}
.hero{
  padding: 64px 0; 
  text-align:center;
}
.hero .logo{
  height:88px; 
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.4));
  animation: pulse 2s ease-in-out infinite;
}
.badge-glass{ 
  background: rgba(255,255,255,.2); 
}
@keyframes pulse {
  0%{transform:scale(1)}
  50%{transform:scale(1.03)}
  100%{transform:scale(1)}
}

.carousel-img {
  max-width: 100%;     
  width: 612px;        
  height: auto;        
  aspect-ratio: 612/361; 
  object-fit: contain;   
  object-position: center;
  background: transparent; 
  display: block;
  margin: 0 auto;
}

/* Toast (já tens, mas garanto estilo) */
.toast-msg {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #198754;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999;
}
.toast-msg.show { opacity: 1; }

/* Popup overlay */
.popup-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.6);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10000;
}

/* Popup box */
.popup-box {
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
/* Sucesso popup */
#success-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
}
#success-popup .popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
#success-popup .popup-box {
  position: relative;
  background: #fff;
  color: #000;
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 400px;
  box-shadow: 0 4px 15px rgba(0,0,0,.3);
  text-align: center;
  z-index: 1;
}
#success-popup .popup-close {
  position: absolute;
  top: 5px;
  right: 10px;
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
}
#success-popup .popup-msg {
  margin-top: 10px;
  font-size: 16px;
}

