:root {
  /*--bs-light-rgb: 242, 249, 255;*/
  --bs-light-rgb: 239, 239, 239;
  --bs-body-color: #000000;
  --bs-body-color-rgb: 0, 0, 0;
  --bs-border-color: #D1D1D1;
  --bs-dark-rgb: 15, 63, 85;
}

@media (min-width: 1200px) {
  .modal-xl {
    --bs-modal-width: 950px !important;
  }
}

/* Tipografía global */
html {
  font-size: clamp(14.5px, 0.9vw, 18px);
}

@media (min-width: 1300px) {
  .container-fluid {
    --bs-gutter-x: 4rem;
  }
}

@media (max-width: 1500px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 1200px) {
  html {
    font-size: 13px;
  }
}

@media (max-width: 1023px) {
  html {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 12.5px;
  }

  body {
    font-size: 1.15rem !important;
  }

  .form-control, .form-select {
    font-size: 1.15rem !important;
  }
}

body {
  font-family: "Urbanist", sans-serif;
  font-size: 1rem;
  background-color: #EFEFEF;
  /* Mejora del suavizado de fuente */
  -webkit-font-smoothing: antialiased;
  /* para Chrome, Safari */
  -moz-osx-font-smoothing: grayscale;
  /* para Firefox en macOS */
  /* Ligero ajuste de espaciado y peso */
  font-weight: 400;
  letter-spacing: 0.01em;
  /* Opcional: mejora del contraste */
  text-rendering: optimizeLegibility;
  /* mejora kerning y ligaduras */
}

body.modal-open {
  height: 100vh;
  overflow: hidden !important;
  padding-right: 17px;
}

.modal-backdrop {
  --bs-backdrop-opacity: 0.8;
}

.form-label {
  color: #7a7a7a;
  font-weight: 400;
}

/* Menú de pasos */
.step-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-menu .nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 50px 0 0 50px;
  color: #333;
  font-weight: 400;
  position: relative;
  transition: all 0.2s ease;
}

.step-menu .nav-item:hover {
  background-color: #fff;
  font-weight: 500;
}

.step-menu .nav-item:hover .arrow-icon {
  display: inline !important;
}

.step-menu .nav-item.active {
  background-color: #fff;
  font-weight: 600;
  color: #000;
}

.step-menu .nav-item.active.past {
  background-color: transparent;
}

.icon-circle {
  display: inline-flex;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 2px solid #6F6F6F;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #6F6F6F;
}

.step-menu .nav-item.active .icon-circle {
  background-color: #38d430;
  border: none;
  color: #fff;
}

.text-success {
  color: #51ce51 !important;
}

.bg-success {
  background-color: #51ce51 !important;
}

.bg-darklight {
  background-color: var(--bs-border-color) !important;
}

.border-success {
  border-color: #51ce51 !important;
}

.btn-success {
  background-color: #51ce51 !important;
  border-color: #51ce51 !important;
}

.btn-success:hover {
  background-color: #45b645 !important;
  border-color: #45b645 !important;
}

.text-primary {
  color: #0F3F55 !important;
}

.bg-primary {
  background-color: #0F3F55 !important;
}

.border-primary {
  border-color: #0F3F55 !important;
}

.btn-primary {
  background-color: #0F3F55 !important;
  border-color: #0F3F55 !important;
}

.btn-primary:hover {
  background-color: #369ee9 !important;
  border-color: #369ee9 !important;
}

.btn-outline-primary {
  color: #0F3F55 !important;
  border-color: #0F3F55 !important;
}

.btn-outline-primary:hover {
  background-color: #0F3F55 !important;
  color: white !important;
}

/* Texto */
.text-secondary {
  color: #4895D1 !important;
}

/* Fondo */
.bg-secondary {
  background-color: #4895D1 !important;
}

/* Borde */
.border-secondary {
  border-color: #4895D1 !important;
}

/* Botón */
.btn-secondary {
  background-color: #4895D1 !important;
  border-color: #4895D1 !important;
  color: #fff !important;
}

.btn-secondary:hover {
  background-color: #3784c2 !important;
  border-color: #3784c2 !important;
}

/* Botón outline */
.btn-outline-secondary {
  color: #4895D1 !important;
  border-color: #4895D1 !important;
}

.btn-outline-secondary:hover {
  background-color: #4895D1 !important;
  color: #fff !important;
}

