/* ======= GERAL ======= */
*{
  padding:0;
  margin:0;
  box-sizing:border-box;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f9;
  color: #333;
}
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: #dcdcdc;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}
.container {
  width: 100%;
  max-width: 1200px;
  min-height: 100%;
  margin: 0 auto;
  padding:10px;
}

/* ======= CABEÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¡ALHO ======= */
.site-header {
  width:100%;
  background: #4CAF50;
  color: #fff;
  padding: 1rem 0;
  height: 79px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
}

.menu-toggle:hover {
  color: #e0e0e0;
}

/* ======= ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚ÂREA DA RIFA ======= */
.rifa-area {
  margin: 2rem auto;
  text-align: center;
}

.rifa-area h2 {
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: #333;
}

/* Grade de nÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Âºmeros */
.numeros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 12px;
  margin: 0 auto;
}

/* BotÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Âµes */
.numero {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-disponivel {
  background: #4CAF50;
  color: #fff;
}

.btn-disponivel:hover {
  background: #45a049;
  transform: translateY(-2px);
}

.btn-reservado {
  background: #E74C3C;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.7;
}

/* ======= POPUP ======= */
.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  flex-wrap:wrap;
 justify-content:center;
  align-items:center;
  overflow:scroll;
}
.popup-recovery{
    display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  flex-wrap:wrap;
 justify-content:center;
  align-items:center;
  overflow:scroll;
}
.popup-inner {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  position: relative;
  animation: popupFade 0.3s ease;
}

@keyframes popupFade {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup-close {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.popup-close:hover {
  color: #000;
}

/* FormulÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡rio */
.form-row {
  margin-bottom: 1rem;
  text-align: left;
}

.form-row label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  color: #444;
}

.form-row input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}

.form-row input:focus {
  border-color: #4CAF50;
  outline: none;
}
#box-number{
  position:relative;
  display:flex;
  flex-wrap:wrap;
  flex-direction:row;
  padding-top:30px;
}
.form-group{
  
  width:120px;
  padding:5px;
}
.form-group input{
  text-align:center;
}
#box-number span{
  position:absolute;
  right:0;
  top:5px;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.btn {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary {
  background: #4CAF50;
  color: #fff;
}

.btn-primary:hover {
  background: #45a049;
}

.btn-ghost {
  background: #f1f1f1;
  color: #333;
}

.btn-ghost:hover {
  background: #e1e1e1;
}

/* ======= MENSAGEM FLASH ======= */
.flash {
  background: #dff0d8;
  color: #3c763d;
  border: 1px solid #d6e9c6;
  padding: 10px;
  margin: 1rem auto;
  max-width: 600px;
  border-radius: 6px;
}

/* ======= RODAPÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â° ======= */
.site-footer {
  background: #4caf50;
  color: #fff;
  padding: 1rem 0;
  margin-top: 2rem;
  height: 110px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.footer-info p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
}

.footer-social a {
  color: #fff;
  margin: 0 0.5rem;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #4CAF50;
}

.login-lock {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.2rem;
  color: #aaa;
}

.login-lock:hover {
  color: #fff;
}
.filtros {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.filtros input[type="text"] {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.botoes-filtro {
  display: flex;
  gap: 10px;
}

.botoes-filtro button,
.intervalo button {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #1d9e58;
  color: white;
  transition: background 0.3s;
}

.botoes-filtro button:hover,
.intervalo button:hover {
  background: #157a44;
}

.intervalo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.intervalo input {
  width: 80px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* ======= RESPONSIVIDADE ======= */
@media (max-width: 768px) {
  .site-title {
    font-size: 1.2rem;
  }

  .numeros-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
  }

  .numero {
    padding: 12px;
    font-size: 0.9rem;
  }

  .footer-content {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .numeros-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .numero {
    padding: 10px;
    font-size: 0.85rem;
  }
}
/* ===== POPUP ===== */
.popup {
  position: fixed;
  inset: 0; /* top, right, bottom, left = 0 */
  background: rgba(0,0,0,0.5);
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s;
  z-index: 1000;
  padding:12px 10px;
}

.popup[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.popup-inner {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
  position: relative;
}

@keyframes fadeIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #888;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #ff0000;
}

/* ===== FORM ===== */
.form-row {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.form-row label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #444;
}

.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="radio"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.form-row input[type="radio"] {
  width: auto;
  margin-right: 5px;
}

.form-row label[for="sim"], 
.form-row label[for="no"] {
  font-weight: normal;
  margin-right: 10px;
}

/* ===== BOTÃƒâ€¢ES ===== */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.btn-ghost {
  background: #f1f1f1;
  color: #333;
}

.btn-ghost:hover {
  background: #ddd;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #25d366;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
  position:absolute;
  left:10px;
  top:15px;
}

.btn-whatsapp:hover {
  background: #1ebe5b;
}

.btn-whatsapp i {
  font-size: 1.2rem;
}
/* Switch container */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

/* Esconde o input */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Barra do switch */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 30px;
}

/* Bolinha */
.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

/* Quando marcado */
.switch input:checked + .slider {
  background-color: #28a745; /* verde */
}

.switch input:checked + .slider:before {
  transform: translateX(30px);
}
