
body {
  background-color: rgb(248, 251, 255);
  padding: 2rem 6rem;
}

.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.sve,
.svt {
  display: flex;
  flex-direction: column;
}

.sve {
  margin-bottom: 5rem;
}

.svt {
  margin-top: 2rem;
}

h1,
h2 {
  font-family: 'lato';
}

.ejemplo.mobile {
  font-size: 1rem;
  padding: .5rem 1rem;
  display: block;
}

.material-symbols-outlined {
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}


.flex-row {
  display: flex;
  gap: 1rem;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.content-separator {
  border-left: 1px solid var(--variable-color-light-grey-3);
  height: 1rem;
}

/* Estilos contenedor principal */
.pass-request-container {
  background-color: var(--variable-color-light-grey-6);
  padding: 2rem 10%;
  font-family: 'lato';
  display: flex;
  flex-direction: column;
  font-size: .8rem;
}

.pass-request-container hr {
  width: 2rem;
  height: .2rem;
  margin: 0;
  margin-bottom: 1rem;
  background-color: var(--variable-color-green-1);
  border: none;
}

.required-fields {
  font-size: .7rem;
}

.pass-request-title {
  font-size: 1.2rem;
  margin-bottom: .3rem;
}

.pass-request-title.sve {
  color: var(--variable-color-blue-1);
}

/* Estilos form search gris */
.pass-request-search {
  padding: 1rem 1.5rem;
  background-color: var(--variable-color-blue-8);
  border-radius: .4rem;
  margin: 1rem 0;
}

.pass-request-search-title {
  font-size: 1rem;
  margin: 0;
  color: var(--variable-color-blue-1);
}

.pass-request-search form {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.pass-request-search form>label {
  color: var(--variable-color-blue-1);
}

.required-fields-input {
  color: var(--variable-color-error-4);
}

.pass-request-rut-button {
  display: flex;
  gap: .5rem;
}

/* Estilos inputs */
.input-base,
#pass-request-info-results-selector {
  width: calc(100% - 2rem);
  border: 1px solid var(--variable-color-light-grey-3);
  padding: .4rem 1rem;
  border-radius: .3rem;
}

.input-base::placeholder {
  color: var(--variable-color-blue-5);
  font-size: .8rem;
}

.input-base:user-invalid {
  border-color: var(--variable-color-error-4);
}
.input-base.error {
    border: 2px solid #e63946;
    transition: 0.2s ease-in-out;
}

#pass-request-info-results-selector {
  width: 100%;
  color: var(--variable-color-blue-5);
}


/* Estilos botones */
.mutual-button {
  padding: .5rem 2rem;
  font-size: .8rem;
  border-radius: .3rem;
  cursor: pointer;
  background-color: var(--variable-color-green-1);
  border: 2px solid var(--variable-color-green-1);
  color: var(--variable-color-dark-grey-1);
  display: flex;
  align-items: center;
  justify-content: center;

  &:hover {
    background-color: var(--variable-color-green-2);
    border: 2px solid var(--variable-color-green-2);
    color: var(--variable-color-light-grey-6);
  }

  &:active {
    border: 2px solid var(--variable-color-green-1);
  }

  &:disabled {
    background-color: var(--variable-color-light-grey-4);  
    border-color: var(--variable-color-light-grey-4);
    color: var(--variable-color-light-grey-6);
    cursor: not-allowed;                                     
    opacity: .8;                                             
  }
}

.pass-request-info-container {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pass-request-info-container .pass-request-info:last-of-type {
  margin-top: -.5rem;
}

.pass-request-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: baseline;
}

.pass-request-info-results {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.pass-request-info-results label {
  color: var(--variable-color-blue-1);
}

#no-second-lastname {
  font-size: .6rem;
  margin-left: 1rem;
}

.request-permision {
  align-self: flex-end;
}

.request-permision:disabled {
  background-color: var(--variable-color-light-grey-4);
  border: 1px solid var(--variable-color-light-grey-4);
  color: var(--variable-color-light-grey-1);
  cursor: none;
}

.wpthemeOverflowAuto {
    overflow: visible !important;
  }

.wpthemeLayoutContainers table.layoutRow.ibmDndRow.component-container
  > tbody > tr > td:only-child
  > table.layoutColumn.ibmDndColumn.component-container.layoutNode
  > tbody {
  padding: 0!important;
}

