/**
 * 招投标系统全局高级样式
 * 文本域：kuaili
 */
.bid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.bid-card { background: var(--wp--preset--color--white, #fff); border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 1.5rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 6px 16px rgba(0,0,0,0.02); display: flex; flex-direction: column; }
.bid-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.12); }
.bid-card-header { margin-bottom: 0.75rem; }
.bid-card-title { font-size: 1.25rem; font-weight: 600; margin: 0 0 0.5rem; }
.bid-card-title a { text-decoration: none; color: var(--wp--preset--color--dark, #1a1a1a); }
.bid-card-category { display: inline-block; background: rgba(44,123,229,0.1); color: #2c7be5; padding: 0.2em 0.85em; border-radius: 100px; font-size: 0.8rem; font-weight: 500; }
.bid-card-body { flex: 1; }
.bid-card-desc { color: #666; font-size: 0.95rem; margin-bottom: 1rem; }
.bid-card-meta { display: flex; gap: 1rem; align-items: center; font-size: 0.85rem; color: #5a6a7a; }
.bid-card-footer { margin-top: auto; padding-top: 1rem; }
.bid-card-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5em 1.2em; border: 1.5px solid var(--wp--preset--color--primary, #2c7be5); color: var(--wp--preset--color--primary, #2c7be5); border-radius: 8px; text-decoration: none; font-weight: 500; transition: all 0.2s; }
.bid-card-btn:hover { background: var(--wp--preset--color--primary, #2c7be5); color: #fff; }
.status { font-weight: 500; display: inline-flex; align-items: center; gap: 0.35rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.status.publish::before { background: #2ecc71; } .status.closed::before { background: #e74c3c; } .status.awarded::before { background: #3498db; } .status.archived::before { background: #95a5a6; } .status.draft::before { background: #f39c12; } .status.submitted::before { background: #2ecc71; } .status.cancelled::before { background: #bdc3c7; }
.bid-detail-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.sidebar-panel { background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); border-radius: 20px; padding: 1.75rem; position: sticky; top: 2rem; box-shadow: 0 20px 35px rgba(0,0,0,0.05); }
.countdown { font-size: 1.4rem; font-weight: 600; color: var(--wp--preset--color--primary, #2c7be5); margin-bottom: 1rem; text-align: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1.8rem; border-radius: 10px; font-weight: 500; transition: all 0.2s; cursor: pointer; text-decoration: none; border: none; }
.btn-primary { background: var(--wp--preset--color--primary, #2c7be5); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 8px 18px rgba(44,123,229,0.3); }
.btn-outline { border: 1.5px solid var(--wp--preset--color--primary, #2c7be5); color: var(--wp--preset--color--primary, #2c7be5); background: transparent; }
.btn-outline:hover { background: var(--wp--preset--color--primary, #2c7be5); color: #fff; }
.btn-block { display: block; width: 100%; margin-bottom: 0.75rem; }
.upload-area { margin: 1.5rem 0; padding: 1.5rem; border: 2px dashed var(--wp--preset--color--primary, #2c7be5); border-radius: 16px; text-align: center; background: rgba(44,123,229,0.02); transition: 0.2s; }
.upload-area:hover { background: rgba(44,123,229,0.06); }
.bid-categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.bid-category-card { background: linear-gradient(135deg, rgba(44,123,229,0.04) 0%, transparent 100%); border: 1px solid rgba(0,0,0,0.05); border-radius: 16px; padding: 2rem 1.5rem; text-align: center; text-decoration: none; color: inherit; transition: all 0.3s; display: block; }
.bid-category-card:hover { background: white; border-color: var(--wp--preset--color--primary, #2c7be5); box-shadow: 0 10px 25px rgba(44,123,229,0.12); transform: translateY(-3px); }
.category-icon { font-size: 2.2rem; margin-bottom: 0.75rem; display: block; }
.category-name { font-size: 1.1rem; font-weight: 600; }
.dashboard-tabs .tab-nav { display: flex; list-style: none; padding: 0; margin: 0 0 1.5rem; border-bottom: 2px solid #eee; }
.tab-nav .tab-item { padding: 0.75rem 1.5rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; font-weight: 500; color: #666; }
.tab-nav .tab-item.active { color: var(--wp--preset--color--primary, #2c7be5); border-bottom-color: var(--wp--preset--color--primary, #2c7be5); }
.unread-count { background: #e74c3c; color: #fff; border-radius: 10px; padding: 0.1em 0.5em; font-size: 0.75rem; margin-left: 0.5rem; }
.tab-content.hidden { display: none; }
.empty-state { text-align: center; padding: 3rem 1rem; color: #8e99a4; }
.empty-state img { width: 120px; opacity: 0.7; margin-bottom: 1.5rem; }
.bidding-notice { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.5rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 500; animation: slideDown 0.3s ease-out; }
.bidding-notice.success { background: #eafaf1; color: #1e7e34; border-left: 4px solid #2ecc71; } .bidding-notice.error { background: #fdedec; color: #b03a2e; border-left: 4px solid #e74c3c; } .bidding-notice.warning { background: #fef9e7; color: #7d6608; border-left: 4px solid #f1c40f; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.skeleton-card { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 12px; height: 180px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (max-width: 768px) { .bid-detail-wrapper { grid-template-columns: 1fr; } .sidebar-panel { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; border-radius: 16px 16px 0 0; box-shadow: 0 -5px 15px rgba(0,0,0,0.1); } .bid-grid { grid-template-columns: 1fr; } .btn { padding: 0.6rem 1.2rem; } }