/* AdVault Visual Ad Inserter Frontend Styles */
.avai-ad-wrapper {
    display: block;
    width: 100%;
    margin: 18px 0;
    clear: both;
    text-align: center;
    position: relative;
    z-index: 10;
}

.avai-align-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.avai-align-left {
    text-align: left;
    margin-right: auto;
}

.avai-align-right {
    text-align: right;
    margin-left: auto;
}

.avai-align-full {
    width: 100%;
    text-align: center;
}

/* In-Feed Native Ad Card inside Dynamic Grid */
.avai-native-card {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.avai-sponsored-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.4);
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Sticky Bottom Floating Bar */
.avai-sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0f172a;
    border-top: 1px solid #334155;
    padding: 8px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999998;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.avai-sticky-close-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #334155;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avai-sticky-close-btn:hover {
    background: #ef4444;
}
