/* 通用列表页样式 - 与首页风格统一 */

/* 页面Banner - 与交易大厅一致 */
.page-banner {
    background: linear-gradient(90deg, rgba(24,50,142,0) 0%, rgba(22,100,255,0.1) 50%, rgba(24,50,142,0) 100%);
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

}

.banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.banner-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* 主内容区 */
.main-container {
    background: #f5f5f5;
    padding: 40px 0;
    min-height: 600px;
}

/* 侧边栏 + 内容布局 */
.content-wrapper {
    display: flex;
    gap: 24px;
}

/* 侧边栏 */
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-card {
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.sidebar-header {
    background: #1f2937;
    padding: 15px;
    text-align: center;
}

.sidebar-title {
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    display: block;
}

.sidebar-subtitle {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    display: block;
}

.sidebar-menu {
    padding: 12px 0;
}

.sidebar-menu-item {
    display: block;
    padding: 14px 24px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 15px;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.sidebar-menu-item:hover,
.sidebar-menu-item.active {
    color: #1664ff;
    background: #f0f7ff;
    border-left-color: #1664ff;
}

/* 主内容区 */
.content-main {
    flex: 1;
    min-width: 0;
}

/* 列表项卡片 */
.list-item {
    background: #fff;
    border-radius: 0;
    padding: 14px;
    margin-bottom: 1px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.list-item:hover {
    background: #f8fafc;
}

/* 日期标签 */
.item-date {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    padding: 12px 8px;
    background: linear-gradient(135deg, #1664ff 0%, #3a7fff 100%);
    border-radius: 0;
}

.date-year {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.date-md {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

/* 标题 */
.item-title {
    flex: 1;
}

.item-title a {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.5;
}

.item-title a:hover {
    color: #1664ff;
}

/* 分页 */
.pagination {
    margin-top: 32px;
    text-align: center;
}

.pagination .page {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: #fff;
    border-radius: 6px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.pagination .page:hover {
    background: #f0f7ff;
    color: #1664ff;
}

.pagination .page.current {
    background: linear-gradient(135deg, #1664ff 0%, #3a7fff 100%);
    color: #fff;
}

/* 表单卡片通用样式 */
.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #374151;
    transition: all 0.3s;
    background: #fcfcfd;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1664ff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22,100,255,0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,107,0,0.35);
}

.submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 响应式 */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 50px 0;
    }
    .banner-title {
        font-size: 26px;
    }
    .main-container {
        padding: 20px 0;
    }
    .list-item {
        padding: 16px;
        gap: 12px;
    }
    .item-date {
        width: 65px;
        padding: 8px 4px;
    }
    .date-full {
        font-size: 13px;
    }
    .item-title a {
        font-size: 15px;
    }
    .form-card {
        padding: 20px;
    }
}