.bugme-alert-bar {
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999999;
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 14px;
    line-height: 1.5;
    transition: transform 0.3s ease-in-out;
}

/* Sticky positioning */
.bugme-alert-bar.sticky {
    position: fixed;
}

/* Non-sticky positioning */
.bugme-alert-bar.not-sticky {
    position: relative;
    transform: none !important;
}

.bugme-alert-bar.not-sticky.bugme-alert-top {
    order: -1;
}

.bugme-alert-bar.not-sticky.bugme-alert-bottom {
    order: 999;
}

/* Sticky animations */
.bugme-alert-top.sticky {
    top: 0;
    transform: translateY(-100%);
}

.bugme-alert-bottom.sticky {
    bottom: 0;
    transform: translateY(100%);
}

.bugme-alert-bar.is-visible {
    transform: translateY(0);
}

/* WordPress admin bar adjustments */
.admin-bar .bugme-alert-top.sticky {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .bugme-alert-top.sticky {
        top: 46px;
    }
}

.bugme-alert-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    flex-grow: 1;
}

.bugme-alert-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0 10px;
    font-size: 20px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.bugme-alert-close:hover,
.bugme-alert-close:focus {
    opacity: 1;
    outline: 2px solid currentColor;
    outline-offset: -4px;
}

/* Preview styles */
.bugme-alert-preview {
    position: relative !important;
    transform: none !important;
    margin: 20px 0;
    max-width: 800px;
}
