:root {
  --hot-primary-color: #7d0001;
  --hot-secondary-color: #b20002;
  --hot-accent-color: #e89f02;
  --hot-background-color: #e5e6e7;
  --hot-text-color: #d60f12;
  --hot-white: #ffffff;
  --hot-light-gray: #f8f9fa;
  --hot-medium-gray: #6c757d;
  --hot-dark-gray: #495057;
  --hot-black: #000000;

  --hot-red-primary: #f5140a;
  --hot-red-primary-hover: #c41008;
  --hot-red-primary-focus: #b00e07;
  --hot-red-secondary: #f54311;
  --hot-orange-primary: #f56b11;
  --hot-orange-secondary: #f59311;
  --hot-orange-light: #f59d84;

  --hot-remover: #dc2626;
  --hot-alterar: #2563eb;
  --hot-abandonar: #f8f9fa;
  --hot-abandonar-hover: #e0e1e2;
}


body.modal-open,
body:has(.note-modal.open) {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}


.btn-base,
.btn-primary-hot,
.btn-secondary-hot,
.btn-success-hot,
.hot-login-submit,
.hot-btn-primary,
.btn,
.btn-primary,
.btn-secondary,
.btn-success {
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-primary-hot,
.hot-login-submit,
.hot-btn-primary,
.btn-primary {
  background: var(--hot-red-primary);
  color: var(--hot-white);
}

.hot-btn-primary:focus,
.btn-primary:focus {
  background: var(--hot-red-primary-focus) !important;
  color: var(--hot-white) !important;
}

.btn-primary-hot:hover,
.hot-login-submit:hover,
.hot-btn-primary:hover,
.btn-primary:hover {
  background: var(--hot-red-primary-hover);
  color: var(--hot-white);
}

.btn-secondary-hot,
.btn-secondary {
  background: var(--hot-abandonar);
  color: var(--hot-black);
}

.btn-secondary-hot:hover,
.btn-secondary:hover {
  background: var(--hot-abandonar-hover);
  color: var(--hot-black);
}

.btn-success-hot,
.btn-success {
  background: linear-gradient(
    135deg,
    var(--hot-orange-primary) 0%,
    var(--hot-orange-secondary) 100%
  );
  color: var(--hot-white);
}

.btn-success-hot:hover,
.btn-success:hover {
  background: linear-gradient(135deg, #e05a0f 0%, #e0830f 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 107, 17, 0.3);
}

.hot-login-submit:disabled,
.hot-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.hot-login-submit:disabled:hover,
.hot-btn-primary:disabled:hover {
  transform: none;
  box-shadow: none;
}

.nav-underline {
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 0;
}

.nav-underline .nav-item {
  margin-right: 0;
}

.nav-underline .nav-link {
  background-color: transparent;
  border: none;
  color: var(--hot-medium-gray);
  font-weight: 500;
  padding: 12px 20px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.nav-underline .nav-link:hover {
  color: var(--hot-primary-color);
  background-color: transparent;
  border-bottom-color: rgba(125, 0, 1, 0.3);
}

.nav-underline .nav-link.active {
  color: var(--hot-primary-color);
  background-color: transparent;
  border-bottom-color: var(--hot-primary-color);
  font-weight: 600;
}

.nav-underline .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--hot-primary-color);
}
.form-label {
  font-weight: 600;
  color: #272727;
  margin-bottom: 8px;
  display: block;
  font-size: 0.9rem;
}

.form-control {
  padding: 12px 10px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: var(--hot-white);
  width: 100%;
  font-weight: 500;
  color: #333;
  align-items: baseline;
}

.form-control::placeholder {
  color: #adb5bd;
  font-weight: 400;
}

.form-select {
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: var(--hot-white);
  width: 100%;
  font-weight: 500;
  color: #333;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 12px;
  padding-right: 40px;
}

.form-select:focus {
  border-color: var(--hot-red-secondary) !important;
  box-shadow: 0 0 0 0.2rem rgba(245, 20, 10, 0.25) !important;
  background-color: var(--hot-white);
  outline: none;
  color: #333;
}

.form-select option {
  padding: 8px 12px;
  font-weight: 500;
  color: #333;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.campo-obrigatorio .form-label::after {
  content: "*";
  color: var(--hot-red-primary);
  margin-left: 4px;
  font-weight: bold;
}

.hot-opcional {
  color: #6c757d;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 5px;
  font-weight: 500;
}

.form-control.is-invalid {
  border-color: #dc3545;
  background: #fff5f5;
}

.form-control.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-control.is-valid {
  border-color: #28a745;
  background: #f0fff4;
}

.form-control.is-valid:focus {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.form-control:disabled,
.form-select:disabled {
  background-color: #e9ecef;
  opacity: 0.6;
  cursor: not-allowed;
  color: #6c757d;
}

.form-control[readonly] {
  background-color: #f8f9fa;
  border-color: #e9ecef;
  color: #6c757d;
}

.input-group .form-control {
  border-radius: 8px;
}

.input-group .form-control:focus {
  border-radius: 8px;
}

.hsyDatePicker {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 4h10M3 8h10M3 12h10'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 12px;
  padding-right: 40px;
}

.hot-numerico {
  text-align: right;
}

.hot-image {
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.hot-image:hover {
  border-color: var(--hot-red-primary);
  background-color: rgba(245, 20, 10, 0.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-underline {
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 0;
  position: relative;
}

.nav-item {
  margin-right: 0;
}

.nav-link {
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: transparent;
  border: 2px solid transparent;
  color: var(--hot-medium-gray);
  font-weight: 500;
  border-radius: 8px 8px 0 0;
  margin-right: 2px;
  border-bottom: none;
  text-decoration: none !important;
}

.nav-link:hover {
  background-color: rgba(178, 0, 2, 0.1);
  border-color: transparent;
  color: var(--hot-primary-color);
  border-bottom: none;
  text-decoration: none !important;
}

.nav-link.active {
  background-color: var(--hot-white) !important;
  border-color: var(--hot-primary-color) var(--hot-primary-color)
    var(--hot-white) !important;
  color: var(--hot-primary-color) !important;
  border-bottom: 2px solid var(--hot-white) !important;
  margin-bottom: -2px !important;
  font-weight: 600;
  z-index: 2;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--hot-primary-color);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
    transform-origin: center;
  }
  to {
    transform: scaleX(1);
    transform-origin: center;
  }
}

.tab-content {
  animation: fadeIn 0.3s ease-in-out;
  display: none;
  min-height: 200px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-color: var(--hot-white);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 1.5rem;
  margin-top: 0;
}

.tab-content.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.6s ease-in-out;
}

#tab-informacoes-pessoais {
  display: block;
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#f_observacoes {
  resize: none;
}

#bt-salvar-membro:hover {
  color: white !important;
}

