    
    /* Error message*/
    #errorMessage, #successMessage{ 
        background-color: #0000004a;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        position: fixed;
        justify-content: center;
        display: flex;
        align-items: center;
        z-index: 100000000;
    }
    
    #errorMessage .contentError, #successMessage .contentSuccess{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
        position: relative;
    }
    
    #errorMessage .contentError span, #successMessage .contentSuccess span{ 
        padding: 5px 10px;
        font-weight: 600;
        text-align: center;
        display: block;
    }
    
    #errorMessage .contentError > .iconError, #successMessage .contentSuccess > .iconSuccess{
        
        padding: 10px 28px;
        border-radius: 50%;
        background-color: orangered;
        color: white;
        pointer-events: none;
        width: max-content;
        font-size: 20px;
        font-weight: 600;
        
    }
    
    #successMessage .contentSuccess > .iconSuccess{
        background-color: #52ae32;
        width: 50px;
        height: 50px;
        justify-content: center;
        align-items: center;
        display: flex;
        padding: 0;
    }
    
        
    
    #errorMessage > div, #successMessage > div{
        background-color: white;
        padding: 30px 20px;
        max-width: 50%;
        border-radius: 10px;
        width: 400px;
        position: relative;
    }
    
    #closePopupError, #closePopupSuccess{
        position: absolute;
        right: 11px;
        top: 7px;
        cursor: pointer;
    }
    
    /* Loading Animation */
    
    #loading_screenAnimation{
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        position: fixed;
        z-index: 100000;
        background-color: #ffffff94;
        display: flex;
        justify-content: center;
        align-items: center;
        animation: textChanging 1s infinite;
        --textLoading: "cargando";
    }
    
    #loading_screenAnimation img{
        width: 150px;
        filter: drop-shadow(3px 3px 1px #52ae32);
        animation: movingAround 1s infinite;
    }
    
    #loading_screenAnimation .textLoading::after{
        content: var(--textLoading);
    }
    
    #loading_screenAnimation > .content_loading{
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 20px;
        font-size: 20px;
        font-weight: 600;
        text-transform: capitalize;
        filter: opacity(.9);
    }
    
    @keyframes movingAround{
        0%{
            transform: rotate(0deg) scale(.8);
        }
        25%{
            transform: rotate(45deg) scale(1.05);
        }
        50%{
            transform: rotate(0deg) scale(.8);
        }
        75%{
            transform: rotate(-45deg) scale(1.05);
        }
        100%{
            transform: rotate(0deg) scale(.8);
        }
    }
    
    @keyframes textChanging{
        0%{
            --textLoading: "cargando";
        }
        25%{
            --textLoading: "cargando.";
        }
        50%{
            --textLoading: "cargando..";
        }
        75%{
            --textLoading: "cargando...";
        }

    }
    
    
    button > .loadingButtonCSS {
      width: 45px;
      aspect-ratio: 1;
      display: grid;
      color: #854f1d;
      background: radial-gradient(farthest-side, currentColor calc(100% - 6px),#0000 calc(100% - 5px) 0);
      -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 13px),#000 calc(100% - 12px));
      border-radius: 50%;
      animation: l19GK 2s infinite linear;
      transform: scale(.45) rotate(180deg);
    }
    
    .loadingButtonCSS::before,
    .loadingButtonCSS::after {    
      content: "";
      grid-area: 1/1;
      background:
        linear-gradient(currentColor 0 0) center,
        linear-gradient(currentColor 0 0) center;
      background-size: 100% 10px,10px 100%;
      background-repeat: no-repeat;
    }
    
    .loadingButtonCSS::after {
       transform: rotate(45deg) scale(1);
    }

    @keyframes l19GK {
        100%{transform: rotate(1turn) scale(.45)}
    }
    
    
/* popup deletion*/

.popup-container {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.popup {
  background-color: white;
  width: 300px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  position: absolute;
  left: 50%;  
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.button-container {
  text-align: center;
  gap: 20px;
}

button {
  padding: 10px 20px;
  margin-left: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button#deleteRecordsDel {
  background-color: red;
  color: white;
}

button#closePopupDel {
  background-color: #ddd;
}


/* delete license */

.popup-container {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.popup {
  background-color: white;
  width: 330px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  position: absolute;
  left: 50%;  
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.button-container {
  text-align: center;
  display: flex;
  justify-content: space-evenly;
}

button {
  padding: 10px 20px;
  margin-left: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button#deleteLicense {
  background-color: red;
  color: white;
}

button#closeAlertLicenseDeletion {
  background-color: #ddd;
}

.popup-container button > .loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid;
  border-color: #fff #0000;
  animation: animationButton 1s infinite;
  transform: scale(.5);
  width: 45px;
}

.popup-container button.loadingState{
    height: auto;
    margin: 0;
    padding: 0 13px;
}
    
@keyframes animationButton {to{transform: rotate(.5turn) scale(.5)}}    





    /* notification result process */
    
    #notificationBoxContainer{
        z-index: 10;
        display: flex;
        position: fixed;
        bottom: 50px;
        right: 0;
        flex-direction: column;
        gap: 10px;
    }
    
    .notificationBox{
        animation: notificationMovement 4s forwards;
        --messageNotification: "Vinculación de la categoría hecha con éxito";
    }
    
    @keyframes notificationMovement{
        
        0%{
            transform: translateX(100%);
            opacity: 0;
            scale: .5;
        } 
        
        15%{
            transform: translateX(0%);
            opacity: 1;
            scale: 1;
        }
        
        90%{
            transform: translateX(0%);
            opacity: 1;
            scale: 1;
        }
        
        100%{
            transform: translateX(100%);
            opacity: 0;
            scale: .4;
        }
    }
    
    .notificationBoxContent{
        background-color: lightgreen;
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 5px 15px;
        border-radius: 10px 0 0 10px;
    }
    
    .notificationBoxContent .failedChange{
        display: none;
    }
    
    
    /*  if there was an error while executing the process */
    
    .notificationBox.failed .notificationBoxContent{
        background-color: #ffb8b8;
    }
    
    .notificationBox.failed .failedChange{
        display: block;
    }
    
    .notificationBox.failed .successfulChange{
        display: none;
    }
    
    
    .notificationBoxContent .iconNotification{
        color: green;
        font-size: 20px;
    }
    
    .notificationBoxContent .textNotification h5{
        color: green;
        font-size: 15px;
    }
    
    .notificationBoxContent .textNotification h5::after{
        content: var(--messageNotification);
    }
    
    .notificationBox.failed .notificationBoxContent .iconNotification{
        color: red;
    }
    
    .notificationBox.failed .notificationBoxContent .textNotification h5{
        color: red;
    }
