/* 公告通知弹窗样式 */
#notificationContent {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#notificationContent h1, 
#notificationContent h2, 
#notificationContent h3 {
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

#notificationContent h1:first-child,
#notificationContent h2:first-child,
#notificationContent h3:first-child {
    margin-top: 0;
}

#notificationContent h1 { 
    font-size: 1.75rem;
    color: #1e40af;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

#notificationContent h2 { 
    font-size: 1.4rem;
    color: #2563eb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#notificationContent h2::before {
    content: "▸";
    color: #3b82f6;
    font-weight: bold;
}

#notificationContent h3 { 
    font-size: 1.15rem;
    color: #1f2937;
    font-weight: 600;
}

#notificationContent h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

#notificationContent p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: #374151;
    font-size: 0.95rem;
}

#notificationContent ul, 
#notificationContent ol {
    margin-left: 0;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: #374151;
}

#notificationContent ul {
    list-style-type: none;
}

#notificationContent ul li::before {
    content: "●";
    color: #3b82f6;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

#notificationContent ol {
    list-style-type: decimal;
    counter-reset: item;
}

#notificationContent ol > li {
    counter-increment: item;
    position: relative;
    padding-left: 0.5rem;
}

#notificationContent ol > li::marker {
    color: #3b82f6;
    font-weight: 700;
}

#notificationContent li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    padding-left: 0.25rem;
}

#notificationContent ul ul,
#notificationContent ol ul,
#notificationContent ul ol,
#notificationContent ol ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

#notificationContent ul ul li::before {
    content: "◦";
    color: #60a5fa;
}

#notificationContent strong {
    font-weight: 700;
    color: #1f2937;
    background: linear-gradient(120deg, #fef3c7 0%, #fef3c7 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 85%;
    padding: 0 0.15rem;
}

#notificationContent em {
    font-style: italic;
    color: #6366f1;
    font-weight: 500;
}

#notificationContent code {
    background: linear-gradient(135deg, #fef3c7 0%, #fee2e2 100%);
    color: #dc2626;
    padding: 0.2rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-family: 'SF Mono', 'Monaco', 'Consolas', 'Courier New', monospace;
    font-weight: 600;
    border: 1px solid #fecaca;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#notificationContent pre {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 1.25rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin-bottom: 1rem;
    border: 1px solid #334155;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#notificationContent pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border: none;
    box-shadow: none;
    font-weight: 400;
}

#notificationContent a {
    color: #3b82f6;
    text-decoration: underline;
    transition: color 0.2s;
}

#notificationContent a:hover {
    color: #2563eb;
}

#notificationContent blockquote {
    border-left: 5px solid #3b82f6;
    margin-left: 0;
    margin-bottom: 1rem;
    color: #1e40af;
    font-style: italic;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
    position: relative;
}

#notificationContent blockquote::before {
    content: """;
    font-size: 3rem;
    color: #93c5fd;
    position: absolute;
    left: 0.5rem;
    top: -0.5rem;
    line-height: 1;
    font-family: Georgia, serif;
}

#notificationContent blockquote p {
    margin-bottom: 0.5rem;
}

#notificationContent blockquote p:last-child {
    margin-bottom: 0;
}

#notificationContent hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    margin: 2rem 0;
    opacity: 0.6;
}

#notificationContent table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.75rem;
}

#notificationContent table th,
#notificationContent table td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem;
    text-align: left;
}

#notificationContent table th {
    background-color: #f3f4f6;
    font-weight: 600;
}

#notificationContent img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 0.75rem 0;
}

/* 加载动画 */
.notification-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

/* 空公告提示 */
.notification-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #9ca3af;
}

.notification-empty i {
    opacity: 0.5;
}

/* 添加数字标记样式美化 */
#notificationContent ol[start] {
    counter-reset: item calc(attr(start) - 1);
}

/* 优化嵌套列表缩进 */
#notificationContent ul ul,
#notificationContent ul ol,
#notificationContent ol ul,
#notificationContent ol ol {
    padding-left: 2rem;
}

/* 添加动画效果 */
#notificationContent h1,
#notificationContent h2,
#notificationContent h3 {
    animation: slideInFromLeft 0.5s ease-out;
}

#notificationContent p,
#notificationContent ul,
#notificationContent ol,
#notificationContent blockquote {
    animation: fadeIn 0.6s ease-out;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 链接样式优化 */
#notificationContent a {
    position: relative;
    transition: all 0.3s ease;
}

#notificationContent a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

#notificationContent a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* 滚动条美化 */
#globalNotification .overflow-y-auto::-webkit-scrollbar,
.overflow-y-auto::-webkit-scrollbar {
    width: 8px;
}

#globalNotification .overflow-y-auto::-webkit-scrollbar-track,
.overflow-y-auto::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

#globalNotification .overflow-y-auto::-webkit-scrollbar-thumb,
.overflow-y-auto::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    border-radius: 10px;
}

#globalNotification .overflow-y-auto::-webkit-scrollbar-thumb:hover,
.overflow-y-auto::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563eb, #1e40af);
}

/* 底部按钮区域样式 */
#globalNotification .border-t {
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

