.snapAlert-container {
  position: fixed;
  padding-bottom: 20px;
  z-index: 999 !important;
  max-width: 400px;
}

.snapAlert-container::-webkit-scrollbar {
  display: none  !important;
}

.snapAlert-container.snapAlert-top-left {
  top: 0;
  left: 0;
}

.snapAlert-container.snapAlert-top-right {
  top: 0;
  right: 0;
}

.snapAlert-container.snapAlert-bottom-left {
  bottom: 0;
  left: 0;
}

.snapAlert-container.snapAlert-bottom-right {
  bottom: 0;
  right: 0;
}

.snapAlert-container.snapAlert-top-center {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.snapAlert-container.snapAlert-bottom-center {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}



.snapAlert-main {
  display: flex;
  flex-direction: row;
  align-items: center !important;
  padding: 10px;
  position: relative;
  padding-right: 40px;
  width: 100%;

}

.snapAlert-item {
  display: flex;
  background-color: #B7B7B7;
  min-width: 300px;
  margin-left: 10px ;
  margin-right: 10px ;
  margin-top: 10px ;
  top: 10px;
  left: 10px;
  padding-bottom: 3px;
  background: rgb(157,156,156);
  background: linear-gradient(180deg, rgba(157,156,156,1) 0%, rgba(231,231,231,1) 43%, rgba(255,255,255,1) 71%, rgba(255,255,255,1) 100%);
  border-radius: 10px;
  box-shadow: 4px 4px 7px rgba(0,0,0,.1);
  font-size: 1rem;
  transition: transform 0.2s ease-in-out; /* Add smooth transition */
  overflow: hidden !important;
}

.snapAlert-animation-slide .snapAlert-item {
  transform: translateX(-110%); /* Start outside of the screen */
}
/* Alert Position */
.snapAlert-animation-slide .snapAlert-slide-in {
  transform: translateX(0); /* Slide to center */
  height: 100%;
}

.snapAlert-animation-slide .snapAlert-slide-out {
  height: 0%;
  transform: translateX(-110%); /* Slide out to the left */
}
.snapAlert-container.snapAlert-top-right.snapAlert-animation-slide  .snapAlert-item, .snapAlert-container.snapAlert-bottom-right.snapAlert-animation-slide  .snapAlert-item {
  transform: translateX(110%) !important;
}
.snapAlert-container.snapAlert-top-right.snapAlert-animation-slide  .snapAlert-slide-in, .snapAlert-container.snapAlert-bottom-right.snapAlert-animation-slide  .snapAlert-slide-in {
  transform: translateX(0%) !important; /* Slide out to the left */
}
.snapAlert-container.snapAlert-top-right.snapAlert-animation-slide  .snapAlert-slide-out, .snapAlert-container.snapAlert-bottom-right.snapAlert-animation-slide  .snapAlert-slide-out {
  transform: translateX(110%) !important; /* Slide out to the left */
}




.snapAlert-container.snapAlert-top-center.snapAlert-animation-slide  .snapAlert-item ,  .snapAlert-container.snapAlert-top-center.snapAlert-animation-slide  .snapAlert-slide-out{
  transform: translateY(-110%)  !important;
}

.snapAlert-container.snapAlert-top-center.snapAlert-animation-slide  .snapAlert-slide-in {
  transform: translateY(0%) !important;
}



.snapAlert-container.snapAlert-bottom-center.snapAlert-animation-slide .snapAlert-item ,  .snapAlert-container.snapAlert-bottom-center.snapAlert-animation-slide .snapAlert-slide-out {
  transform: translateY(110%) !important; /* Slide out to the left */
}

.snapAlert-container.snapAlert-bottom-center.snapAlert-animation-slide .snapAlert-slide-in {
  transform: translateY(0%) !important; /* Slide out to the left */
}






.snapAlert-animation-zoom .snapAlert-item , .snapAlert-animation-zoom .snapAlert-zoom-out
{
  transform: scale(0.0) !important; /* Slide to center */
  transition: transform 0.3s ease-in-out; /* Add smooth transition */
}

.snapAlert-animation-zoom .snapAlert-zoom-in
{
  transform: scale(1.0) !important; /* Slide to center */
  transition: transform 0.3s ease-in-out; /* Add smooth transition */
}

.snapAlert-animation-fade .snapAlert-item , .snapAlert-animation-fade .snapAlert-fade-out
{
  opacity: 0 !important; /* Slide to center */
  transition: opacity 0.3s ease-in-out; /* Add smooth transition */
}

.snapAlert-animation-fade .snapAlert-fade-in
{
  opacity: 1 !important; /* Slide to center */
  transition: opacity 0.3s ease-in-out; /* Add smooth transition */
}

/* Alert Position */

.snapAlert-rtl.snapAlert-item .snapAlert-main {
  padding-right: 10px;
  padding-left: 40px;
}

.snapAlert-rtl.snapAlert-item {
  direction: rtl !important;
}

.snapAlert-item , .snapAlert-item * {
  user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.snapAlert-item .snapAlert-icon{
  width: 40px;
  height:40px;
  background-color: transparent;
  margin-right: 10px;
  border-radius: 0px;
  display: grid;
  place-content: center;
  place-items: center;
}

.snapAlert-rtl.snapAlert-item .snapAlert-icon{
  margin-right: unset;
  margin-left: 10px;
}

.snapAlert-item .snapAlert-icon i {
  font-size: 30px;
  transform: translateY(2px);
}

.snapAlert-item   .snapAlert-actions {
  display: flex !important;
  margin-top: 3px;
}

.snapAlert-action {
  margin-top: 2px !important;
  background-color: #eeeeee;
  outline: unset !important;
  border: 1px solid transparent !important;
  padding: 2px 10px;
  margin-right: 10px;
  border-radius: 5px;
}
.snapAlert-action:hover {
  background-color: rgba(255,255,255,.7);
  box-shadow: 1px 1px 3px rgba(0,0,0,.2);
}
.snapAlert-action-cancel {
  text-decoration: underline !important;
  background-color: transparent !important;
}

.snapAlert-rtl .snapAlert-action {
  margin-right: 0;
  margin-left: 10px;
}

.snapAlert-dark .snapAlert-action {
  background-color: var(--color20);
  color: #fff;
}

.snapAlert-dark .snapAlert-action:hover {
  background-color: var(--color4) !important;
  box-shadow: 1px 1px 3px rgba(0,0,0,.2);
}

.snapAlert-item   .snapAlert-actions button {

}

.snapAlert-item .snapAlert-close{
  position: absolute;
  top: 7px;
  right: 5px;
  cursor: pointer;
  border: 0;
  background-color: transparent;
  color: #ccc;
}

.snapAlert-rtl.snapAlert-item .snapAlert-close{
  left: 5px;
  right: unset;
}

.snapAlert-item .snapAlert-close:hover {
  color: #000;
}

.snapAlert-item.snapAlert-dark .snapAlert-close:hover {
  color: #e1e1e1 !important;
}

.snapAlert-item .snapAlert-close i {
  font-size: 20px;
}

.snapAlert-item .snapAlert-title {
  font-weight: bolder !important;
}

.snapAlert-title {
  display: none;
}

.snapAlert-item.snapAlert-clickable {
    cursor: pointer !important;
}

.snapAlert-item.modal-slide-in.snapAlert-clickable:hover {
  transform: translateX(0) scale(1.05);
}

.snapAlert-item.modal-slide-out.snapAlert-clickable:hover {
  transform: translateX(-110%) scale(1.05);
}

.snapAlert-item .snapAlert-progress-bar {
  position: absolute;
  width: 100%;
  background-color: transparent;
  left: 0;
  bottom: 0;
}

.snapAlert-item .snapAlert-progress-bar::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #777;
  width: 102%;
  border-radius: 20px;
  transform: translateX(-1%);
  left: 0;
  bottom: -3px;
  animation: snapAlert-progress-width var(--snapAlert-progress-duration) linear forwards; /* Fill bar animation */
}

.snapAlert-rtl.snapAlert-item .snapAlert-progress-bar::before{
  left: unset !important;
  right: 0;
}

.snapAlert-item:hover .snapAlert-progress-bar {
  animation-play-state: paused !important;
}

@keyframes snapAlert-progress-width {
  from {
    width: 100%; /* Start at 100% */
  }
  to {
    width: 0%; /* End at 0% */
  }
}





.snapAlert-error { background: #FFCAD4;  }

.snapAlert-warning { background: #F6EFBD; }

.snapAlert-success { background: #C9E9D2; }

.snapAlert-info { background: #D1E9F6; }

.snapAlert-alert { background: #F6EFBD; }

.snapAlert-alert .snapAlert-title { color: var(--color20); }
.snapAlert-error .snapAlert-title { color: #C63C51; }
.snapAlert-warning .snapAlert-title { color: var(--color20); }
.snapAlert-success .snapAlert-title { color: #41B06E; }
.snapAlert-info .snapAlert-title { color: #0D92F4; }


.snapAlert-alert .snapAlert-icon { color: var(--color20); }
.snapAlert-error .snapAlert-icon { color: #C63C51; }
.snapAlert-warning .snapAlert-icon { color: var(--color10); }
.snapAlert-success .snapAlert-icon { color: #41B06E; }
.snapAlert-info .snapAlert-icon { color: var(--color10); }

.snapAlert-alert .snapAlert-progress-bar::before { background: var(--color10); }
.snapAlert-error .snapAlert-progress-bar::before { background: #C63C51; }
.snapAlert-warning .snapAlert-progress-bar::before { background: var(--color10); }
.snapAlert-success .snapAlert-progress-bar::before { background: #41B06E; }
.snapAlert-info .snapAlert-progress-bar::before { background: var(--color10); }


.snapAlert-item.snapAlert-dark {
  background: var(--color9) !important;
  color: #efefef;
}

.snapAlert-html {
  background: unset !important;
  border-radius: unset !important;
  box-shadow: unset !important;
  padding: 0 !important;
  min-width: unset !important;
}

.progress-hide {
  padding-bottom: 0 !important;
}

.snapAlert-no-icon {
  width: 10px;
}