#bt-salvar-membro:focus {
  color: white !important;
  background-color: var(--hot-red-primary);
}

#bt-abandonar-membro:focus {
  color: black !important;
  background-color: var(--hot-abandonar-hover);
}

.bg-white.dark:bg-gray-800.overflow-hidden.shadow-sm.sm:rounded-lg {
  min-height: 100px;
}

/* ----------------------  Lista Membros   -------------------*/

/* === HEADER DA TABELA === */
.userDatatable-header th {
  border-bottom: none;
  padding: 13px 20px 16px 0px;
  vertical-align: middle;
  background: #f3f3f3;
}

.th-inicio {
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
  padding-left: 20px !important;
  padding-right: 0px !important;
}

.th-fim {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* === BADGES DE STATUS === */
#badge-bg-success{
  background-color: rgba(1, 184, 26, 0.15) !important;
  color: #01b81a !important;
}

#rounded-pill-ativo {
  background-color: rgba(1, 184, 26, 0.15) !important;
  color: #01b81a !important;
  padding: 5px 10px 5px 10px !important;
}

#rounded-pill-inativo {
  background-color: rgba(255, 15, 15, 0.15) !important;
  color: #ff0f0f !important;
  padding: 5px 10px 5px 10px !important;
}

#badge-bg-success {
  background-color: rgba(1, 184, 26, 0.15) !important;
  color: #01b81a !important;
}

