/* site.css */
/* @import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@700&family=Pacifico&family=Barlow+Condensed:wght@700&family=Cinzel:wght@700&display=swap'); */

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Fundo de campo de futebol */
body {
  background: linear-gradient(to bottom, #2e7d32, #81c784);
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  margin: 0;
  padding-bottom: 100px;
  /*Para aumentar 
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  /* Fundo com imagem */
  background-image: url('../images/bg3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Overlay escuro para melhorar contraste */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  /* Preto com transparência */
  z-index: -1;
}

/* @font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/Bebas_Neue/BebasNeue.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Barlow_Condensed/Barlow_Condensed.woff2') format('woff2');
} */

.accordion-button .toggle-icon {
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) .toggle-icon {
  transform: rotate(180deg);
}

/* Utilizada no topo das paginas carregas no content */
h3.text-white {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 1.3rem !important;
}

button.text-white {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 1.3rem !important;
}

/* Inicio - estilização Logo/ Header */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.logo-img {
  height: 40px;
  /* Ajuste conforme necessário */
  width: auto;
}

.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  line-height: 1;
  /* ou ajuste conforme necessário */
  height: 50px;
  /* Força altura consistente */
  display: flex;
  align-items: center;
}

@media (max-width: 576px) {
  .logo-text {
    font-size: 1.5rem;
    height: auto;
  }

  .logo-img {
    height: 1.5rem;
    /* ou outro valor menor */
    width: auto;
  }
}



@keyframes swingOnce {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(10deg);
  }

  40% {
    transform: rotate(-8deg);
  }

  60% {
    transform: rotate(6deg);
  }

  80% {
    transform: rotate(-4deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.logo-swing {
  animation: swingOnce 1s ease-in-out;
}

/* Animação de entrada */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Aplicar no logo */
.logo a,
.logo-text {
  animation: fadeInUp 1s ease-out forwards;
}

/* FIM - estilização Logo/ Header */

/* Navbar arredondada e suave */
.navbar {
  border-radius: 10px;
}

/* Carousel de Anúncios */
.carousel {
  margin-top: 20px;
}

.carousel-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}


/* Início - Alertas personalizados */
.alert {
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.5s ease;
}

.avisos-expandidos {
  animation: fadeIn 0.5s ease;
}

.aviso-colapsado {
  background-color: #8d8d8d75;
  color: white;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  border-radius: 10px;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-info {
  background-color: rgba(209, 236, 241, 0.8);
  /* Azul claro com 60% de opacidade */
}

.alert-success {
  background-color: rgba(212, 237, 218, 0.8);
  /* Verde claro com 60% de opacidade */
}

.alert-warning {
  background-color: rgba(255, 243, 205, 0.6);
  /* Amarelo claro com 60% de opacidade */
}

/* Fim - Alertas personalizados */

/* Footer fixo no rodapé */
footer {
  background-color: rgba(0, 27, 5, 0.664);
  color: white;
  padding: 5px 0;
  position: fixed;
  width: 100%;
  bottom: 0;
  text-align: center;
  font-size: 0.9rem;
  height: 30px;
}

/* Início - Estilos anúncio */
.anuncios-wrapper {
  overflow: hidden;
  width: 100%;
}

.anuncios-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  padding: 1rem;
  width: max-content;
}

.anuncio {
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  background-color: #dddddd88;
  border-radius: 6px;
  line-height: 150px;
  text-align: center;
  font-weight: bold;
}

/* FIM - Estilos anúncio */


/* Início - Para utilizar em áreas de formulário */
.bg-form {
  background-color: rgba(0, 0, 0, 0.452);
  /* fundo escuro semi-transparente */
  color: #fff;
  /* texto claro para contraste */
}

.bg-form label {
  color: #fff;
  /* força cor branca em labels */
}

.bg-form .form-control,
.bg-form .form-select {
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
}

input[disabled],
select[disabled],
textarea[disabled] {
  background-color: #c7c7c7 !important; /* tom acinzentado */
  color: rgba(80, 80, 80, 0.664) !important; /* texto cinza */
  opacity: 1; /* evitar que fique muito apagado */
  cursor: not-allowed;
}

/* Fim - Para utilizar em áreas de formulário */

/* Início - Botões verde gramado para tela de cadastro */
.btn-success-custom {
  background-color: #1e7e34;
  /* verde escuro */
  border-color: #1c7430;
  color: #fff;
}

.btn-success-custom:hover {
  background-color: #155724;
  border-color: #145420;
}

/* Fim - Botões verde gramado para tela de cadastro */


/* Início - Preloader */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.527);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Fim - Preloader */

/* Validação de campos */
.campo-invalido {
  border-color: #ff5100bd !important;
  box-shadow: 0 0 5px rgba(238, 255, 0, 0.5) !important;
}

/* Validação de campos */

input.uppercase {
  text-transform: uppercase;
}


/* Aplica estilo quando arrastando arquivo */
/* Início - Drag And Drop Files */
.dragover {
    border-color: #007427 !important;
    background-color: #e9f3ff;
}
/* FIM - Drag And Drop Files */

/* INÍCIO - Botão para limpar campos de formulário */
.btn-transparent-white {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.btn-transparent-white:hover {
  background-color: rgba(255, 255, 255, 0.1); /* leve destaque no hover */
  color: #fff;
}

/* INÍCIO - Switch CheckBox */
/* Base switch */
/* Oculta visualmente o checkbox */
.switch {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}

/* Estilo base do label que representa o switch */
.switch + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  user-select: none;
  padding: 2px;
}

/* Estilos da versão shadow */
.switch--shadow + label {
  background-color: #dddddd;
}

/* Partes internas do switch */
.switch--shadow + label:before,
.switch--shadow + label:after {
  display: block;
  position: absolute;
  content: '';
  transition: all 0.4s;
}

.switch--shadow + label:before {
  background-color: #f1f1f1;
}

.switch--shadow + label:after {
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Tamanhos dinâmicos */

/* SMALL */
.switch--small + label {
  width: 60px;
  height: 30px;
  border-radius: 30px;
}
.switch--small + label:before {
  top: 1px; left: 1px; right: 1px; bottom: 1px;
  border-radius: 30px;
}
.switch--small + label:after {
  width: 28px; height: 28px; top: 1px; left: 1px;
}
.switch--small:checked + label:after {
  transform: translateX(30px);
}

/* MEDIUM */
.switch--medium + label {
  width: 80px;
  height: 40px;
  border-radius: 40px;
}
.switch--medium + label:before {
  top: 1px; left: 1px; right: 1px; bottom: 1px;
  border-radius: 40px;
}
.switch--medium + label:after {
  width: 38px; height: 38px; top: 1px; left: 1px;
}
.switch--medium:checked + label:after {
  transform: translateX(40px);
}

/* LARGE */
.switch--large + label {
  width: 120px;
  height: 60px;
  border-radius: 60px;
}
.switch--large + label:before {
  top: 1px; left: 1px; right: 1px; bottom: 1px;
  border-radius: 60px;
}
.switch--large + label:after {
  width: 58px; height: 58px; top: 1px; left: 1px;
}
.switch--large:checked + label:after {
  transform: translateX(60px);
}

/* Cor do fundo ao ativar */
.switch--shadow:checked + label:before {
  background-color: #8ce196;
}

/* Texto ao lado do switch */
.switch__container {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Estilo base do texto */
.switch__status {
  font-weight: bold;
  color: #e74c3c; /* vermelho para "Inativa" */
}

/* Muda a cor para verde quando ativado */
.switch--shadow:checked ~ .switch__status {
  color: #27ae60;
}

/* Troca o texto via ::before */
.switch__status::before {
  content: attr(data-off);
}

.switch--shadow:checked ~ .switch__status::before {
  content: attr(data-on);
}

/* FIM - Switch CheckBox */


/* FIM - Botão para limpar campos de formulário */