/*
 * Simple Ad Banner Styles
 */

.sab-ad-banner-popup {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sab-ad-banner-link {
    display: block;
    line-height: 0;
}

.sab-ad-banner-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.sab-close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    line-height: 1;
}

.sab-close-button:hover {
    background-color: #e1e1e1;
}

/* For better mobile experience */
@media (max-width: 620px) {
    .sab-ad-banner-popup {
        width: 100%;
        left: 0;
        transform: none;
    }
}
