.iw-riverbot-wrapper {
    display: inline-block;
}

.iw-riverbot-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    outline: none;
    background-color: #007bff;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.iw-riverbot-button .elementor-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.iw-riverbot-button .elementor-icon svg {
    width: 1em;
    height: 1em;
}

/* Modal Styles */
.iw-riverbot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.iw-riverbot-modal.active {
    pointer-events: auto;
}

.iw-riverbot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 200ms ease;
}

.iw-riverbot-modal.active .iw-riverbot-overlay {
    opacity: 1;
}

.iw-riverbot-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 80vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 200ms ease, transform 200ms ease;
}

.iw-riverbot-modal.active .iw-riverbot-container {
    opacity: 1;
    transform: translateY(0);
}

.iw-riverbot-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.iw-riverbot-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.iw-riverbot-modal.active .iw-riverbot-close {
    opacity: 1;
    pointer-events: auto;
}

.iw-riverbot-close:hover {
    background: #fff;
    transform: scale(1.1);
}

.iw-riverbot-close::before,
.iw-riverbot-close::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background-color: #333;
    transform: rotate(45deg);
}

.iw-riverbot-close::after {
    transform: rotate(-45deg);
}

/* Mobile Styles */
@media (max-width: 767px) {
    .iw-riverbot-container {
        width: 100%;
        height: 100vh;
        max-width: none;
        border-radius: 0;
    }

    .iw-riverbot-close {
        top: 0.5rem;
        right: 0.5rem;
    }
} 