#badge-bg-primary {
  background-color: rgba(59, 130, 246, 0.1) !important;
  color: #2563eb;
}

#badge-bg-secondary {
  background-color: rgba(108, 117, 125, 0.1) !important;
  color: rgba(108, 117, 125);
}

/* === SEPARADOR === */
.separador {
  content: " ";
  color: var(--hot-background-color);
  left: 0;
  height: 100%;
  width: 1px;
  background-color: rgb(204, 203, 203);
  line-height: 1.5rem;
}

/* === BOTÕES DE AÇÃO CIRCULARES === */
.orderDatatable_actions {
  display: flex;
  justify-content: end;
}

.orderDatatable_actions li {
  display: inline-block;
}

.orderDatatable_actions li a,
.orderDatatable_email li a,
.orderDatatable_celular li a,
#gridTable_celular {
  padding: 0px !important;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #6b7280;
}

.orderDatatable_email,
.orderDatatable_celular {
  display: block !important;
  margin-bottom: 0.5rem;
}

.orderDatatable_celular {
  margin-bottom: 0;
}

/* === HOVER DOS BOTÕES DE AÇÃO === */
.orderDatatable_actions li a.edit:hover {
  background-color: rgba(0, 170, 255, 0.1);
  color: rgb(0, 170, 255);
}

.orderDatatable_actions li a.delete:hover {
  background-color: rgba(255, 15, 15, 0.15);
  color: #ff0f0f;
}

.orderDatatable_email li a.email:hover,
#gridTable_email i:hover {
  background-color: rgba(138, 43, 226, 0.1);
  color: rgb(138, 43, 226);
}

.orderDatatable_celular li a.celular:hover,
#gridTable_celular i:hover {
  background-color: rgba(37, 211, 102, 0.1);
  color: rgb(37, 211, 102);
}

/* === ÍCONES DOS BOTÕES === */
.orderDatatable_actions li a i,
.orderDatatable_email li a i {
  font-size: 14px;
}

.orderDatatable_celular li a i {
  font-size: 14px;
}

/* === LAYOUT DOS CONTATOS === */
.orderDatatable_email {
  display: flex;
  justify-content: start;
}

.orderDatatable_celular {
  display: flex;
  align-items: center;
  justify-content: start;
}

.orderDatatable_email li,
.orderDatatable_celular li {
  display: inline-block;
}

ul.orderDatatable_email,
ul.orderDatatable_celular {
  padding-inline-start: 0px !important;
}

/* === BOTÕES DE VISUALIZAÇÃO === */
#bt-visualizacao-tabela,
#bt-visualizacao-cards {
  padding: 0px !important;
  width: 35px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #6b7280;
  background: none;
  border: none;
  box-shadow: none;
}

#bt-visualizacao-tabela:hover,
#bt-visualizacao-cards:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

#bt-visualizacao-tabela.ativo,
#bt-visualizacao-cards.ativo {
  background-color: rgba(59, 130, 246, 0.15);
  color: #2563eb;
  font-weight: 600;
}

#bt-visualizacao-tabela i,
#bt-visualizacao-cards i {
  font-size: 14px;
}

/* === DROPDOWN MENU === */
.dropdown .btn {
  background: none;
  border: none;
  color: #6b7280;
  padding: 8px;
  box-shadow: none;
  transition: all 0.3s ease;
}

.dropdown .btn:hover {
  background-color: rgba(107, 114, 128, 0.1) !important;
  color: #374151 !important;
}

.dropdown .btn:focus {
  box-shadow: none !important;
  background-color: rgba(107, 114, 128, 0.1) !important;
}

.dropdown .btn:active {
  background-color: rgba(107, 114, 128, 0.2) !important;
}

/* === ESTILO DO DROPDOWN MENU === */
.dropdown-menu {
  min-width: 160px;
  padding: px 0;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #ffffff;
}

