/* START Go Home */
.button {
    background-color: white;
    color: black;
    width: 12rem;
    /* 48 * 4px = 192px */
    height: 3.5rem;
    /* 14 * 4px = 56px */
    border-radius: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

/* Inner green bar */
.button .goback-bar {
    background-color: var(--nic-blue);
    /* Tailwind's green-400 */
    border-radius: 0.75rem;
    /* Similar rounded style */
    height: 3rem;
    width: 25%;
    /* Initial width for hover effect */
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0.25rem;
    /* Adjusted to align */
    top: 0.25rem;
    transition: width 0.5s ease;
    /* Smooth transition on hover */
    z-index: 10;
}

/* Expand the bar on hover */
.button:hover .goback-bar {
    width: 11.5rem;
    /* Expand to cover most of the button */
}

/* SVG Icon styling */
.button .icon {
    height: 25px;
    width: 25px;
}

/* Text styling */
.button p {
    transform: translateX(0.5rem);
    /* Shift text a little to the right */
    margin: 0;
    position: relative;
    z-index: 20;
    opacity: 1;
    transition: opacity 0.3s ease;
    /* Smooth transition for opacity */
}

/* Hide text on hover */
.button:hover p {
    opacity: 0;
    /* Hide text when button is hovered */
}

/* END Go Home */

/* START BUTON select all */
.button-selectAll {
    position: relative;
    padding: 10px 20px;
    border-radius: 7px;
    border: 1px solid rgb(61, 106, 255);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    background: transparent;
    color: var(--nic-black);
    overflow: hidden;
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
  }
  
  .button-selectAll:hover, .button-selectAll.active {
    background: rgb(61, 106, 255);
    box-shadow: 0 0 30px 5px rgba(0, 142, 236, 0.815);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    color: var(--nic-white);
  }
  
  .button-selectAll:hover::before {
    -webkit-animation: sh02 0.5s 0s linear;
    -moz-animation: sh02 0.5s 0s linear;
    animation: sh02 0.5s 0s linear;
  }
  
  .button-selectAll::before {
    content: '';
    display: block;
    width: 0px;
    height: 86%;
    position: absolute;
    top: 7%;
    left: 0%;
    opacity: 0;
    background: #fff;
    box-shadow: 0 0 50px 30px #fff;
    -webkit-transform: skewX(-20deg);
    -moz-transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    -o-transform: skewX(-20deg);
    transform: skewX(-20deg);
  }
  
  @keyframes sh02 {
    from {
      opacity: 0;
      left: 0%;
    }
  
    50% {
      opacity: 1;
    }
  
    to {
      opacity: 0;
      left: 100%;
    }
  }
  


/* END Button select all */
  
