body {
  background-color: #f7faf7;
}
.card {
  border-radius: 1rem;
}
.btn {
  border-radius: 0.7rem;
}
.navbar {
  border-radius: 0 0 10px 10px;
}

.month-input::before {
  content: attr(data-placeholder);
  color: #000000;
}

.month-input:focus::before,
.month-input:valid::before {
  content: "";
}

.btn-home {
  height: 42px;
  padding: 0 16px;
  font-size: 1rem;
}


@media (max-width: 600px) {
  .btn-home {
    width: 100%;
    height: 45px;
    justify-content: center;
  }
  
}
.month-placeholder {
    color: transparent !important;
    position: relative;
}

.month-placeholder::before {
    content: attr(data-texto);
    position: absolute;
    left: 12px;
    top: 7px;
    color: #6c757d;
    pointer-events: none;
    font-size: 0.95rem;
}
body {
      background-color: #f8f9fa;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

nav.navbar {
  background-color: #0B2134 !important;
}

.navbar-brand {
  font-weight: bold;
  color: #fff !important;
  letter-spacing: 0.5px;
}

footer {
  margin-top: auto;
  background-color: #f1f1f1;
  padding: 10px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

/* --- Ajustes de responsividade --- */
@media (max-width: 768px) {
  .card {
    width: 100% !important;
    margin-bottom: 1rem;
  }

  .card h4 {
    font-size: 1.1rem;
  }

  .form-control {
    width: 100% !important;
  }

  #filtroPeriodo {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  #filtroPeriodo button {
    width: 100%;
  }

  #grafico {
    height: 320px !important;
  }

  h4.text-center {
    font-size: 1.2rem;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }

  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 992px) {
  #grafico {
    height: 350px !important;
  }
}


.alert {
  animation: fadeInDown 0.5s ease;
}

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

button:focus,
button:active,
.btn:focus,
.btn:active {
  outline: none !important;
  box-shadow: none !important;
}
.clickable-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
  }

  .clickable-card:hover, 
  .clickable-card:active {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  }

  
  @media (max-width: 768px) {
    .col-md-4 {
      flex: 0 0 100%;
      max-width: 100%;
    }

    .card h3 {
      font-size: 1.5rem;
    }

    .card h6 {
      font-size: 0.9rem;
    }

    .card i {
      font-size: 1.8rem !important;
    }
  }
.navbar-nav .nav-item:active {
  background-color: #10375a;
  font-weight: bold;
  width: 100%;
  border-radius: 0.4rem;
  
  
}
#botaovoltarhomedetalhes {
  background-color: #0B2134;
  color: white;
  border: none;
  height: 37px;
  border-radius: 0.5rem;
  text-decoration: none;
}

#botaovoltarhomedetalhes:active{
  background-color: #10375a
  
}
#filtrarmesesdetalhes {
  background-color: #0B2134;
  color: white;
  border: none;
  height: 37px;
  border-radius: 0.5rem;
  text-decoration: none;

}
#filtrarmesesdetalhes:active{
  background-color: #10375a
}
#adicionarcoisas:active{
  background-color: #6b1f07
}
#adreceitas:active{
  background-color: #044b1c
}
.inputmeseshome{
  font-weight: bold;
  text-transform: capitalize;
  text-align: center;
  font-size: 1.1rem;
}
.inputmesesoutros{
  font-weight: bold;
  text-transform: capitalize;
  font-size: 1.1rem;
  
}
@media (max-width: 375px){
  .espaçamentoemtelapequena{
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    
  }
  .espaçamentoemtelapequenareceigast{
  display: flex;
  flex-direction: column;
  
  align-items: center;
  justify-content: center;
  

}
.formdefiltro{

  width: 105%;
  padding: 3%;
  margin-left: 10%;
}
.vertudotelapequena{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 10%;
  

  
}
.textoscentro{
  display: flex;
  flex-direction: column;
  align-items: center;
}
}


  
  

