/**
 * Yiontech Social Proof Widget Styles
 */

.yiontech-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a4d2e;
    padding: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.yiontech-social-proof-content {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.yiontech-social-proof-photos {
    display: flex;
    position: relative;
    margin-right: 15px;
}

.yiontech-social-proof-photo {
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ffffff;
    margin-right: 10px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    height: 40px;
    width: 40px;
    flex-shrink: 0;
}

.yiontech-social-proof-photo:first-child {
    z-index: 5;
}

.yiontech-social-proof-photo:nth-child(2) {
    z-index: 4;
}

.yiontech-social-proof-photo:nth-child(3) {
    z-index: 3;
}

.yiontech-social-proof-photo:nth-child(4) {
    z-index: 2;
}

.yiontech-social-proof-photo:nth-child(5) {
    z-index: 1;
}

.yiontech-social-proof-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yiontech-social-proof-number {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    background-color: #ff7e00;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-right: 15px;
    height: 60px;
    width: 60px;
    font-size: 24px;
    flex-shrink: 0;
    z-index: 9;
}

.yiontech-social-proof-text {
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .yiontech-social-proof-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .yiontech-social-proof-photos {
        margin-right: 0;
     
    }
    
    .yiontech-social-proof-number {
        margin-right: 0;
       
    }
    
    .yiontech-social-proof-text {
        white-space: normal;
    }
}