body {}

.fancy-alert {
    /* font-family: sans-serif; */
    color: white;
    width: 78px;
    z-index: 1020;
    /* top: 0px; */
    margin-left: auto;
    margin-right: auto;
    /* left: 0; */
    right: 0;
    position: absolute;
    overflow: hidden;
    box-shadow: 0 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    height: 50px !important;
    background-color: gray;
    @include scale(0);
    @include transition(all .5s);

    &.fancy-alert__active {
        opacity: 1;
        bottom: 20px;
        @include scale(1);
    }
    &.fancy-alert__extended {
        width:600px;
        .fancy-alert--content {
            opacity: 1;
            @include transition(all .5s);
        }
        .fancy-alert--words {top: 15px;;opacity: 1;}
    }

    &.error { 
        background-color: #D64646;
    }
    &.success {
        background-color:#3CB971;
    }
    &.info {
        background-color: #E8C22C;
    }
    
    a { 
        color: white;
        text-decoration: underline;
    }
    
    .fancy-alert--content {
        padding: 10px; opacity: 0;
    }


    .fancy-alert--words {
        font-size: 14px; 
        font-weight: bold;
        padding: 0 18px 0 60px;
        max-width: 100%;
        position: absolute;
        top: -100px;
        opacity: 0;
        height: 60px;
        @include transition(all .3s);
        @include transition-delay(.5s);
    }
    .fancy-alert--icon {
        padding: 20px;
        float:left;
        /* font-size: 26px; */
        background-color: rgba(3, 3, 3, 0.15);
    }
        
    .fancy-alert--close {
        position: absolute;
        text-decoration: none;
        right: 5px;
        top: 5px;        
        font-size: 10px;
        padding: 4px 7px;
        background: #dc3545 ;
        color: #FFF;
    }
}
.container {
    text-align: center;
    margin: 200px 0;
}
.show-alert {
      border: 0;
  background: #F2F2F2;
  padding: 15px 70px;
  font-weight: bold;
  border-radius: 5px;
  border-bottom: 3px solid #C8C8C8;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.23), inset 0 -53px 20px -30px rgba(59, 65, 74, 0.06);
  margin: 0 10px;
  font-size: 16px;
  cursor: pointer;
  color: #808080;
  text-shadow: 0 1px #FFF;
    outline: 0;
    position:relative;
    
    &:active {
        border:0;
        box-shadow: none;
        top: 2px;
    }
}
.show-alert__info {color: #E8C22C;}
.show-alert__success {color: #3CB971;}
.show-alert__error {color: #D64646;}


.overlay-spinner {
    position: fixed; /* Position it fixed on the screen */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9999; /* Make sure it's on top of other content */
}
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

