/* notice.css - 通知公告页面专属样式 */

/* 公告列表 */
.notice-item { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; background: white; border-radius: 12px; border: 1px solid #f1f5f9; transition: all 0.3s; margin-bottom: 0.75rem; }
.notice-item:hover { box-shadow: 0 4px 16px rgba(30,58,138,0.07); border-color: #dbeafe; }
.notice-date { width: 56px; height: 56px; background: linear-gradient(135deg, #1e3a8a, #3b82f6); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; flex-shrink: 0; }
.notice-date .day { font-size: 1.25rem; font-weight: 700; line-height: 1; }
.notice-date .month { font-size: 0.65rem; opacity: 0.9; }
.notice-content { flex: 1; min-width: 0; }
.notice-title { font-weight: 600; color: #1f2937; font-size: 0.95rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice-desc { color: #94a3b8; font-size: 0.8rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.notice-badge { padding: 2px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; flex-shrink: 0; }

/* 搜索框 */
.search-box { position: relative; }
.search-box input { padding-left: 2.5rem; border-radius: 999px; border: 1px solid #e2e8f0; width: 100%; height: 40px; outline: none; }
.search-box input:focus { border-color: #1e3a8a; }
.search-box i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #94a3b8; }

/* 响应式 */
@media (max-width: 767px) {
  .notice-date { display: none; }
}
