/*
 * @Author: iowen
 * @Author URI: https://www.iowen.cn/
 * @Date: 2024-01-03 00:15:11
 * @LastEditors: xiutheme
 * @LastEditTime: 2025-11-20 17:10:45
 * @FilePath: /themes/aigc/assets/css/aigc-style.css
 * @Description: 自定义样式
 */
/* 顶部固定通知栏容器 */
.top-notice-bar {
    position: fixed;
    z-index: 1085;
    top: 0;
    width: 100%;
}

.has-top-banner #sidebar, .has-top-banner .sticky, .has-top-banner .main-content {
    padding-top: var(--body-banner-height, 60px);
}

/* 通知栏链接容器 */
.notice-bar-link {
    background-color: var(--banner-bg, #fff);
    height: var(--banner-height, 60px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    text-decoration: none; /* 清除链接默认下划线 */
}

/* 通知栏图片 */
.notice-bar-img {
    height: 100%;
}

/* 关闭按钮 */
.notice-bar-close {
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0.4;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: none; /* 清除按钮默认边框 */
    padding: 0; /* 清除按钮默认内边距 */
    font-size: 14px; /* 调整关闭图标大小 */
}

/* 关闭按钮hover效果（可选增强） */
.notice-bar-close:hover {
    opacity: 0.8;
}