.modal_confirm, .modal_settings, .modal_contact {
  font-size: var(--font-size-normal-S360);

  .swalOPC-dialog {
      max-width: none !important;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      animation: scaleIn 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      transition: opacity 0.2s ease;
  }

      .swalOPC-content{
        border-radius: 3px;
        width: 445px !important;
        min-height: auto !important;
        height: auto !important;
        max-height: 90vh;
        overflow-y: visible;
        background-color: var(--color-primary);

        .swalOPC-header{
          font-size: calc(var(--font-size-large-S360) + 1px) ;
          color: var(--color-text-S360);
          font-weight: var(--font-weight-large-S360);
          padding: 0.6rem;

          .btn-close{
            font-size: var(--font-size-normal-S360);
            margin: 0 10px 0 0;
          }
        }

        /* Eliminar */
        .modal_body{
          position: relative;
          width: 100%;
          padding: 10px;
          display: grid;
          grid-template-rows: auto 1fr;
          gap: 10px;
          top: -17px;
          padding-top: 20px;

          .select-modal{
            .select-menu{
              padding-top: 10px;
            }
          }

          .main-notification-form--container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--color-text-S360);
            gap: 10px;
            font-weight: 300;
            font-size: 13px !important;

            
            .form-checkbox {
              display: inline-flex;
              align-items: center;
              cursor: pointer;
              color: #fff;
              background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
              width: 14px;
              height: 14px;
              appearance: none;
              border: 0.1px solid var(--border-table-color);
              border-radius: 2px;
              background-position: 0 -2rem;
              background-size: 100%;
              background-repeat: no-repeat;
              align-self: center;

              &:checked{
                  background-color: var(--suite-primary-S360);
                  color: var(--suite-primary-S360);
                  background-position: 0 0;
              }
            }

            & .notification-form--header {
              display: flex;
              gap: 8px;
              align-self: start;
            }

            & .notification-options--container {
              align-self: start;
              width: 100%;
              display: flex;
              gap: 35px;

              & .notification-option--item {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 10px;

                & i,.material-symbols-outlined{
                  font-size: 18px;
                  color: var(--color-text-S360);
                }
              }
            }

            & .notification-form--group {
              width: 100%;
              border: 1px solid var(--color-border-S360);
              border-radius: 3px;
              padding: 6px 4px;
              & .notification-form--body {
                align-self: start;
                width: 98%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 10px;

                & .section-title {
                  align-self: start;
                  /* color: #A4A4A4; */
                  border-bottom: 1px solid var(--color-border-S360);
                  width: 100%;
                  margin-bottom: 2px;
                }

                & .notification-whatsapp--subtitle {
                  font-size: 12px;
                  font-weight: 400;
                  align-self: start;
                }

                & .number-info {
                  display: flex;
                  justify-content: center;
                  align-items: center;
                  align-self: start;
                  gap: 14px;
                  width: 100%;
                  margin-bottom: 15px;

                  & :nth-child(3) {
                    grid-column: 1 / 3;
                  }

                  & .code-number-body {
                  align-self: self-start;
                  & .select-code-number {
                    & .select-menu {
                        min-width: 85px;
                      & .select-btn {
                        height: 34px;
                        padding: 0px 0 0 8px;

                        & .sBtn-text {
                          padding: unset;
                          display: flex;
                          justify-content: center;
                          align-items: center;
                          gap: 5px;
                          font-size: 12px;
                        }

                        & .icon {
                          padding-left: 5px;
                        }
                      }
                    }

                    & #country_code_drop {
                      & .container-options {
                        & .option-text {
                          display: flex;
                          gap: 4px;
                        }
                      }
                    }
                  }
                  }

                  & .basic-input {
                    height: 34px;
                  }
                }

                & .notification-whatsapp--actions {
                  display: flex;
                  flex-direction: column;
                  width: 100%;
                  gap: 12px;
                  align-self: start;
                  margin-bottom: 15px;
                  & .content-button {
                    flex-direction: row !important;
                    width: 34%;

                    #btn_ingresar {
                      font-size: 12px;
                      gap: 5px;
                    }
                  }
                }

                & .notification-sending-options--container {
                  display: flex;
                  justify-content: space-between;
                  align-items: center;
                  align-self: start;
                  gap: 6px;
                  margin-bottom: 15px;
                }
              }
            }
          }

          @media only screen and (max-width: 500px) {
              grid-template-rows:  auto 1fr;
              gap: 6px;
          }

          .confirm_text{
            justify-self: center;
            width: 80%;
            height: 30px;
            text-align: center;
            color: var(--color-text-S360);
          }
        }

        .modal_body {
          & .modal_buttons {
            display: flex;
            justify-content: end;
            gap: 8px;

            & .content-button {
              width: unset;
              & #btn_confirmar, #btn_go_back{
              gap: 5px;
              width: 110px;
              height: 29px;
              display: flex;

              .material-symbols-outlined {
                font-variation-settings:
                'FILL' 1,
                'wght' 400,
                'GRAD' 0,
                'opsz' 24
              }
                            }
              &:disabled {
                opacity: 0.4;
                cursor: not-allowed;
              }
            }
          }
        }

        @media only screen and (max-width: 500px) {
          width: 320px !important;
          height: 420px !important;
        }
      }

  .fade-out {
      transition: opacity 0.2s ease-out, transform 0.2s ease-out;
      opacity: 0;
      transform: scale(0.9);
  }
}


.modal_menu{
  .swalOPC{
    background-color: rgba(0, 0, 0, 0.5);
    .swalOPC-dialog{
      align-items: flex-end;
      top: -6%;
      .select-menu {
        & .options {
          bottom: 0% !important;
        }
      }
    }
  }
}

.select-menu {
  & .options {
      & .scroll {
          & .container-options {
              max-height: 184px;
          }
      }
  }
}

.swalOPC-dialog:has(.ecxel-container) {
  align-items: center !important;
  top: 0 !important;
}

.modal_confirm:has(.ecxel-container) {
  .swalOPC-content {
      width: 450px !important;
  }
}

.content-button:has(.Exportar) {
  justify-content: center !important;
}




.swalOPC:has(.ecxel-container) {
  .swalOPC-header {
      width: 92%;
      margin: 0 4% 0 4%;
      padding: 0;
  }
}



@keyframes scaleIn {
  0% {
    transform: scale(0.5) translateY(40vh); /* Inicia desde abajo */
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0); /* Llega a su posición normal */
    opacity: 1;
  }
}
