.calendar_preloader {
  opacity: 0.8;
  text-align: center;
  display: flex;
  background-color: #f4f6f9;
  height: 100vh;
  width: 100%;
  transition: height 200ms linear;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
}

/** FULL CALENDAR **/

.fc {
  --fc-today-bg-color: rgba(255, 220, 40, 0.35); /* cor atual padrão */
}

.floating-button {
  position: fixed;
  bottom:50px;
  right:20px;
  z-index: 1000;
  opacity: 0.8;
}

.floating-button:hover{
  opacity: 1;
}

.fc .fc-toolbar.fc-header-toolbar {
  margin-bottom: 0;
  padding-bottom: 0;
}

.fc .fc-toolbar-title {
  font-size: 1.2em;
  display: inline-block;
}

.fc-event-title {
  display: none;
}

.fc-event-title-custom {
  top: 0;
  bottom: 0;
  max-height: 100%;
  overflow: hidden;
}

/*.main-footer {
    display: none;
}*/

.fc-button.fc-update-button {
  position: relative;
  padding-left: 30px;
}

.fc-button.fc-update-button::before {
  content: "\f021"; /* Código Unicode do ícone Font Awesome */
  font-family: "Font Awesome 6 Free";
  font-weight: 100;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.fc-toolbar-chunk {
  margin-bottom: 5px;
}

.fc-button-group {
  display: flex;
  gap: 2px;
  margin-bottom: 5px;
}

.fc-button span {
  display: inline-block;
}

.fc-list {
  width: 100%;
}

@media (max-width: 768px) {
  .fc-button-group {
    display: flex !important;
    gap: 2px;
    margin-bottom: 5px;
  }

  .fc-toolbar-chunk:nth-child(2),
  .fc-toolbar-chunk:nth-child(3) {
    display: none;
  }

  /* Exibe o botão de "Mostrar Mais" */
  .show-more-button {
    display: block;
    margin: 10px auto;
    text-align: center;
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0 40px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
  }
}

.fc .fc-non-business {
  background: repeating-linear-gradient(
    45deg,            /* Ângulo horizontal */
    rgba(0,0,0,0.4),         /* Cor 1 */
    rgba(0,0,0,0.4) 20px,    /* Fim da cor 1 */
    rgba(0,0,0,0.38) 20px,    /* Início da cor 2 */
    rgba(0,0,0,0.38) 40px     /* Fim da cor 2 */
  ) !important;
}


/** FULL CALENDAR **/


/* Estilos personalizados para o modal abrir na lateral direita */


/*#eventModal .modal-dialog
{
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
}*/

/*.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh);
  overflow: hidden;
}*/


.modal.right .modal-dialog {
  position: fixed;
  margin: 0;
  padding: 0;
  width: 100vw; /* 100% da largura da viewport */
  height: 100vh; /* 100% da altura da viewport */
  right: 0;
  top: 0;
  bottom: 0;
  left: auto;
  transform: translate3d(0, 0, 0);
}

.modal.right .modal-content {
  /*height: 100vh; /* 100% da altura da viewport */
  max-height: calc(100vh);
  overflow-y: hidden;
  padding: 0; /* Remover o padding */
  margin: 0; /* Remover o margin */
  border: 0; /* Remover a borda se necessário */
  border-radius: 0; /* Remover o border-radius */
}

.modal.right.fade .modal-dialog {
  right: -100vw; /* 100% da largura da viewport */
  transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog {
  right: 0;
}

.modal-header,
.modal-footer {
  padding: 1rem; /* Adicione padding conforme necessário */
}

.modal-body {
  padding: 1rem; /* Adicione padding conforme necessário */
}

.text-strike {
  text-decoration: line-through;
}

/*
 * Relatórios React (embed no AdminLTE): mesmo que o bundle Vite carregue antes/depois,
 * garantir cabeçalho sticky — ver comentário em ikropp-frontend/src/app/globals.css
 */
[id$='-report-root'] .table.table-head-fixed {
  border-collapse: separate;
  border-spacing: 0;
}

[id$='-report-root'] .table-responsive,
[id$='-report-root'] .ikropp-datatable-wrap {
  overflow-x: auto;
  overflow-y: clip;
  -webkit-overflow-scrolling: touch;
}

[id$='-report-root'] .table.table-head-fixed thead tr:nth-child(1) th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #fff;
  border-bottom: 0;
  box-shadow: inset 0 1px 0 #dee2e6, inset 0 -1px 0 #dee2e6;
}

[id$='-report-root'] .table.table-head-fixed thead.thead-light tr:nth-child(1) th {
  background-color: #e9ecef;
}

[id$='-report-root'] .ikropp-datatable-wrap .ikropp-datatable.table-head-fixed thead th.ikropp-datatable__actions {
  z-index: 11;
  background-color: #e9ecef;
  box-shadow: inset 0 1px 0 #dee2e6, inset 0 -1px 0 #dee2e6, -6px 0 8px -6px rgba(0, 0, 0, 0.12);
}