/* Texto */
.text-danger {
  color: #F05959 !important;
}

/* Fondo */
.bg-danger {
  background-color: #F05959 !important;
}

/* Borde */
.border-danger {
  border-color: #F05959 !important;
}

/* Botón */
.btn-danger {
  background-color: #F05959 !important;
  border-color: #F05959 !important;
  color: #fff !important;
}

.btn-danger:hover {
  background-color: #d94e4e !important;
  border-color: #d94e4e !important;
}

/* Botón outline */
.btn-outline-danger {
  color: #F05959 !important;
  border-color: #F05959 !important;
}

.btn-outline-danger:hover {
  background-color: #F05959 !important;
  color: #fff !important;
}

.fs-8 {
  font-size: 0.6rem;
}

.fs-7 {
  font-size: 0.85rem;
}

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

.form-control,
.form-select {
  padding: 0.75rem;
}

.form-control:focus,
.form-select:focus {
  color: #0F3F55;
  border-color: #0F3F55;
  outline: 0;
  box-shadow: none;
}

.form-check-input:checked {
  background-color: #0F3F55;
  border-color: #0F3F55;
}

.badge {
  --bs-badge-font-size: 1rem;
  --bs-badge-font-weight: 500;
}

.custom-outline {
  border: 1px solid var(--bs-border-color);
  color: #000;
  background-color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  height: 50px;
}

.custom-outline:hover {
  border-color: #0F3F55 !important;
}

/* Seleccionado */
.btn-check:checked+.custom-outline {
  border-color: #0F3F55;
  color: #0F3F55;
  background: #ecf2f5
}

.top-progress-bar {
  height: 4px;
  background-color: #dee2e6;
}

.top-progress-bar span {
  background-color: #0F3F55;
  height: 4px;
  display: block;
  position: relative;
}

/*
.top-progress-bar span::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0F3F55;
  position: absolute;
  top: -4px;
  right: -1px;
}
*/
.filter-notification {
  width: 22px;
  height: 22px;
  margin-left: -5px;
  margin-top: 5px;
}

.bg-success2 {
  background: #e4fbe4 !important;
}

.btn-cerrar-modal {
  position: absolute;
  z-index: 9;
  height: 34px;
  width: 34px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #d1d1d1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #6F6F6F;
  font-size: 17px;
  top: 20px;
  right: 20px;
}

/* Custom styles for left-side modal */
.modal-left .modal-dialog {
  position: fixed;
  margin: 0;
  width: 100%;
  max-width: 500px;
  height: 100%;
  /*
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    */
}

/*
.modal-left.show .modal-dialog {
    transform: translateX(0);
}
*/
.modal-left .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.modal-left .modal-body {
  overflow-y: auto;
  flex: 1;
}

body div[data-page*="Candidate\\/Thanks"] section {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
}

.textarea-legal {
  max-height: 50vh;
  overflow-y: auto
}

/*
.contactado {
  box-shadow: 0px 0 0px 1px #51CE51 !important;
}
*/

.contactado .bg-profileimage {
  background: #51CE51 !important;
  color: #fff !important;
}

/*
.descartado {
  box-shadow: 0px 0 0px 1px #E86F6F !important;
}
*/

.descartado .bg-topcard,
.preview-header.descartado {
  background: #E86F6F !important;
}

.btn-circle {
  width: 37px;
  height: 37px;
  border-radius: 50%;
}

.btn-circle.active {
  background: #E86F6F;
  border: 1px solid #E86F6F;
}

.btn-circle {
  transition: border-color 0.3s ease;
}

.btn-circle:hover {
  border-color: #0F3F55 !important;
}

.btn-circle.active i {
  color: #fff;
}

.btn-circle.noactive {
  background: #fff;
  border: 1px solid #ccc;
}

@media (max-width: 1400px) {}

@media (max-width: 1200px) {}

@media (max-width: 992px) {}

@media (max-width: 768px) {
  .step-menu .nav-item.active {
    background-color: #efefef;
  }

  .step-menu .nav-item {
    border-radius: 0;
    padding: 1rem 2rem;
  }

  .w-75 {
    width: 100% !important;
  }

  .h-auto {
    height: auto !important;
  }

  .textarea-legal {
    max-height: unset;
    overflow: visible;
    border: none !important;
    margin-bottom: 100px !important;
    background: #f6f6f6 !important;
  }
}

@media (max-width: 576px) {}
