/* Advertisement Styles */
.wc-qsm-advertisement {
    margin: 15px 0;
    text-align: center;
}

/* Auto Placement Zones */
.wc-qsm-auto-ad-zone {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.wc-qsm-auto-ad-header {
    margin: 0 0 20px 0;
    padding: 10px 0;
}

.wc-qsm-auto-ad-footer {
    margin: 20px 0 0 0;
    padding: 10px 0;
}

.wc-qsm-auto-ad-content-top {
    margin-bottom: 30px;
}

.wc-qsm-auto-ad-content-bottom {
    margin-top: 30px;
}

.wc-qsm-auto-ad-quiz-top {
    margin-bottom: 20px;
}

.wc-qsm-auto-ad-quiz-middle {
    margin: 30px 0;
    clear: both;
}

.wc-qsm-auto-ad-quiz-bottom {
    margin-top: 30px;
    clear: both;
}

.wc-qsm-auto-ad-left-fixed,
.wc-qsm-auto-ad-right-fixed {
    position: fixed;
    top: 120px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 180px;
    max-width: 22vw;
    margin: 0;
    padding: 0;
    background: transparent;
}

.wc-qsm-auto-ad-left-fixed {
    left: 20px;
}

.wc-qsm-auto-ad-right-fixed {
    right: 20px;
}

.wc-qsm-auto-ad-left-fixed .wc-qsm-advertisement,
.wc-qsm-auto-ad-right-fixed .wc-qsm-advertisement {
    margin: 0;
}

.wc-qsm-advertisement img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.wc-qsm-ad-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.wc-qsm-ad-link:hover {
    opacity: 0.9;
}

.wc-qsm-ad-code {
    width: 100%;
}

.wc-qsm-ad-zone {
    margin: 20px 0;
}

.wc-qsm-ad-widget {
    margin: 10px 0;
}

@media (max-width: 1200px) {
    .wc-qsm-auto-ad-left-fixed,
    .wc-qsm-auto-ad-right-fixed {
        display: none;
    }
}

/* Admin Styles */
.status-active {
    color: #46b450;
    font-weight: bold;
}

.status-inactive {
    color: #dc3232;
    font-weight: bold;
}

.status-expired {
    color: #ffb900;
    font-weight: bold;
}