.tooltip-top-desktop {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltipcontent {
  visibility: hidden;
  opacity: 0;
  width: 20rem;
  background-color: var(--variable-color-light-grey-6);
  text-align: center;
  border-radius: .4rem;
  position: absolute;
  bottom: 180%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  transition: opacity 0.3s;
  box-shadow: 2px 2px 10px var(--variable-color-dark-grey-6);
}

.tooltipcontent::after {
  content: "";
  position: absolute;
  top: 99%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: var(--variable-color-light-grey-6) transparent transparent transparent;
  opacity: 0;
  transition: opacity .3s;
}

.tooltipimage {
  width: 20rem;
  border-radius: .4rem;
}

.desktop-tooltip,
.mobile-tooltip {
  visibility: hidden;
  opacity: 0;
  display: block;   
  transition: opacity 0.3s;
}

@media (max-width: 1100px){
.tooltipcontent {left: -3rem;}
.tooltipcontent::after {left: 67.5%;}
}
@media (max-width: 950px){
.tooltipcontent {left: -4rem;}
.tooltipcontent::after {left: 72.5%;}
}
@media (max-width: 700px){
.tooltipcontent { left: -8.5rem;}
.tooltipcontent::after {left: 95.5%;}
}

@media (min-width: 769px) {

  .tooltip-top-desktop:hover .desktop-tooltip {
    visibility: visible;
    opacity: 1;
  }

  .tooltip-top-desktop:hover .desktop-tooltip::after {
    opacity: 1;
  }

  .mobile-tooltip {
    display: none;
  }
}

@media (max-width: 768px) {
  
  .desktop-tooltip {
    display: none;
  }
}


@media (max-width: 800px) {
    .modal-cedula {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .modal-cedula .modal-content {
        background: #fff;
        width: 100%;
        height: 100%;
        max-width: none;
        border-radius: 0;
        padding: 1rem;
        padding-top: 3rem;
        position: relative;
        overflow-y: auto; 
    }

    .icon-close-modal {
        font-size: 2rem !important;
        cursor: pointer;
        z-index: 10;
    }
    
   .modal-cedula .modal-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.5rem;
    }
}

.cedula-mobile {
  width: 100%;
}


/* Mensajes de success y error */
.pass-request-message-success,
.pass-request-message-warning,
.pass-request-message-error {
  background-color: var(--variable-color-light-grey-6);
  padding: 2rem 10%;
  font-family: 'lato';
  border-radius: .3rem;
  display: flex;
  flex-direction: column;
  font-size: .8rem;
  border: 1px solid var(--variable-color-blue-7);
}

.pass-request-message-success hr,
.pass-request-message-warning hr,
.pass-request-message-error hr {
  width: 2rem;
  height: .2rem;
  margin: 0;
  margin-bottom: 1rem;
  background-color: var(--variable-color-green-1);
  border: none;
}

.pass-request-message-success-content .material-symbols-outlined,
.pass-request-message-warning-content .material-symbols-outlined,
.pass-request-message-error-content .material-symbols-outlined {
  font-size: 3.5rem;
}

.pass-request-message-success-content .material-symbols-outlined {
  color: var(--variable-color-success-5);
}

.pass-request-message-warning-content .material-symbols-outlined {
  color: var(--variable-color-warning-1);
}

.pass-request-message-error-content .material-symbols-outlined {
  color: var(--variable-color-error-4);
}

.pass-request-message-success-content h1,
.pass-request-message-warning-content h1,
.pass-request-message-error-content h1 {
  padding: 0;
  margin: .3rem 0;
  font-size: 1.3rem;
}

.pass-request-message-success-content p,
.pass-request-message-warning-content p,
.pass-request-message-error-content p {
  margin: .3rem 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.pass-request-message-success-content,
.pass-request-message-warning-content,
.pass-request-message-error-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3rem 0;
}

.mutual-button.outlined {
  border: 2px solid var(--variable-color-green-4);
  background-color: var(--variable-color-light-grey-6);
  color: var(--variable-color-green-2);
  font-size: .8rem;

  &:hover {
    background-color: var(--variable-color-green-7);
    border: 2px solid var(--variable-color-green-1);
    color: var(--variable-color-green-2);
  }

  &:active {
    border: 3px solid var(--variable-color-green-1);
  }
}

/* Seccion permisos */
.pass-request-admin {
  padding: 1rem 1.5rem;
  background-color: var(--variable-color-blue-8);
}

.pass-access-item {
  padding: .75rem 1rem;
  border: 1px solid var(--variable-color-light-grey-3);
  margin-bottom: 1rem;
}

.pass-access-item.active {
  background-color: #FCFFDE;
}

.pass-access-item-header {
  width: 100%;
  justify-content: space-between;
}

.pass-access-item-header-left,
.pass-access-item-header-right {
  align-items: center;
}

.pass-access-item-header-left {
  gap: .5rem;
}

.pass-access-number {
  background-color: var(--variable-color-success-8);
  padding: .25rem .625rem;
  border-radius: .75rem;
}

.pass-access-item-header-left label {
  font-weight: bold;
  font-size: 1.2rem;
}

.pass-access-item-header-right .material-symbols-outlined {
  color: var(--variable-color-dark-grey-6);
}

.item-content-header {
  align-items: center;
  width: 100%;
  justify-content: space-between;
  border-bottom: 1px solid var(--variable-color-light-grey-2);
  margin-bottom: 1rem;
}

.item-content-header h2 {
  margin: 0;
  padding: .7rem 0;
  color: var(--variable-color-blue-1);
}

.pass-access-item-content {
  display: none;
  padding: 2rem;
}

.item-content-access {
  justify-content: flex-start;
}

.item-content-access div {
  flex: 1;
}

.item-content-access-container {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1rem;
}

.pass-access-item.active>.pass-access-item-content {
  display: block;
}


.mutual-button.go-back {
  background-color: var(--variable-color-light-grey-4);
  color: var(--variable-color-dark-grey-6);
  border: 1px solid var(--variable-color-light-grey-4);
}

.form-buttons {
  justify-content: space-between;
}

/* Estilos trabajador - Estos son extra pero necesitan los anteriores*/
.mutual-button.variant-trabajadores {
  background-color: var(--variable-color-turquoise-1);
  border: 2px solid var(--variable-color-turquoise-1);
  color: var(--variable-color-dark-grey-1);

  &:hover {
    background-color: var(--variable-color-turquoise-2);
    border: 2px solid var(--variable-color-turquoise-2);
    color: var(--variable-color-light-grey-6);
  }

  &:active {
    border: 2px solid var(--variable-color-turquoise-1);
  }
  &:disabled {
    background-color: var(--variable-color-light-grey-4);  
    border-color: var(--variable-color-light-grey-4);
    color: var(--variable-color-light-grey-6);
    cursor: not-allowed;                                     
    opacity: .8;                                             
  }
}

.pass-request-info-result-label-icon {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.pass-request-info-result-label-icon .material-symbols-outlined {
  font-size: 1.2rem;
}

.variant-trabajadores.outlined {
  border: 2px solid var(--variable-color-turquoise-1);
  background-color: var(--variable-color-light-grey-6);

  &:hover {
    background-color: var(--variable-color-turquoise-7);
    border: 2px solid var(--variable-color-turquoise-1);
    color: var(--variable-color-turquoise-2);
  }

  &:active {
    border: 3px solid var(--variable-color-turquoise-1);
  }
}

.input-base:user-invalid~.pass-request-error-message {
  display: block;
}

.input-base:user-invalid~#no-second-lastname {
  display: none;
}

.pass-request-error-message {
  display: none;
  font-size: .6rem;
  color: var(--variable-color-error-4);
  margin-left: 1rem;
}

.alert-simple-new,
.alert-double-new {
  width: 100%;
  border-radius: .4rem;
  overflow: hidden;
  margin: 1rem 0;
  min-height: 54px;
}

.alert-text-icon {
  display: flex;
  align-items: center;
  gap: .5rem;
}


.alert-simple-new .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem;
  gap: .5rem;
}

