/**
 * Yiontech More Feedback Widget Styles
 */

/* Base Styles */
.more-feedback {
    max-width: 800px;
    margin: 0 auto;
}

.feedback-container {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    position: relative;
}

.profiles {
    display: flex;
    margin-right: 30px; /* Space between profiles and text */
}

.profile-img {
    width: 120px; /* Size of the circular images */
    height: 120px;
    border-radius: 50%; /* Default to rounded */
    object-fit: cover; /* Ensures image covers the circle without distortion */
    margin-left: -30px; /* Overlap the images by default */
    transition: transform 0.3s ease;
    z-index: 1;
    position: relative;
    border-style: solid;
    border-width: 5px;
    border-color: #ffffff;
}

/* Adjust the first image so it's not overlapped */
.profile-img:first-child {
    margin-left: 0;
    z-index: 2;
}

/* Increase z-index for each subsequent image to ensure proper hover effect */
.profile-img:nth-child(2) {
    z-index: 3;
}

.profile-img:nth-child(3) {
    z-index: 4;
}

.profile-img:nth-child(4) {
    z-index: 5;
}

.profile-img:hover {
    transform: translateY(-5px); /* Simple hover effect */
    z-index: 10 !important; /* Ensure hovered image is on top */
}

.feedback-text-area {
    display: flex;
    align-items: center;
}

.graphic-arrow {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    object-fit: contain;
}

.feedback-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #333; /* Dark color for the main text */
    margin: 0;
    line-height: 1.2;
}

.feedback-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.highlighted-text {
    color: #ffa500; /* Orange/Gold color from the image */
}

/* Classic Style */
.more-feedback-classic .feedback-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
  
}

/* Card Style */
.more-feedback-card .feedback-container {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.more-feedback-card .feedback-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Bubble Style */
.more-feedback-bubble .feedback-container {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 25px 30px;
    position: relative;
}

.more-feedback-bubble .feedback-container::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50px;
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: #f8f9fa transparent;
}

/* Minimal Style */
.more-feedback-minimal .feedback-container {
    background: none;
    border: none;
    padding: 0;
}

.more-feedback-minimal .profile-img {
    border: none;
}

/* Highlight Style */
.more-feedback-highlight .highlighted-text {
    background-color: rgba(255, 165, 0, 0.2);
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 700;
}

/* Clean Style */
.more-feedback-clean .feedback-container {
    background-color: #fff;
    border-radius: 16px;
    padding: 40px 30px 30px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.more-feedback-clean .feedback-container:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .feedback-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .profiles {
        margin-right: 0;
        margin-bottom: 20px;
        justify-content: center;
        width: 100%;
    }
    
    .profile-img {
        width: 80px;
        height: 80px;
    }
    
    .feedback-text-area {
        width: 100%;
        justify-content: center;
    }
    
    .graphic-arrow {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .feedback-title {
        font-size: 2em;
    }
    
    /* Remove bubble tail on mobile */
    .more-feedback-bubble .feedback-container::after {
        display: none;
    }
}