/* sticky top banner styling - full width */
.site-notification {
    position: fixed;
    background: #fffae6;
    color: #000;
    font-weight: normal;
    padding: 12px 45px 12px 15px;
    font-size: 13px;
    line-height: 1.5;
    z-index: 9999;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    left: 0;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.site-notification .sn-close {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 5px 8px;
    box-shadow: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-notification .sn-close:hover {
    box-shadow: none;
    color: #333;
}
.site-notification p,
.site-notification div {
    margin: 0;
    padding: 0;
}

/* admin meta box helper styles (same file loaded in admin) */

.sn-toggle-all {
    margin-bottom: 5px;
}
.sn-search {
    margin-bottom: 5px;
}
.sn-list {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 6px;
    background: #fff;
}

.sn-item {
    display: block;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sn-item:hover {
    background: #f5f5f5;
}

.sn-item input {
    margin-right: 6px;
}

.sn-no-results {
    text-align: center;
    font-style: italic;
}

.sn-search-wrap {
    position: relative;
    max-width: 300px;
}

.sn-search-wrap input {
    width: 100%;
    padding: 8px 30px 8px 8px;
    box-sizing: border-box;
}

.sn-clear-search {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #999;
    display: none;
    user-select: none;
}

.sn-clear-search:hover {
    color: #333;
}