.alert-simple-new .close .material-symbols-rounded {
  color: var(--variable-color-light-grey-1);
}

.alert-simple-new .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem;
  gap: 1rem;
  min-height: 3.375rem;
}

/* Warning */
.alert-simple-new.warning {
  background-color: var(--variable-color-warning-7);
  border: 1px solid var(--variable-color-warning-8);
}

.alert-simple-new.warning .content {
  border-left: .3rem solid var(--variable-color-warning-5);
  margin-right: 1rem;
}

.alert-simple-new.warning .alert-text-icon .material-symbols-outlined {
  color: var(--variable-color-warning-4);
}

/* Information */
.alert-simple-new.information {
  background-color: var(--variable-color-info-8);
  border: 1px solid var(--variable-color-info-7);
}

.alert-simple-new.information .content {
  border-left: .3rem solid var(--variable-color-info-5);
  margin-right: 1rem;
}

.alert-simple-new.information .alert-text-icon .material-symbols-outlined {
  color: var(--variable-color-info-4);
}

.alert-double-new.information {
  min-height: 3.375rem;
}

.alert-double-new.information .alert-text-icon .material-symbols-outlined {
  color: var(--variable-color-info-4);
}

.alert-double-new.information .alert-text-icon p {
  font-weight: 700;
}

