/* Fever Dark: versão escura (anterior). Ativa quando body tem .dark-mode */
body.dark-mode{
  color: #F2F6FF !important;
}

body.dark-mode small,
body.dark-mode label,
body.dark-mode .text-muted,
body.dark-mode .tx-color-03,
body.dark-mode .tx-gray-600,
body.dark-mode .tx-gray-700,
body.dark-mode .tx-gray-800,
body.dark-mode .form-text,
body.dark-mode .help-block{
  color: #A9B7C9 !important;
}

/* Cards e superfícies escuras */
body.dark-mode .card,
body.dark-mode .card-body,
body.dark-mode .card-header,
body.dark-mode .modal-content,
body.dark-mode .dropdown-menu,
body.dark-mode .content,
body.dark-mode .content-body,
body.dark-mode .mainpanel,
body.dark-mode .panel,
body.dark-mode .box,
body.dark-mode .signin-box{
  background: linear-gradient(180deg, rgba(12, 22, 38, 0.86) 0%, rgba(7, 12, 22, 0.80) 100%) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,0.55) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.dark-mode .card-header,
body.dark-mode .modal-header{
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.72) 0%, rgba(7, 12, 22, 0.64) 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}

/* Inputs escuros */
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea,
body.dark-mode .form-control,
body.dark-mode .custom-select{
  color: #F2F6FF !important;
  background: rgba(6, 12, 24, 0.78) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}

body.dark-mode .form-control:focus,
body.dark-mode input:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus{
  border-color: rgba(0,210,185,0.60) !important;
  box-shadow: 0 0 0 0.22rem rgba(0,210,185,0.18) !important;
}

/* Tabelas escuras */
body.dark-mode table,
body.dark-mode .table{
  color: #F2F6FF !important;
  background: rgba(6, 12, 24, 0.55) !important;
}

body.dark-mode table thead th,
body.dark-mode .table thead th{
  background: rgba(8, 14, 26, 0.86) !important;
  color: #F2F6FF !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}

body.dark-mode table td,
body.dark-mode table th,
body.dark-mode .table td,
body.dark-mode .table th{
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}

body.dark-mode .table-striped tbody tr:nth-of-type(odd){
  background: rgba(255,255,255,0.03) !important;
}

body.dark-mode .table-hover tbody tr:hover{
  background: rgba(0,210,185,0.10) !important;
}

/* DataTables */
body.dark-mode .dataTables_wrapper .dataTables_filter input,
body.dark-mode .dataTables_wrapper .dataTables_length select{
  color: #F2F6FF !important;
  background: rgba(6, 12, 24, 0.78) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}

body.dark-mode .dataTables_wrapper .dataTables_info,
body.dark-mode .dataTables_wrapper .dataTables_paginate{
  color: #A9B7C9 !important;
}

body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button{
  color: #F2F6FF !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button.current{
  background: rgba(0,210,185,0.18) !important;
  border-color: rgba(0,210,185,0.28) !important;
}
