/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 .sale_alert_wrapper{
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
 }
 .sale_alert_wrapper span.buyer-name, 
 .sale_alert_wrapper span.product-name {
    font-weight: 600;
    
}
#sale_alertWrapper .popup_template {
    background-color: #e0e0e0; 
    bottom: 20px;
    border-radius: 0;
}

#sale_alertWrapper  .popup_position {
    position: fixed; 
    z-index: 99999;
}

#sale_alertWrapper  .popup_position.bottomRight {
    bottom: 20px;
    right: 10px;
}

#sale_alertWrapper .popup_position.bottomLeft {
    bottom: 20px;
    left: 10px;
}
#sale_alertWrapper  .popup_position.topRight {
    top: 20px;
    right: 10px;
}

#sale_alertWrapper .popup_position.topLeft {
    top: 20px;
    left: 10px;
}

#sale_alertWrapper figure.circle{
    max-height: 75px;
    border-radius: 16px;
    border: 1px solid #eee;
}

#sale_alertWrapper .popup-item {
    padding: 10px;
    width: auto;
    position: relative;
    display: flex;
}
.popup-item.imageOnRight {
    flex-direction: row-reverse;
}
#sale_alertWrapper figure{
    margin: 0; 
    /* width: 75px; 
    max-height: 65px;  */
    position: relative;
}
#sale_alertWrapper .popup-item.imageOnLeft figure{
    margin-right: 20px;
}
#sale_alertWrapper .textOnly  figure{
   display: none;
}


#sale_alertWrapper figure img{
    width: 100%;
    object-fit: cover;
    width: 75px;
    height: 75px;
    border-radius: 16px;
}

#sale_alertWrapper .sale_alert-content-wrap{
    width: calc(100% - 85px);    
    margin-top: 0px;
    font-size: 14px;
    color: #1e1e1e;
}

/* #sale_alertWrapper .imageOnRight .sale_alert-content-wrap{
    float: left;
} */

#sale_alertWrapper .textOnly .sale_alert-content-wrap{
   width: 100%;
}

#sale_alertWrapper .sale_alert-content-wrap .t-product{
    display: block; 
    font-size: 120%;
    font-weight: bold;
    line-height: 1.2;
}

#sale_alertWrapper .sale_alert-content-wrap small{
    font-size: 12px;
    font-style: italic;
    color: #666;
    font-weight: 600;
}
 
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
#sale_alertWrapper .popup_position a .sale_alert-content-wrap {
    transition: all 0.3s ease;
}
#sale_alertWrapper .popup_position a:hover .sale_alert-content-wrap span.product-name{
    text-decoration: underline;
}

#sale_alertWrapper .popup_position a:hover .sale_alert-content-wrap small.time,
#sale_alertWrapper .popup_position a:hover .sale_alert-content-wrap .dot,
#sale_alertWrapper .popup_position a:hover .sale_alert-content-wrap span.verified-text{
    text-decoration: none;
}
#sale_alertWrapper .popup-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px;
    text-decoration: none;
    position: relative;
}
.sale_alert_wrapper span.product-name {
    display: inline-block;
    width: 100%;
}
#sale_alertWrapper .imageOnRight a{
    flex-direction: row-reverse;
}
.sale_alert_wrapper .verified-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #3b82f6;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.sale_alert_wrapper .verified-badge svg {
  width: 12px;
  height: 12px;
}

.sale_alert_wrapper .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
}

.sale_alert_wrapper .verified-text {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 600;
  color: #3b82f6;
}
/*Glassmorphism design*/
#sale_alertWrapper .glassmorphism .popup_template {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
#sale_alertWrapper .popup_position.glassmorphism .sale_alert-content-wrap{
    color: #000;
}
/* Close Button */

.sale_alert_wrapper .close-btn {
  position: absolute;
  top: -20px;
  right: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  background: #0c0e1f;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 0;
  transform: scale(0);
}

.sale_alert_wrapper .popup_box:hover .close-btn {
  background: #333;
  color: #fff;
  opacity: 1;
  transform: scale(1);
}
.sale_alert_wrapper .popup-item.imageOnRight .close-btn{
    top: -20px;
    right: 0;
}
.sale_alert_wrapper .close-btn svg {
  width: 14px;
  height: 14px;
}
.sale_alert_wrapper .progress-container {
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #f1f5f9;
  border-radius: 2px;
  overflow: hidden;
}

.sale_alert_wrapper .progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  transition: width 0.9s linear;
}
@media screen and ( max-width: 767px){
    #sale_alertWrapper .popup-item{
        padding: 10px !important;
    }

    #sale_alertWrapper .popup_position.bottomRight {
        bottom: 0 !important;
        right: 0 !important;
        width: 100% !important;
        left: 0 !important;
    }  

    #sale_alertWrapper .popup_position .sale_alert-content-wrap {
        font-size: 13px !important;
        line-height: 1.5 !important;
    } 
}

@media screen and ( max-width: 480px){
    #sale_alertWrapper .popup_position{
        width: 300px !important;
    }
}


 