.alert-double-new.information .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background-color: var(--variable-color-info-8);
  border-left: .3rem solid var(--variable-color-info-5);
  gap: .5rem;
  padding: 1rem .5rem;
}

.alert-double-new.information .content .alert-text {
  margin-left: 2rem;
  padding-right: 2.5rem;
}

.alert-double-new .content p,
.alert-simple-new .content p {
  margin: 0;
}



/* Table */
.table-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 1rem;
}

.table-search .input-base {
  width: 7rem;
}

.table-search p {
  font-size: 1rem;
}

.table-admin {
  width: calc(100% - 1rem);
  border-collapse: collapse;
}

.table-admin thead>tr {
  width: 100%;
  background-color: var(--variable-color-blue-8);
}

.table-admin tr {
  padding: .3rem .5rem;
  border-top: 1px solid var(--variable-color-blue-6);
}

.table-admin tr:last-child {
  border-bottom: 1px solid var(--variable-color-blue-6);
}

.table-admin tbody tr:first-child {
  border-top: none;
}

.table-admin thead,
tbody {
  width: 100%;
}

.table-info-filter,
tr {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: .4rem;
}

td {
  flex: 1;
}

.table-info-filter .material-symbols-outlined {
  font-size: .6rem;
  color: var(--variable-color-dark-grey-6);
}

.table-admin tbody tr:nth-child(even) {
  background-color: var(--variable-color-blue-8);
}

tbody tr td:first-child {
  all: unset;
}

/* Paginacion */
.table-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  align-items: center;
  font-size: .7rem;
  padding: .5rem 1rem;
}

.pagination-selector {
  width: 4rem;
  padding: .2rem 0;
  font-size: .7rem;
  border: 1px solid var(--variable-color-light-grey-4);
  border-radius: .3rem;
  cursor: pointer;
}

.table-container {
  border: 1px solid var(--variable-color-blue-6);
  border-radius: .3rem;
  margin: 1rem 0;
}

.table-pagination span {
  cursor: pointer;
}

/* Botones para subir archivos */
.input-upload {
  display: none;
}

.upload-buttons {
  justify-content: space-around;
  margin: 2rem 0;
}

.mobile {
  display: none !important;
}

.alert-simple-new {
    width: 100%;
    border-radius: .4rem;
    overflow: hidden;
    margin: 1rem 0;
    min-height: auto !important;

    /* Ajuste para parecerse más al ejemplo */
    background-color: var(--variable-color-error-7); /* antes error-6 */
    border: 1px solid var(--variable-color-error-6); /* borde más suave */
}

.alert-simple-new .content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    /* Más espacio, como en la imagen */
    padding: .4rem 1rem;
    gap: 1rem;
}

