.bg-getdashboards{
    background-image: url('../img/bg-getdashboards.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

label{
    cursor: pointer;
}


.login-page .card-header img {
    height: 50px;
}

/* Perfil */

.perfil-opcoes input{
    width: 100%;
    padding: 6px;
    border: 1px solid #dddddd;
}

.welcome{
    max-width: 100%;
}

.brand-text {
    font-family: "Roboto";
    font-weight: 500 !important;
}


.form-check-label {
  color: #252525;
}
/* Pagination Navigation */


nav[role="navigation"][aria-label="Pagination Navigation"] {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] > div > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] > div > div:first-of-type {
    margin-right: 1rem;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] > div > div:last-of-type {
    margin-left: 1rem;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] .flex-1 {
    flex: 1;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] .hidden {
    display: none;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    text-transform: uppercase;
    color: #4a5568;
    background-color: #fff;
    border: 1px solid #cbd5e0;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] a:hover,
  nav[role="navigation"][aria-label="Pagination Navigation"] a:focus {
    color: #2d3748;
    background-color: #e2e8f0;
    border-color: #cbd5e0;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] a[rel="next"] {
    margin-left: 0.5rem;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] a[aria-label="Go to page 2"] {
    margin-left: -1px;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] span[aria-current="page"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    text-transform: uppercase;
    color: #2d3748;
    background-color: #e2e8f0;
    border: 1px solid #cbd5e0;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] span[aria-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] span.relative {
    position: relative;
    z-index: 0;
  }
  
  nav[role="navigation"][aria-label="Pagination Navigation"] span.relative svg {
    display: inline-block;
    fill: currentColor;
    height: 1em;
    width: 1em;
    vertical-align: -0.125em;
  }
  
  /* Tagging Basic Style */
  .tagging {
    border: 1px solid #CCCCCC;
    font-size: 1em;
    height: auto;
    padding: 10px 10px 15px;
  }
  
  .tagging.editable {
    cursor: text;
  }
  
  .tag {
    background: none repeat scroll 0 0 #000000;
    border-radius: 2px;
    color: white;
    cursor: default;
    display: inline-block;
    position: relative;
    white-space: nowrap;
    padding: 4px 20px 4px 0;
    margin: 5px 10px 0 0;
  }
  
  .tag span {
    background: none repeat scroll 0 0 #3e028d;
    border-radius: 2px 0 0 2px;
    margin-right: 5px;
    padding: 5px 10px 5px;
  }
  
  .tag .tag-i {
    color: white;
    cursor: pointer;
    font-size: 1.3em;
    height: 0;
    line-height: 0.1em;
    position: absolute;
    right: 5px;
    top: 0.7em;
    text-align: center;
    width: 10px;
  }
  
  .tag .tag-i:hover {
    color: black;
    text-decoration: underline;
  }
  
  .type-zone {
    border: 0 none;
    height: auto;
    width: auto;
    min-width: 20px;
    display: inline-block;
  }
  
  .type-zone:focus {
    outline: none;
  }

  
  
/* Paginação */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.pagination li {
  margin-right: 10px;
}

.pagination li a {
  display: inline-block;
  padding: 5px 10px;
  background-color: #f1f1f1;
  color: #1b84ff;
  text-decoration: none;
  border-radius: 5px;
}

.pagination li a:hover {
  color: #f1f1f1;
  background-color: #1b84ff;
}

.pagination li.active span {
  background-color: #1b84ff;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}


.btn-social {
  background-color: black;
  color: #FFFFFF !important;
}



/* switch */
.switch {
  opacity: 0;
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.switch + .switch-body {
  position: relative;
  display: inline-block;
  margin: 0;
  cursor: pointer;
  float: left;
  margin-right: 10px;
}
.switch + .switch-body:before {
  content: "";
  cursor: pointer;
  display: inline-block;
  position: relative;
  border-radius: 100px;
  top: auto;
}
.switch + .switch-body + .switch-text {
  display: inline-block;
  padding-top: 3px;
}
.switch.switch-bootstrap + .switch-body:before {
  background-color: #d2d9e1;
  width: 50px;
  height: 30px;
  -webkit-transition: background 0.1s ease;
  -o-transition: background 0.1s ease;
  transition: background 0.1s ease;
}
.switch.switch-bootstrap + .switch-body:after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  background-color: #fff;
  border: 4px solid #fff;
  -webkit-transition: left 0.2s ease;
  -o-transition: left 0.2s ease;
  transition: left 0.2s ease;
}
.switch.switch-bootstrap:checked + .switch-body:after {
  left: 21px;
  background-color: #FFF;
  border: 4px solid #FFF;
  text-shadow: 0 -1px 0 rgba(0, 200, 0, 0.25);
}
/* CSS3 on/off switches */
.switch-primary > .switch.switch-bootstrap:checked + .switch-body::before {
  background-color: #1dcc7d;
}
.switch-success > .switch.switch-bootstrap:checked + .switch-body::before {
  background-color: #5cb85c;
}
.switch-danger > .switch.switch-bootstrap:checked + .switch-body::before {
  background-color: #d9534f;
}
.switch-info > .switch.switch-bootstrap:checked + .switch-body::before {
  background-color: #5bc0de;
}
.switch-warning > .switch.switch-bootstrap:checked + .switch-body::before {
  background-color: #f0ad4e;
}

.red_icon i {
  color: red;
  opacity: 0.6;
}

.green_icon i {
  color: #28a745;
  opacity: 0.7;
}

#box_count i{font-size: 40px;}


.select2-container .select2-selection--single {
  height: calc(2.25rem + 2px);
  line-height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  color: #495057;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  top: 50%;
  margin-top: -0.225rem;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: calc(2.25rem + 2px);
}

.select2-container .select2-selection--single .select2-selection__placeholder {
  color: #6c757d;
}

.sidebar-collapse .sidebar-custom .pos-right{
  display: none;
}

.logo-mobile-topo{
  display: none;
}

.brand-mobile{
  height: 40px;
  margin-top: -5px;
}

.brand-text-mobile{
  font-family: "Roboto";
  font-weight: 500 !important;
  font-size: 1.25rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .logo-mobile-topo {
    display: block;
    width: 90%;
    text-align: center;
    position: fixed;
    z-index: 0;
  }
  .navbar-nav{
    z-index: 1;
  }
}



.cta-financeiro {
  position: fixed;
  bottom: 10px;
  right: 48%;
  z-index: 1050;
  display: none;
}

/* Estilo do botão principal */
.cta-financeiro .dropdown-icon {
  background-color: #00a865;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-financeiro .dropdown-icon i{
  color: white;
}

.cta-financeiro .dropdown-icon:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Ajusta o menu dropdown */
.cta-financeiro .dropdown-menu {
  min-width: 200px;
  right: 0;
  left: -70px !important;
  transform: translateY(-20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

/* Estilo dos itens do dropdown */
.cta-financeiro .dropdown-item {
  padding: 10px 20px;
  font-size: 16px;
  color: #343a40;
}

.cta-financeiro .dropdown-item:hover {
  background-color: #00a865;
  color: white;
}

.cta-financeiro .dropdown-item-despesa:hover {
  background-color: #ba1402;
  color: white;
}

.cta-financeiro .dropdown-item-transferir:hover {
  background-color: #000ba8;
  color: white;
}

/* Separador */
.cta-financeiro .dropdown-divider {
  margin: 5px 0;
}

.sticky-top-div {
  position: relative;
  width: 100%; /* Garante que a div tenha a largura do container */
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
  padding: 10px;
  box-sizing: border-box;  /* Para garantir que o padding não afete a largura */
}


[data-kt-sticky-header="on"] .sticky-top-div {
  width: initial;
  left: 350px !important;
}

.aside-fixed.aside-secondary-enabled[data-kt-sticky-header=on][data-kt-aside-minimize=on] .sticky-top-div {
  left: 80px !important;
}


.box-filtro-lancamento {
  margin-top: -26px;
}

.cta-status{cursor: pointer;}

.nav-receita .active{
  border-bottom: 2px solid #17c653 !important;
}
.nav-despesa .active{
  border-bottom: 2px solid #f8285a !important;
}

.nav-receita .nav-link:hover{
  border-bottom: 2px solid #17c653 !important;
}
.nav-despesa .nav-link:hover{
  border-bottom: 2px solid #f8285a !important;
}

.resumo-box{
 background-color: #FFFFFF;
 min-height: 64px;
}

/* Classe para tornar a div fixa */
.fixed-top {
  position: fixed;
  top: 0;
  padding-top: 74px;
  right: 0;
  left: auto;
  /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);*/
}

.fixed-top .small-box , .fixed-top .mb-3{
  margin: 0 !important;
}

.layout-fixed .form-group , .layout-fixed label { margin-bottom: 0; }

[data-bs-theme=dark] .text-dark {
  color: #ffffff !important;
}

[data-bs-theme=dark] .sticky-top-div {
  background-color: #1b1c22;
  border-bottom: 1px solid #060d20;
}


[data-bs-theme=dark] .item:nth-child(odd) {
  background-color: #0f1014;
}

[data-bs-theme=dark] .item:nth-child(even) {
  background-color: #191c22;
}

[data-bs-theme=dark] .stepper.stepper-pills .stepper-item.current .stepper-label .stepper-title {
  color: #ffffff;
}





.card-body-js {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px; /* Define altura fixa para manter o alinhamento */
}

.card-body-js canvas {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 350px !important;
  display: block;
  box-sizing: border-box;
}

.input-color-large {
    height: 40px; /* Ajuste a altura conforme necessário */
}

.item:nth-child(odd) {
  background-color: #ffffff; /* Cor para linhas ímpares */
}

.item:nth-child(even) {
  background-color: #f8f9fa; /* Cor para linhas pares */
}

.select2-container .select2-selection--single {
  height: 44px !important;

}

.stepper.stepper-pills .stepper-item .stepper-label .stepper-title {
  color: #99a1b7;
}

.stepper.stepper-pills .stepper-item.current .stepper-label .stepper-title {
  color: #000000;
}

.stepper.stepper-pills .stepper-item.current .stepper-label .stepper-desc {
  color: #535353;
}

.txt-pesq{
  cursor: pointer;
}


@media(max-width: 320px){
.page-wrapper>.container-fluid {
 padding: 35px 10px;
}
}


@media(max-width: 767px){

.small-box h3, .small-box p{
margin: 0;
}
.small-box {
margin-bottom: 10px;
}

.card-body.p-0 .table tbody>tr>td:first-of-type, .card-body.p-0 .table tbody>tr>td:last-of-type {
padding: 0.5rem;
}
.cta-financeiro {
  right: 42%;
}

.cta-nav-caixa span{
  display: none;
}

.cta-nav-caixa{
  padding-left: 6px !important;
  padding-right: 6px !important;
}

#search-input{
  width: auto !important;
}

.container, .container-xxl, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl {
  padding: 0 10px !important;
}


}




.exibir-pessoal{
  background-image: url(../assets/media/patterns/header-bg-pessoal.png) !important;
  --bs-primary: #00a865 !important;
  --bs-primary-active: #00a865 !important;
  --bs-primary-hover: #00a865 !important;
  --bs-primary-focus: #00a865 !important;
  --bs-primary-border: #00a865 !important;
  --bs-primary-border-active: #00a865 !important;
  --bs-primary-border-hover: #00a865 !important;
  --bs-primary-border-focus: #00a865 !important;
  --bs-primary-text: #00a865 !important;
  --bs-primary-text-active: #00a865 !important;
  --bs-primary-text-hover: #00a865 !important;
  --bs-primary-text-focus: #00a865 !important;
  --bs-primary-bg: #00a865 !important;
  --bs-primary-bg-active: #00a865 !important;
  --bs-primary-bg-hover: #00a865 !important;
  --bs-primary-bg-focus: #00a865 !important;
  --bs-primary-bg-border: #00a865 !important;
  --bs-primary-bg-border-active: #00a865 !important;
  --bs-primary-bg-border-hover: #00a865 !important;
  --bs-primary-bg-border-focus: #00a865 !important;
  --bs-primary-bg-text: #00a865 !important;
  --bs-primary-bg-text-active: #00a865 !important;
  --bs-primary-bg-text-hover: #00a865 !important;
  --bs-primary-bg-text-focus: #00a865 !important; 
}

.exibir-pessoal .h-pessoal{
  display: none !important;
}

.header {
  z-index: 1030 !important;
}

#submit-button {
  position: static; /* Posição padrão */
  z-index: 1;
}

#submit-button.fixed {
  position: fixed;
  bottom: 15px;
  z-index: 1000;
}

#submit-button.at-bottom {
  position: static; /* Volta para a posição padrão */
  z-index: 1;
}

