@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* Imports de CSS dos Modulos */
@import url("/pages/collaborators/dependents-management/dependents-management.css");

:root {
  --primary-normal: #f3796f;
  --secondary-dark: #06263b;
  --secondary-normal: #08324f;
  --secondary-light: #667387;
  --secondary-blue-normal: #347eb1;
  --secondary-blue-light: #e2ecf3;
  --gray-subtitle: #7a7a7a;
  --gray-light: #F3F4F8;
  --gray-white: #e6e7ed;
  --gray-border: #e5e7eb;
  --gray-text: #6b7280;
  --green-dark: #23904f;

  --primary-light: #FBD5D2;
  --alert-light: #FBE8C4;
  --positive-light: #BFEBD1;

  --secondary-blue-lighter: #f2f5fc;
  --border-blue: #d5def6;
  --gray-dark: #4c5055;
  --surface-white: #fcfcfc;
  --primary-blue: #2b57c8;

  --font-primary: "Be Vietnam Pro", -apple-system, BlinkMac;
  --font-secondary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Configurar Be Vietnam Pro como fonte principal */
* {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Aplicar a fonte ao body e elementos principais */
body {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

/* Configurar pesos de fonte para headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 600;
}

/* Configurar fonte para inputs e botões */
input,
button,
select,
textarea {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Classes utilitárias para diferentes pesos da fonte */
.font-thin {
  font-weight: 100;
}

.font-extralight {
  font-weight: 200;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-black {
  font-weight: 900;
}

.font-secondary {
  font-family: var(--font-secondary) !important;
}

.text-2xs {
  font-size: 0.625rem !important;
  /* 10px */
}

/* Configuração para Tailwind CSS - sobrescrever fonte padrão */
.font-sans {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.font-secondary {
  font-family: var(--font-secondary) !important;
}

/* Garantir que elementos com classes do Tailwind usem a fonte correta */
.text-xs,
.text-sm,
.text-base,
.text-lg,
.text-xl,
.text-2xl,
.text-3xl,
.text-4xl,
.text-5xl,
.text-6xl {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Aplicar fonte aos componentes de navegação */
.nav-link,
.sidebar,
.header {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Aplicar fonte aos cards e componentes */
.card,
.modal,
.dropdown {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Configuração para elementos de formulário */
.form-input,
.form-select,
.form-textarea {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Garantir que tooltips e elementos flutuantes usem a fonte */
.tooltip,
.popover,
.toast {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.easepick-wrapper {
  z-index: 50 !important;
}

/* Desabilitar setas em inputs do tipo number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.collaborators-page-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: #0f2e46;
}

.collaborators-page-header {
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.collaborators-page-action {
  border-radius: 7px;
  color: var(--secondary-normal);
}

.collaborators-page-action:hover {
  background-color: #eef4fa;
}

.collaborators-page-action-large {
  height: 3rem;
  padding-right: 1rem;
  padding-left: 1rem;
}

.collaborators-page-action-rounded {
  border-radius: 0.5rem;
}

.collaborators-page-action-with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-header-action-icon-visible,
.page-header-search-clear {
  display: flex;
}

.page-header-action-icon-visible {
  align-items: center;
}

.page-header-search-clear.hidden {
  display: none;
}

.collaborators-search-wrapper {
  position: relative;
  flex: 1 1 0%;
}

.collaborators-search-input {
  display: block;
  height: 2.75rem;
  width: 100%;
  border-radius: 7px;
  border: 1px solid #cfd7e2;
  background-color: #ffffff;
  padding-left: 2.25rem;
  padding-right: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  color: #212529;
  outline: none;
}

.collaborators-search-input-with-end-loading {
  padding-right: 2.5rem;
}

.collaborators-search-input::placeholder {
  font-weight: 400;
  color: #66758a;
}

.collaborators-search-input:focus {
  border-color: #8ea7c0;
}

.stats-card-icon-blue {
  background-color: #e8f0ff;
  color: #3f6ec9;
}

.stats-card-icon-green {
  background-color: #cbf0d9;
  color: #2a8a55;
}

.stats-card-icon-red {
  background-color: #fee2e2;
  color: #dc2626;
}

.stats-card-icon-yellow {
  background-color: #fde8ba;
  color: #ba8428;
}

.stats-card-tooltip-sm {
  width: 180px;
}

.stats-card-tooltip-md {
  width: 190px;
}

.stats-card-tooltip-lg {
  width: 200px;
}

.stats-card-tooltip-xl {
  width: 210px;
}

/* Status badge classes */
.status-badge-base {
  display: inline-flex;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
}

.status-badge-active {
  background-color: #d1fae4;
  border: 1px solid #a7e1ca;
  color: #166534;
}

.status-badge-pending {
  background-color: #fef9c3;
  border: 1px solid #fde047;
  color: #854d0e;
}

.status-badge-inactive {
  background-color: #fee2e2;
  border: 1px solid #dc2626;
  color: #dc2626;
}

.search-highlight {
  border-radius: 0.25rem;
  background-color: #fef08a;
  font-weight: 500;
}

/* Settings tab navigation */
.settings-tab-active {
  background-color: #E2ECF3;
  color: #08324F;
  font-weight: 600;
  border-color: transparent;
}

.settings-tab-inactive {
  color: #374151;
  border-color: #d1d5db;
}

.settings-tab-inactive:hover {
  background-color: #f3f4f6;
}