.alert-text-icon {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.alert-simple-new.error .alert-text-icon .material-symbols-rounded {
    color: var(--variable-color-error-4);
    font-size: 20px;
}

.alert-simple-new.error .content {
    border-left: .4rem solid var(--variable-color-error-4);
}

.alert-simple-new .close .material-symbols-rounded {
    color: var(--variable-color-light-grey-1);
    font-size: 20px;
    opacity: 0.7;
}

.alert-simple-new .close:hover .material-symbols-rounded {
    opacity: 1;
}

.alert-message-text {
    font-size: .9rem;
    color: var(--variable-color-dark-grey-2);
    margin: 0;
    display: block;
}

.alert-simple-new .close {
    background: none;
    border: none;
    padding: 0;
    margin-right: .5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.alert-simple-new .close .material-symbols-rounded {
    font-size: 1.1rem;
    color: var(--variable-color-light-grey-1);
    transition: color .2s ease;
}

.alert-simple-new .close:hover .material-symbols-rounded {
    color: var(--variable-color-dark-grey-3);
}

.modal-user {
    width: 90%;
    height: 80%;
}

.modal-user-content h1 {
    font-size: 1.5rem !important;
}

.modalDisplayNone {
    display: none !important;
}

@media (max-width: 800px) {
    table.layoutRow.ibmDndRow.component-container > tbody > tr >td:last-of-type > table > tbody
 {
        padding: 0 !important;
 }
}

@media (max-width: 950px) {
    .navbar-mutual-desplegado {
        display: block !important;
        /* background-color: white; */
    }
}

@media (max-width: 700px) {
    .navbar-mutual-m {
        /* box-sizing: unset; */
        width: calc(100dvw - 2rem) !important;
        display: flex !important;
        justify-content: space-between !important;
    }
}

@media (max-width: 768px) {
    .pass-request-container {
        padding: .5rem 1rem !important;
        border-radius: 0 !important;
        width: calc(100% - 2rem) !important;
    }
}


@media only screen and (max-width: 950px) {
.asw-menu-btn
 {
        width: 32px !important;
        height: 32px !important;
        top: 1.5rem !important;
        right: 45% !important;
    }
}

@media (max-width: 768px) {

  .ejemplo {
    display: none;
  }

  body {
    padding: 0;
    margin: 0;
  }

  .pass-request-container {
    padding: .5rem 1rem;
    border-radius: 0;
  }

  .pass-request-rut-button,
  .pass-request-info {
    display: flex;
    flex-direction: column;
  }

  .pass-request-info-container {
    width: 100%;
  }

  .pass-request-info-results {
    width: 100%;
  }

  .request-permision {
    align-self: auto;
  }

  .input-base.mobile {
    display: flex;
    align-self: flex-end;
    width: 60dvw;
    margin-top: 1rem;
  }

  .table-admin {
    width: calc(100% - .2rem);
  }

  .table-admin tr {
    padding: .2rem .1rem;
  }

  .table-info-filter,
  th:first-child {
    all: unset !important;
  }

  .table-info-filter,
  th {
    display: flex;
    padding: .1rem .3rem !important;
    flex: 1 !important;
    justify-content: space-between;
    gap: 0;
  }

  .table-info-filter span:first-of-type {
    font-weight: 700;
  }

  .table-admin thead,
  tbody {
    width: calc(100% - .2rem);
  }

  tbody tr td:first-child {
    all: unset !important;
  }

  tbody tr td {
    flex: 1;
    hyphens: auto !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
    padding: .1rem .3rem;
  }

  .arrow {
    color: var(--variable-color-green-3);
    font-size: .7rem !important;
    padding: 1rem .2rem;
  }

  .arrow.disabled {
    color: var(--variable-color-light-grey-3);
  }

  .table-search p:first-of-type {
    padding: .3rem;
    margin: 0;
  }

  .upload-buttons {
    flex-direction: column;
  }

  /* PASO 2 */

  .pass-request-admin h2 {
    color: var(--variable-color-blue-1);
  }

  .pass-access-item {
    padding: .75rem .4rem;
  }

  .pass-access-item-header {
    justify-content: space-between;

  }

  .pass-access-item-header-left,
  .pass-access-item-header-right {
    flex: 1;
  }

  .pass-access-number {
    font-size: .75rem;
  }

  .content-separator {
    height: 1.5rem;
  }

  .pass-access-item-header-left label {
    font-weight: bold;
    font-size: .8rem;
  }

  .pass-access-item-header-right {
    gap: 1rem;
    justify-content: flex-end;
    margin-right: .5rem;
  }

  .pass-access-item-content {
    padding: .5rem .4rem;
  }

  .item-content-header h2 {
    font-size: 1.1rem;
  }

  .item-content-header>div label {
    font-size: .7rem;
  }

  .item-content-header h2,
  .item-content-header div {
    flex: 1;
  }

  .item-content-access,
  .item-content-access-container {
    display: flex;
    flex-direction: column !important;
    gap: .5rem;
  }

  .item-content-access>div label {
    font-size: .7rem;
  }

  .item-content-input.flex-row {
    align-items: center;
    gap: .2rem;
  }

  .input-access {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--variable-color-blue-4);
    background-color: var(--variable-color-light-grey-6);
    border-radius: .3rem;
  }

  .input-access:checked {
    accent-color: var(--variable-color-blue-1);
  }

  .content .mobile {
    display: inline;
  }

  .desktop {
    display: none !important;
  }

}