.oes-icon {
  --oes-icon: none;
  display: inline-block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask: var(--oes-icon) center/contain no-repeat;
  mask: var(--oes-icon) center/contain no-repeat;
}

.oes-icon--8 {
  width: 8px;
  height: 8px;
}

.oes-icon--16 {
  width: 16px;
  height: 16px;
}

.oes-icon--24 {
  width: 24px;
  height: 24px;
}

.oes-icon--32 {
  width: 32px;
  height: 32px;
}

.oes-icon--40 {
  width: 40px;
  height: 40px;
}

.oes-icon--48 {
  width: 48px;
  height: 48px;
}

.oes-icon--x {
  --oes-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6 L18 18 M18 6 L6 18' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.oes-icon--search {
  --oes-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M16 16 L20.5 20.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.oes-icon--chevron {
  --oes-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9 L12 15 L18 9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.oes-icon--plus {
  --oes-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5 V19 M5 12 H19' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.oes-icon--caret {
  width: 12px;
  height: 12px;
  --oes-icon: url("../images/caret-right.png");
}

.oes-divider {
  display: block;
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--color-negro, #000000);
}

.oes-divider--seccion {
  border-top-width: 4px;
}

.oes-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--color-negro, #212121);
  color: var(--color-blanco, #ffffff);
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.oes-btn:hover, .oes-btn:focus-visible {
  background: var(--color-gris-01, #49494a);
  color: var(--color-blanco, #ffffff);
}
.oes-btn.is-selected, .oes-btn[aria-pressed=true] {
  background: var(--color-negro-puro, #000000);
}
.oes-btn:disabled, .oes-btn.is-disabled {
  background: var(--color-gris-neblina, #c1c5c8);
  color: var(--color-blanco, #ffffff);
  cursor: not-allowed;
}

.oes-btn--xs {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.oes-btn--md {
  min-height: 56px;
  padding: 12px 48px;
}

.oes-btn--tertiary {
  background: var(--color-gris-04, #f7f7f8);
  color: var(--color-azul-oscuro, #0a3956);
}
.oes-btn--tertiary:hover, .oes-btn--tertiary:focus-visible, .oes-btn--tertiary.is-selected, .oes-btn--tertiary[aria-pressed=true] {
  background: var(--color-gris-03, #dfe1e2);
  color: var(--color-azul-oscuro, #0a3956);
}

.oes-btn--text {
  min-height: 48px;
  background: transparent;
  color: var(--color-azul-claro, #296890);
}
.oes-btn--text:hover, .oes-btn--text:focus-visible {
  background: transparent;
  color: var(--color-azul-oscuro, #0a3956);
  text-decoration: underline;
}
.oes-btn--text.is-selected, .oes-btn--text[aria-pressed=true] {
  background: transparent;
  color: var(--color-azul-oscuro, #0a3956);
}
.oes-btn--text:disabled, .oes-btn--text.is-disabled {
  background: transparent;
  color: var(--color-gris-neblina, #c1c5c8);
}

.oes-btn--danger {
  background: var(--color-error, #e00101);
}
.oes-btn--danger:hover, .oes-btn--danger:focus-visible, .oes-btn--danger.is-selected, .oes-btn--danger[aria-pressed=true] {
  background: var(--color-error-d1, #c00202);
  color: var(--color-blanco, #ffffff);
}

.oes-btn--success {
  background: var(--color-success, #26a46b);
}
.oes-btn--success:hover, .oes-btn--success:focus-visible, .oes-btn--success.is-selected, .oes-btn--success[aria-pressed=true] {
  background: var(--color-success-d1, #176835);
  color: var(--color-blanco, #ffffff);
}

.oes-btn--warning {
  background: var(--color-warning, #f0bf41);
  color: var(--color-negro, #212121);
}
.oes-btn--warning:hover, .oes-btn--warning:focus-visible, .oes-btn--warning.is-selected, .oes-btn--warning[aria-pressed=true] {
  background: var(--color-warning-d1, #e2a812);
  color: var(--color-negro, #212121);
}
.oes-btn--warning:disabled, .oes-btn--warning.is-disabled {
  color: var(--color-blanco, #ffffff);
}

.oes-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 240px;
  font-family: Poppins, sans-serif;
}

.oes-field__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.oes-field__label {
  color: var(--color-negro, #212121);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.oes-field__required {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--color-gris-04, #f7f7f8);
  color: var(--color-gris-02, #71797f);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.oes-field__control {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--color-gris-03, #dfe1e2);
  border-radius: 12px;
  background: var(--color-blanco, #ffffff);
  color: var(--color-negro, #212121);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.oes-field__control::placeholder {
  color: var(--color-gris-02, #71797f);
  font-weight: 400;
}
.oes-field__control:focus {
  outline: 0;
  border-color: var(--color-negro, #212121);
  border-width: 2px;
  padding: 11px 15px;
}

.oes-field__control--area {
  min-height: 120px;
  resize: vertical;
}

.oes-field__control--select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9 L12 15 L18 9' fill='none' stroke='%23212121' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

.oes-field--search .oes-field__control {
  padding-left: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6' fill='none' stroke='%2371797F' stroke-width='2'/%3E%3Cpath d='M16 16 L20.5 20.5' fill='none' stroke='%2371797F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 16px 16px;
}

.oes-field__hint {
  color: var(--color-gris-02, #71797f);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.oes-field.is-error .oes-field__control {
  border-color: var(--color-error, #e00101);
}
.oes-field.is-error .oes-field__hint {
  color: var(--color-error, #e00101);
}

.oes-field.is-disabled,
.oes-field__control:disabled {
  cursor: not-allowed;
}

.oes-field.is-disabled .oes-field__control,
.oes-field__control:disabled {
  border-color: var(--color-gris-03, #dfe1e2);
  background-color: var(--color-gris-04, #f7f7f8);
  color: var(--color-gris-02, #71797f);
}

.oes-nav-tabs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.oes-nav-tabs__title {
  margin: 0;
  color: var(--color-negro, #212121);
  font-family: Poppins, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .oes-nav-tabs__title {
    font-size: 42px;
    line-height: 52px;
  }
}
.oes-nav-tabs__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oes-nav-tabs__link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 15px 24px;
  border: 0;
  border-bottom: 1px solid var(--color-gris-03, #dfe1e2);
  border-radius: 0;
  background: transparent;
  color: var(--color-negro, #212121);
  font-family: Poppins, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 27px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.oes-nav-tabs__item.is-active .oes-nav-tabs__link,
.oes-nav-tabs__link[aria-current=page] {
  border-bottom-color: transparent;
  border-radius: var(--radius, 18px);
  background: var(--color-rojo, #a10000);
  color: var(--color-blanco, #ffffff);
}

.oes-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-negro, #212121);
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
}
.oes-check input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1.5px solid var(--color-gris-02, #71797f);
  border-radius: 4px;
  background: var(--color-blanco, #ffffff);
  cursor: pointer;
}
.oes-check input:hover {
  border-color: var(--color-negro, #212121);
}
.oes-check input:checked {
  border-color: var(--color-negro, #212121);
  background: var(--color-negro, #212121);
}
.oes-check input:checked::after {
  content: "";
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--color-blanco, #ffffff);
  border-left: 2px solid var(--color-blanco, #ffffff);
  transform: rotate(-45deg) translate(0, -1px);
}
.oes-check input:disabled {
  border-color: var(--color-gris-neblina, #c1c5c8);
  background: var(--color-blanco, #ffffff);
  cursor: not-allowed;
}
.oes-check input:disabled:checked {
  border-color: var(--color-gris-neblina, #c1c5c8);
  background: var(--color-gris-neblina, #c1c5c8);
}
.oes-check:has(input:disabled) {
  color: var(--color-gris-02, #71797f);
  cursor: not-allowed;
}

.oes-check--bullet input {
  border-radius: 50%;
}

.oes-check--bullet input:checked::after {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--color-blanco, #ffffff);
  transform: none;
}