/* Estilo para multiSelect */
.multiselect-container{
  width: 100%;
  position: relative;
  display: flex;  
  flex-direction: row;
  align-items: center;
  overflow: visible;
  vertical-align: middle;
}
.multiselect-label{
  font-weight: bold;
  font-size: 14px;
  margin: 0 5px
}
.multiselect-data-container{
  position: relative;
  overflow: visible;
  vertical-align: middle;
  width: 100%;
}
.multiselect-button{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  color: #333;
  cursor: pointer;
}

.multiselect-text{
  border: 0;
  padding: 3px 0;
  width: 100%;
}

.multiselect-button input,
.multiselect-button b{
  pointer-events: none;
}

.multiselect-list{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
  max-height: 250px;
  width: 100%;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 6px 12px rgba(0,0,0,.175);
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-clip: padding-box;
  border-radius: 4px;
  list-style-type: none;
  overflow: auto;
  z-index: 1000;
}

.multiselect-item-label{
  display:block;
  height: 100%;
  border: 1px solid transparent;  
}

.multiselect-item-label--active{
  border: 1px solid #b7b7b7;  
}

.multiselect-clear{
  padding: 0 5px; 
}

.carret{
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0;
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.multiselect-item-label--select-all{
  font-weight: bold;
  border-bottom: 1px solid #b7b7b7;
  padding: 5px;
}


.cta-filtrar{
  border-radius: 6px !important;
}

.modal{
  z-index: 100000 !important;
}



.dashboard .card-header {
  min-height: 50px;
}


#saldoTabsContent td {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.exibir-empresarial .b-pessoal {
  display: none !important;
}

