/* Modal Overlay */
.ezway-changelog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ezway-changelog-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Modal Card */
.ezway-changelog-card {
    background: #fff;
    width: 90%;
    max-width: 800px;
    /* Increased width */
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    /* Limit height */
}

.ezway-changelog-overlay.is-visible .ezway-changelog-card {
    transform: translateY(0);
}

/* Close Button */
.ezway-changelog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    transition: background 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ezway-changelog-close:hover {
    background: #fff;
    transform: scale(1.1);
}

/* Slider Container */
.ezway-changelog-slider {
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ezway-changelog-slides {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
}

.ezway-changelog-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    /* Allow scrolling within slide if needed */
}

/* Slide Content */
.ezway-changelog-image {
    width: 100%;
    height: 300px;
    /* Taller image */
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.ezway-changelog-content {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
    /* Scrollable content */
}

.ezway-changelog-badge {
    display: inline-block;
    background: #eaf3ff;
    color: #0066ff;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.ezway-changelog-title {
    margin: 0 0 16px;
    font-size: 28px;
    /* Larger title */
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.ezway-changelog-text {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

.ezway-changelog-cta {
    display: inline-block;
    margin-top: 20px;
    background: #0066ff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
}

.ezway-changelog-cta:hover {
    background: #0052cc;
    transform: translateY(-2px);
}

.ezway-changelog-cta:active {
    transform: translateY(0);
}

/* Footer & Controls */
.ezway-changelog-footer {
    padding: 20px 30px;
    border-top: 1px solid #f0f0f0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* Left, Center, Right */
    align-items: center;
    background: #fff;
    flex-shrink: 0;
}

.ezway-changelog-cta-footer {
    justify-self: start;
    background: #0066ff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
    display: inline-block;
}

.ezway-changelog-cta-footer:hover {
    background: #0052cc;
}

.ezway-changelog-dots {
    display: flex;
    gap: 6px;
    justify-self: center;
}

.ezway-changelog-next {
    justify-self: end;
    /* Existing styles... */

    .ezway-changelog-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: background 0.3s;
    }

    .ezway-changelog-dot.active {
        background: #0066ff;
        transform: scale(1.2);
    }

    .ezway-changelog-next {
        background: #0066ff;
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        transition: background 0.2s, transform 0.1s;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .ezway-changelog-next:hover {
        background: #0052cc;
    }

    .ezway-changelog-next:active {
        transform: scale(0.98);
    }

}