.cpress-ad-container {
    width: 100%;
    position: relative;
}

.cpress-ad-label {
    text-align: center;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 6px;
}

.cpress-ad-content {
    position: relative;
}

.cpress-ad-loader {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.75);
    text-align: center;
    color: #555;
    font-size: 12px;
}

.cpress-ad-spinner {
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    border: 3px solid rgba(0, 0, 0, 0.12);
    border-top-color: #007cba;
    border-right-color: rgba(0, 0, 0, 0.12);
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: 50%;
    animation: cpressSpin 0.8s linear infinite;
    display: inline-block;
}

.cpress-ad-content.cpress-ad-skeleton {
    position: relative;
    min-height: 160px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(90deg, #f2f2f2 0%, #e4e4e4 50%, #f2f2f2 100%);
    background-size: 400% 100%;
    animation: cpressSkeletonShimmer 1.4s ease infinite;
}

.cpress-ad-loader .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes cpressSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cpressSkeletonShimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