.exibir-pessoal .b-pessoal {
  display: block !important;
}

.breadcrumb .breadcrumb-item:first-child > .bullet {
    display: none;
}


.swal2-container {
    z-index: 9999999 !important;
}

@media (min-width: 1200px) {
  .fs-2hx {
    font-size: 2.0rem !important;
  }
}
/*
@media (min-width: 992px) {
  .aside .aside-secondary .aside-workspace {
    width: 275px;
    flex-shrink: 0;
  }
  .aside-secondary-enabled .aside {
    width: 375px;
  }

  .aside-secondary-enabled.aside-fixed .wrapper {
    padding-left: 375px;
  }
} */

@media (max-width: 1200px) {
  .fs-2hx {
      font-size: 2.0rem !important;
  }
}

@media (max-width: 1024px) {
  .fs-2hx {
      font-size: 1.5rem !important;
  }

  .fs-6 {
    font-size: 0.8rem !important;
    }

  #resumo-caixa .card{
    margin-bottom: 0 !important;
  }

  #resumo-caixa .card{
    margin-bottom: 0 !important;
  }

  .w-35px {
    width: 20px !important;
  }

}

@media (max-width: 991px) {

  .drawer.drawer-on {
    z-index: 100000000;
  }

  [data-kt-sticky-header="on"] .sticky-top-div {
    left: 0 !important;
  }

  .header {
    background: #FFFFFF;
  }

  .cta-financeiro {
    display: block;
  }
  .cta-financeiro-topo .cta-acao-topo{
    display: none;
  }
}

