/* Widget container */
.mlip-widget {
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 25px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    max-width: 1200px;
    /* optional: limit width */
}


.mlip-top {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    /* prevent stretching */
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

/* Features section styling */
.mlip-features-list {
    list-style: none;
    padding: 10px;
    display: column;
    flex-wrap: wrap;
    gap: 10px 15px;
    background-color: #EEF7FF;
    border-radius: 8px;
    /* optional: rounded corners */
}

.mlip-features-list .feature-item {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin: 0;
    flex-direction: column;
    padding-left: 28px;
    /* space for icon if needed */
    position: relative;
}

.mlip-features-list .feature-item::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}


/* CTA Button */
.mlip-btn {
    background: #00704a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
}

.mlip-btn:hover {
    background: #005e3d;
}

/* Info boxes */
.mlip-box-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    border: 1px #CECECE;
    margin-bottom: 15px;
}

.info-box {
    flex: 1;
    min-width: 100%;
    border: 1px #CECECE;
    padding: 15px;
    text-align: center;
}

.info-box p {
    font-weight: 600;
    color: #111;
    font-size: 1rem;
}

.info-box h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #444;
}

/* Testimonial */
.mlip-testimonial {
    position: relative;
    text-align: center;
    border-top: 1px solid #eee;
    padding: 25px 40px;
    /* add space for arrows */
}

/* Left arrow */
.mlip-testimonial::before {
    content: "❮";
    /* left arrow symbol */
    position: absolute;
    top: 50%;
    left: 10px;
    /* distance from left edge */
    transform: translateY(-50%);
    font-size: 24px;
    color: #000000;
    cursor: pointer;
}

/* Right arrow */
.mlip-testimonial::after {
    content: "❯";
    /* right arrow symbol */
    position: absolute;
    top: 50%;
    right: 10px;
    /* distance from right edge */
    transform: translateY(-50%);
    font-size: 24px;
    color: #00704a;
    cursor: pointer;
}

.mlip-stars {
    font-size: 1.1rem;
    color: #ffb400;
    margin-bottom: 8px;
}

.testimonial-text {
    font-style: italic;
    color: #333;
}

/* ===== REGION & LANGUAGE DROPDOWN ===== */

.dropdown-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 180px;
    max-width: 100%;
}

/* Dropdown wrapper */
.dropdown {
    position: relative;
}

/* Toggle button */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f8f9fa;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    justify-content: space-between;
}

.dropdown-toggle:hover {
    background-color: #eef1f3;
}

/* Icon and label inside button */
.dropdown-toggle img {
    width: 18px;
    height: 18px;
}

.dropdown-toggle span {
    font-size: 14px;
    color: #333;
}

.dropdown-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Arrow icon */
.arrow-down {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #333;
    transition: transform 0.3s ease;
}

/* Open state rotation */
.dropdown.open .arrow-down {
    transform: rotate(-180deg);
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    min-width: 180px;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 99;
}

/* Visible state */
.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown items */
.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}

.dropdown-menu li a:hover {
    background-color: #f3f4f6;
    color: #000;
}

/* Responsive tweak */
@media (max-width: 768px) {
    .dropdown-container {
        gap: 10px;
    }

    .dropdown-toggle {
        padding: 6px 10px;
    }

    .dropdown-menu {
        min-width: 150px;
    }
}