.dropdown-item {
  padding: 8px 16px;
  font-size: 0.875rem;
  color: #374151;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #1f2937;
}

.dropdown-item:focus {
  background-color: #f8f9fa;
  color: #1f2937;
  outline: none;
}

/* === HOVER ESPECÍFICO DOS ITENS DO DROPDOWN === */
.dropdown-item.bt-Alterar:hover,
.btn.bt-Alterar:hover,
#bt-Alterar:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.dropdown-item.bt-Ver:hover,
.btn.bt-Ver:hover,
#bt-Ver:hover {
  background-color: rgba(130, 49, 211, 0.1);
  color: #8231d3;
}

.dropdown-item.bt-Ver:hover i {
  color: #8231d3;
}

.dropdown-item.bt-Alterar:hover i {
  color: #2563eb;
}

.dropdown-item.bt-Remover:hover,
#bt-Remover:hover {
  background-color: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.dropdown-item.bt-Remover:hover i {
  color: #dc2626;
}

/* === ÍCONES NO DROPDOWN === */
.dropdown-item i {
  font-size: 14px;
  width: 16px;
  text-align: center;
  color: #6b7280;
  transition: color 0.2s ease;
}

/* === POSICIONAMENTO DO DROPDOWN === */
.dropdown-menu-end {
  position: absolute;
  z-index: 1050;
  right: 0;
  left: auto;
}

.dropdown-menu.show {
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* === TRANSIÇÕES DE VISUALIZAÇÃO === */
.lista,
.card-grid {
  display: none;
  min-height: 200px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  animation: fadeIn 0.3s ease-in-out;
}

.lista.active,
.card-grid.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.4s ease-in-out;
}

.lista {
  display: block;
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* === BOTÕES CARD === */

.btn.bt-Alterar,
.btn.bt-Reativar,
.btn.bt-Ver {
  color: rgb(107, 114, 128);
}

.btn.bt-Reativar:hover,
.dropdown-item.bt-Reativar:hover,
.dropdown-item.bt-Reativar:hover i {
  background-color: rgba(37, 211, 102, 0.1);
  color: rgb(37, 211, 102);
}

.btn.bt-Alterar:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}
.btn.bt-Remover,
.btn.bt-remover-funcao {
  color: rgb(107, 114, 128);
}

.btn.bt-Remover:hover,
.btn.bt-remover-funcao:hover {
  background-color: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.btn-close {
  height: 20px;
  width: 25px;
  border-radius: 50%;
  border: none;
}

.note-modal-header button{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  border:none;
}
.note-modal-header button:hover{
  background-color: rgba(239, 68, 68, 0.1);
  color: rgb(239, 68, 68);

}

.btn-close:hover {
  background-color: rgba(239, 68, 68, 0.1);
  filter: brightness(0) saturate(100%) invert(27%) sepia(95%) saturate(1352%)
    hue-rotate(340deg) brightness(92%) contrast(86%) !important;
}

.btn-close:focus {
  background-color: rgba(239, 68, 68, 0.2);
  filter: invert(27%) sepia(95%) saturate(1352%) hue-rotate(340deg)
    brightness(92%) contrast(86%);
  box-shadow: none;
}


.hot-email-lista-destinatarios {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--hot-white);
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 320px;
  overflow-y: auto;
  z-index: 1050;
  display: none;
  margin-top: 4px;
}

.hot-email-destinatario-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f1f3f4;
}

.hot-email-destinatario-item:last-child {
  border-bottom: none;
}

.hot-email-destinatario-item:hover,
.hot-email-destinatario-item.selecionado {
  background-color: #f1f3f4;
}

.hot-email-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hot-white);
  font-weight: 600;
  font-size: 15px;
  margin-right: 14px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.hot-email-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.hot-email-nome {
  font-weight: 500;
  color: #202124;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-email-endereco {
  font-size: 12px;
  color: var(--hot-medium-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.hot-email-lista-destinatarios::-webkit-scrollbar {
  width: 8px;
}

.hot-email-lista-destinatarios::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.hot-email-lista-destinatarios::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.hot-email-lista-destinatarios::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}