@media (max-width: 764px) {
  .fs-2hx {
      font-size: 2.1rem !important;
  }

  .cta-filtrar span{
    display: none;  
  }

  .cta-filtrar{
    padding: calc(0.775rem + 1px) calc(0.5rem + 1px) !important;  
  }
  .cta-filtrar i {
      padding-right: 0 !important;
  }

}


@media (max-width: 575px) {
  .cta-filtro-aplicar{
    display: block;
    width: 100%;
  }
}

@media (max-width: 375px) {
  .fs-2hx {
      font-size: 2.1rem !important;
  }

  .ms-2 {
    margin-left: 2px !important;
  }

}

@media (max-width: 320px) {
  .h-30px {
    height: 21px !important;
  }
}

/* ===== KANBAN BOARD STYLES ===== */
.kanban-board {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 20px;
    min-height: 70vh;
}

.kanban-column {
    min-width: 320px;
    max-width: 320px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    overflow: visible;
}

.kanban-column-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.kanban-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    border-left: 4px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    cursor: grab;
    transition: all 0.2s ease;
    position: relative;
    overflow: visible !important;
}

.kanban-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card.completed {
    opacity: 0.7;
    background: #f8f9fa;
}

.kanban-card.priority-baixa { border-left-color: #28a745 !important; }
.kanban-card.priority-media { border-left-color: #ffc107 !important; }
.kanban-card.priority-alta { border-left-color: #ff8c00 !important; }
.kanban-card.priority-urgente { border-left-color: #dc143c !important; }

/* Dropdown nos cards - garantir que fique por cima */
.kanban-card .dropdown {
    position: relative;
    z-index: 1000;
}

.kanban-card .dropdown-toggle {
    z-index: 1001 !important;
    position: relative !important;
    border: none !important;
    background: transparent !important;
}

.kanban-card .dropdown-toggle:focus,
.kanban-card .dropdown-toggle:active {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
    background: transparent !important;
}

.kanban-card .dropdown-menu {
    z-index: 99999 !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    margin-top: 5px !important;
}

.kanban-card .dropdown.show .dropdown-menu {
    display: block !important;
    z-index: 99999 !important;
    position: absolute !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Quando dropdown está aberto, elevar o z-index do card inteiro */
.kanban-card:has(.dropdown.show),
.kanban-card.dropdown-open {
    z-index: 9999 !important;
    position: relative !important;
}

/* Estilos específicos para dropdown aberto */
.kanban-card.dropdown-open .dropdown-menu {
    z-index: 99999 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fallback para navegadores sem suporte ao :has() */
.kanban-card.dropdown-open {
    z-index: 1000;
    position: relative;
}

/* Garantir que o botão do dropdown não seja coberto */
.kanban-card .btn-icon {
    z-index: 1002;
    position: relative;
}

.cards-container {
    overflow: visible;
}

.card-label {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    color: white;
    margin: 2px 2px 2px 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.dropzone {
    min-height: 40px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 8px;
    transition: all 0.2s ease;
}

.dropzone:hover {
    border-color: #007bff;
    background-color: #f8f9ff;
}

.dropzone.drag-over {
    border-color: #007bff;
    background-color: #e3f2fd;
}

.sortable-ghost {
    opacity: 0.5;
    transform: rotate(2deg);
}

.sortable-chosen {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.sortable-drag {
    transform: rotate(5deg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.kanban-board::-webkit-scrollbar {
    height: 8px;
}

.kanban-board::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.kanban-board::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.kanban-board::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Estilos para Select2 nos modais Kanban */
.modal .select2-container {
    z-index: 9999 !important;
}

.modal .select2-dropdown {
    z-index: 9999 !important;
}

.select2-container--bootstrap4 .select2-selection {
    border: 1px solid #e4e6ef !important;
    border-radius: 0.475rem !important;
    height: calc(1.5em + 1.3rem + 2px) !important;
}

.select2-container--bootstrap4 .select2-selection__rendered {
    line-height: calc(1.5em + 1.3rem) !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Badge customizado para prioridade alta (orange) */
.badge-light-orange {
    background-color: #ffe4cc !important;
    color: #ff8c00 !important;
}

.badge-light-orange:hover {
    background-color: #ffd9b3 !important;
    color: #ff7700 !important;
}

/* Evitar scroll automático quando modal abre */
.modal {
    overflow-y: auto !important;
}

.modal-dialog {
    margin: 1.75rem auto !important;
}

/* Manter posição do scroll quando modal abre */
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

/* Estilos específicos para os modais estilo Trello */
#kt_modal_edit_card .modal-content,
#kt_modal_add_card .modal-content {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

#kt_modal_edit_card .modal-header,
#kt_modal_add_card .modal-header {
    border-bottom: 1px solid #e4e6ef;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

#kt_modal_edit_card .form-control-sm,
#kt_modal_edit_card .form-select-sm,
#kt_modal_add_card .form-control-sm,
#kt_modal_add_card .form-select-sm {
    font-size: 13px;
    padding: 0.5rem 0.75rem;
}

#kt_modal_edit_card .badge-sm,
#kt_modal_add_card .badge-sm {
    font-size: 10px;
    padding: 0.25rem 0.5rem;
}

#kt_modal_edit_card .text-muted,
#kt_modal_add_card .text-muted {
    color: #7e8299 !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#kt_modal_edit_card #card_history_content {
    font-size: 12px;
}

#kt_modal_edit_card #card_history_content .history-item {
    padding: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    border-radius: 6px;
    background-color: white !important;
    border: 1px solid #e4e6ef;
}

#kt_modal_edit_card #card_history_content .badge {
    font-size: 9px;
    padding: 0.2rem 0.4rem;
}

/* Estilo para o botão Adicionar Lista */
.add-list-btn {
    transition: all 0.3s ease !important;
    border: 2px dashed #bbbbbb !important;
}

.add-list-btn:hover {
    background-color: #bbbbbb !important;
    border-color: #bbbbbb !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(62, 151, 255, 0.3);
}

.add-list-btn:hover .text-primary {
    color: white !important;
}

.add-list-btn:hover i {
    color: white !important;
}

.add-list-btn:active {
    transform: translateY(0px);
}

/* ===== KANBAN MOBILE RESPONSIVO ===== */
@media (max-width: 768px) {
    .kanban-board {
        padding: 10px;
        gap: 15px;
        min-height: 60vh;
    }
    
    .kanban-column {
        min-width: 280px;
        max-width: 280px;
        padding: 15px;
    }
    
    .kanban-card {
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .card-label {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    #kt_modal_edit_card .modal-header,
    #kt_modal_add_card .modal-header {
        padding: 1rem;
    }
    
    #kt_modal_edit_card .form-control-sm,
    #kt_modal_edit_card .form-select-sm,
    #kt_modal_add_card .form-control-sm,
    #kt_modal_add_card .form-select-sm {
        font-size: 14px;
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .kanban-board {
        padding: 8px;
        gap: 12px;
    }
    
    .kanban-column {
        min-width: 260px;
        max-width: 260px;
        padding: 12px;
    }
    
    .kanban-column-header {
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
    
    .kanban-card {
        padding: 10px;
        margin-bottom: 8px;
        border-radius: 6px;
    }
    
    .kanban-card:hover {
        transform: none; /* Desabilitar animação de hover em mobile */
    }
    
    .dropzone {
        min-height: 35px;
        padding: 6px;
    }
    
    .add-list-btn:hover {
        transform: none; /* Desabilitar animação de hover em mobile */
    }
    
    /* Modal fullscreen em mobile */
    .modal-dialog {
        margin: 0.5rem !important;
        max-width: calc(100% - 1rem) !important;
    }
    
    #kt_modal_edit_card .modal-content,
    #kt_modal_add_card .modal-content {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .kanban-column {
        min-width: 240px;
        max-width: 240px;
        padding: 10px;
    }
    
    .kanban-card {
        padding: 8px;
        border-radius: 4px;
    }
    
    .card-label {
        font-size: 8px;
        padding: 2px 5px;
        margin: 1px 1px 1px 0;
    }
    
    .kanban-board::-webkit-scrollbar {
        height: 6px;
    }
}

@media (max-width: 375px) {
    .kanban-board {
        padding: 5px;
        gap: 10px;
    }
    
    .kanban-column {
        min-width: 220px;
        max-width: 220px;
        padding: 8px;
    }
    
    .kanban-card {
        padding: 6px;
        margin-bottom: 6px;
    }
    
    .dropzone {
        min-height: 30px;
        padding: 4px;
    }
}

@media (max-width: 320px) {
    .kanban-column {
        min-width: 200px;
        max-width: 200px;
        padding: 6px;
    }
    
    .kanban-card {
        padding: 5px;
        font-size: 12px;
    }
    
    .card-label {
        font-size: 7px;
        padding: 1px 4px;
    }
    
    .kanban-column-header {
        padding-bottom: 8px;
        margin-bottom: 8px;
        font-size: 14px;
    }
}

/* Global Task Sidebar Styles */
.task-item {
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.task-item:hover {
    transform: translateX(2px);
    border-left-color: var(--bs-primary);
}

.task-item.priority-high {
    border-left-color: var(--bs-danger);
}

.task-item.priority-medium {
    border-left-color: var(--bs-warning);
}

.task-item.priority-low {
    border-left-color: var(--bs-success);
}

.task-badge-counter {
    min-width: 10px !important;
    height: 16px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 600;
    z-index: 1050 !important;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--bs-danger-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--bs-danger-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--bs-danger-rgb), 0);
    }
}

.task-empty-state {
    opacity: 0.7;
}

.task-section-header {
    border-bottom: 1px solid rgba(var(--bs-gray-300-rgb), 0.5);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

/* Dashboard Project Cards */
.card-custom {
    transition: all 0.2s ease;
}

.card-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-progress-bar {
    height: 5px;
    border-radius: 3px;
    overflow: hidden;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--bs-gray-600);
}

.dashboard-metric {
    text-align: center;
    padding: 1rem;
}

.dashboard-metric .metric-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.dashboard-metric .metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--bs-gray-500);
}

.border-hover-primary:hover {
    border-color: var(--bs-primary) !important;
}

@media (max-width: 768px) {
    .dashboard-metric {
        padding: 0.75rem 0.5rem;
    }
    
    .dashboard-metric .metric-value {
        font-size: 1.5rem;
    }
}

.app-sidebar .menu > .menu-item > .menu-link {
    padding: 6px;
}

