.cabecalho-pai{
  width: 100%;
}
.cabecalho{
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#AbrirModal{
  background-color: rgba(255, 255, 255, .1);
  color: white;
  border: none;
  padding: .4em 1.2em;
  text-align: center;
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  transition: .2s;
}
#AbrirModal:hover{
  background-color: rgba(73, 73, 73, 0.6);
}
.fa-comment{
  margin-left: 5px;
}

.navbarAgenda{
  background-color: #fff !important;
  /* border-bottom: 3px solid #001F3F; */
  border-bottom: 2px solid #EFEFEF !important;
  /* padding: 0 1em; */
  margin: 0 !important;
  max-width: 100%;
}
.navbarAgenda nav ul li{
  border-radius: 5px;
  transition: 200ms;
}
.navbarAgenda nav ul li:hover{
  background-color: #EFEFEF;
}


section {
  display: flex;
  flex-direction: column;
  margin: 0 10%;
  gap: 2em;
}
.barraPesquisa {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3%;
  gap: 1%;
}

.dataTables_wrapper {
  position: relative;
  clear: both;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dataTables_wrapper .dataTables_filter input {
  border-radius: 15px;
  padding: .5% 2%;
  width: 100%;
  border: 1px solid gray;
  outline: none;
  border-radius: 1em !important;
}
.dataTables_wrapper .dataTables_filter input::placeholder{
  font-size: larger;
  font-weight: 300;
}


.unidades {
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  margin-top: 2em;
  gap: 12px;
  flex-wrap: wrap;
  overflow-x: visible;
  padding: 0.25rem;
}

.group-list-header {
  margin-top: 1.5rem;
  text-align: center;
}

.group-list-header h2 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
  color: #001f3f;
}

.group-list-header p {
  margin-bottom: 0;
  color: #415870;
  font-size: 0.95rem;
}
.unidades li {
  background-color: #f0f0f0;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  padding: 0 .5em;
  border-radius: 15px;
  list-style: none;
  transition: .4s;
  flex: 0 0 auto;
  width: auto !important;
  margin-right: 0;
}
.unidades li:hover {
  background-color: rgba(0, 0, 0, 0.06);
}
.unidades li:hover a{
  color: black !important;
  font-weight: 400;
}
.unidades li a {
  font-size: 120%;
  font-weight: 400;
  text-align: center;
  padding: .55em 1rem;
  color: black !important;
  transition: .5s;
  display: inline-flex;
  width: auto !important;
  white-space: nowrap;
}

/* Reforça layout horizontal dos botões de unidade (abas) */
#agenda-list.unidades {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
}

#agenda-list.unidades > li.nav-item {
  width: auto !important;
  flex: 0 0 auto !important;
  float: none !important;
  display: block !important;
  margin: 0 !important;
}

#agenda-list.unidades > li.nav-item > .nav-link {
  width: auto !important;
  display: inline-flex !important;
  white-space: nowrap !important;
}

.nav-tabs .nav-link {
  border: none !important;
}
.nav-tabs .nav-link:hover {
  border: none !important;
  outline: none !important;
}
.nav-tabs .nav-link.active{
  transform: scale(1.1);
  border: none !important;
  outline: none !important;
  background: none;
  color: #03a34e !important;
  font-weight: 600;
}

/* Remover o X do input type SEARCH
Para navegadores WebKit (Chrome, Safari) */
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
/* Para navegadores Firefox */
input[type="search"]::-moz-search-cancel-button {
  -moz-appearance: none;
}
/* Para navegadores IE/Edge */
input[type="search"]::-ms-clear,
input[type="search"]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

.modern-tab-content .dataTables_filter > label {
  width: 40% !important;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: .5em;
}
input::placeholder {
  color: black;
  font-size: .9em !important;
}

/* label input {
  width: 60% !important;
} */

.content-wrapper{
  background-color: #fff;
}
.modern-tab-content .dataTables_filter {
  width: 100% !important;
  display: flex;
  justify-content: center;
}
#agenda-list-content{
  padding: 1em 5em;
  border-radius: .5em;
  background-color: rgba(240, 240, 240, 0.41);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.empty-state-loading,
.empty-state-message {
  text-align: center;
  color: #415870;
  font-weight: 500;
  padding: 2rem 1rem;
}
table {
  margin-top: 1em !important;
  border-radius: 5px;
}
thead {
  background-color: #001f3f !important;
}
table thead tr th {
  color: white !important;
  font-size: 120%;
  font-weight: 400 !important;
  text-align: center !important;
  width: 20% !important;
}
td {
  text-align: center !important;
}
tr.odd {
  /* background-color: #f7f7f7 !important; */
  /* background-color: rgba(240, 240, 240, 0.41) !important; */
}
tr.even {
  /* background-color: #e7e7e7 !important; */
  /* background-color: rgba(0,0,0,.05) !important; */
}
td{
  padding: 0.75rem !important;
}
tbody tr:hover{
  background-color: rgb(233, 233, 233) !important;
}


/* MODAL */
.tipoAlteracao{
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  flex-direction: column;
}


/* RESPONSIVIDADE */
@media (max-width: 1225px){
  section {
    margin: 0 15%;
  }
}
@media (max-width: 1050px){
  section {
    margin: 0 10%;
  }
}
@media (max-width: 922px){
  section {
    margin: 0 5%;
  }
}
@media (max-width: 812px){
  section {
    margin: 0 2%;
  }
  td{
    font-size: .9em;
  }
  .tabs{
    font-size: 100% !important;
  }
  #agenda-list-content{
    padding: 1em 3em;
  }
}
@media (max-width: 684px){
  .unidades li a{
    font-size: 100% !important;
  }
  table thead tr th {
    font-size: 100%;
  }
}
@media (max-width: 672px){
  .unidades li a{
    font-size: 100% !important;
  }
  table thead tr th {
    font-size: 100%;
  }
  #agenda-list-content{
    padding: 1em 2em;
  }
}
@media (max-width: 656px){
  h1{
    font-size: 1.5rem !important;
  }
  section{
    gap: 1em;
  }
  #AbrirModal{
    font-size: .7rem;
  }
  .unidades li a{
    font-size: 90% !important;
  }
  table thead tr th {
    font-size: 100%;
  }
}
@media (max-width: 495px){
  h1{
    font-size: 1.4rem !important;
  }
  #AbrirModal{
    font-size: .6rem;
  }
  .unidades li a{
    font-size: 80% !important;
  }
  table thead tr th {
    font-size: 90%;
  }
  input[type="search"]{
    font-size: .7rem; 
    height: 1rem !important;
  }
  #agenda-list-content{
    padding: .4em;
  }
}
@media (max-width: 420px){
  h1{
    font-size: 1.3rem !important;
  }
  #AbrirModal{
    font-size: .6rem;
  }
  .unidades li a{
    font-size: 75% !important;
  }
  table thead tr th {
    font-size: 80%;
  }
  thead tr th{
    font-size: .8rem;
  }
  tbody tr td{
    font-size: .7rem;
  }
  #agenda-list-content{
    padding: .2em;
  }
}

.table-responsive {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-top: 1rem;
}

.modern-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}

.modern-table thead th {
  background: linear-gradient(135deg, #1B2F5F, #3053a3);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
}

.modern-table tbody tr {
  background-color: #fff;
  transition: background 0.25s ease, transform 0.2s ease;
}

.modern-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.modern-table tbody tr:hover {
  background: rgba(78,115,223,0.08);
  transform: translateX(2px);
}


.modern-table td {
  padding: 0.6rem 1rem;
  border: none;
}

@media (max-width: 768px) {
  .modern-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
