/* ========================================
   合伙人模块 - 现代化设计
   参考平台商品页风格
   ======================================== */

/* ===== 首页横幅 ===== */
.partner-banner {
    background: linear-gradient(135deg, #E4393C 0%, #C81623 100%);
    margin: 10px 0; overflow: hidden; position: relative; border-radius: 4px;
}
.partner-banner .banner-inner {
    float: left; padding: 36px 25px 30px; width: 700px;
}
.partner-banner .banner-inner h1 {
    font-size: 26px; font-weight: 700; color: #fff; margin: 0 0 6px; line-height: 36px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.partner-banner .banner-inner p {
    font-size: 14px; color: rgba(255,255,255,0.85); margin: 0 0 18px; line-height: 22px;
}
.banner-search { overflow: hidden; display: inline-block; }
.banner-search .text {
    width: 340px; height: 20px; padding: 0 12px; border: none; font-size: 13px; vertical-align: top;
    outline: 0; border-radius: 3px 0 0 3px;
}
.banner-search .submit {
    height: 38px; padding: 0 24px; background: rgba(0,0,0,0.2); color: #fff; border: none;
    font-size: 14px; cursor: pointer; border-radius: 0 3px 3px 0; transition: background 0.2s;
}
.banner-search .submit:hover { background: rgba(0,0,0,0.35); }
.banner-search .hot-keys {
    font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 10px;
}
.banner-search .hot-keys a { color: rgba(255,255,255,0.8); text-decoration: none; margin-right: 10px; }
.banner-search .hot-keys a:hover { color: #fff; }

.partner-banner .banner-side {
    float: right; width: 220px; padding: 30px 30px 20px; text-align: center;
}
.partner-banner .banner-side .side-stat {
    margin-bottom: 16px; padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.partner-banner .banner-side .side-stat strong {
    font-size: 36px; font-weight: 800; display: block; color: #fff; line-height: 1;
}
.partner-banner .banner-side .side-stat span {
    font-size: 13px; color: rgba(255,255,255,0.8); display: block; margin-top: 4px;
}
.partner-banner .banner-side .publish-btn {
    display: inline-block; padding: 8px 32px; background: #fff; color: #E4393C; font-size: 14px;
    font-weight: 600; text-decoration: none; border-radius: 25px; transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.partner-banner .banner-side .publish-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); color: #C81623; }

/* ===== 分类标签栏 ===== */
.partner-tabs {
    margin: 12px 0; overflow: hidden;
}
.partner-tabs .tabs-hd {
    font-size: 12px; color: #999; margin-bottom: 8px; font-weight: 600;
}
.partner-tabs .tabs-hd i { color: #E4393C; font-style: normal; }
.partner-tabs .tabs-bd { overflow: hidden; }
.partner-tabs .tabs-bd a {
    display: inline-block; padding: 6px 18px; margin: 0 8px 8px 0; font-size: 13px; color: #555;
    background: #fff; border: 1px solid #E6E6E6; text-decoration: none; border-radius: 20px;
    transition: all 0.25s;
}
.partner-tabs .tabs-bd a:hover { color: #E4393C; border-color: #E4393C; }
.partner-tabs .tabs-bd a.active {
    background: #E4393C; color: #fff; border-color: #E4393C;
}

/* ===== 区块标题 ===== */
.partner-section { margin: 15px 0; overflow: hidden; }
.section-header {
    margin-bottom: 12px; overflow: hidden; padding-bottom: 8px; border-bottom: 2px solid #F0F0F0;
}
.section-title {
    float: left; font: bold 18px/24px "microsoft yahei"; color: #333;
}
.section-title em { color: #E4393C; }
.section-more {
    float: right; font-size: 13px; line-height: 24px; color: #999; text-decoration: none;
}
.section-more:hover { color: #E4393C; }

/* ===== 项目网格卡片(现代化) ===== */
.partner-grid {
    display: flex; flex-wrap: wrap; margin: 0 -6px;
}
.grid-item {
    width: 228px; margin: 0 6px 12px; background: #fff; border: 1px solid #EAEAEA;
    overflow: hidden; position: relative; border-radius: 4px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.grid-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.grid-item a { display: block; text-decoration: none; }

.item-pic { width: 100%; height: 152px; overflow: hidden; background: #FAFAFA; position: relative; }
.item-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.grid-item:hover .item-pic img { transform: scale(1.05); }
.item-pic .default-pic {
    display: block; text-align: center; line-height: 152px; font-size: 15px; color: #C81623; font-weight: 600;
}
.item-pic .item-tag {
    position: absolute; left: 8px; top: 8px; padding: 3px 10px; font-size: 11px; color: #fff;
    background: #E4393C; border-radius: 2px; letter-spacing: 0.5px;
}
.item-info { padding: 10px 12px; }
.item-name {
    font-size: 14px; line-height: 20px; height: 40px; color: #333; margin: 0 0 6px; overflow: hidden;
    font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.item-name a { color: #333; }
.item-name a:hover { color: #E4393C; }
.item-role { font-size: 12px; color: #999; margin: 0 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-role em { color: #888; font-style: normal; }

/* 进度条 */
.item-progress { margin-bottom: 6px; }
.progress-bar {
    display: block; height: 4px; background: #F0F0F0; overflow: hidden; margin-bottom: 4px; border-radius: 2px;
}
.progress-fill {
    display: block; height: 100%; background: linear-gradient(90deg, #E4393C, #FF6B6B); border-radius: 2px;
    transition: width 0.6s ease;
}
.progress-text { font-size: 12px; color: #999; }
.progress-text em { color: #E4393C; font-weight: 700; font-style: normal; }

.item-meta {
    border-top: 1px solid #F5F5F5; padding-top: 8px; font-size: 12px; color: #999; overflow: hidden;
}
.item-meta .author { float: left; }
.item-meta .author .avatar {
    width: 18px; height: 18px; border-radius: 50%; vertical-align: middle; margin-right: 4px;
}
.item-meta .views { float: right; }

/* ===== 列表页头 ===== */
.partner-list-head {
    margin: 10px 0 0; padding: 15px 20px; background: #fff; border: 1px solid #EAEAEA; overflow: hidden;
    border-radius: 4px;
}
.partner-list-head .lhead-left { float: left; }
.partner-list-head .lhead-left h2 {
    font-size: 18px; color: #333; margin: 0 0 4px; font-weight: 700;
}
.partner-list-head .lhead-left .total { font-size: 13px; color: #999; }
.partner-list-head .lhead-left .total em { color: #E4393C; font-weight: 700; font-style: normal; }
.partner-list-head .lhead-right { float: right; }
.partner-list-head .lhead-right .text {
    width: 220px; height: 22px; padding: 0 10px; border: 1px solid #E6E9EE; font-size: 13px;
    vertical-align: top; outline: 0; border-radius: 3px 0 0 3px;
}
.partner-list-head .lhead-right .submit {
    height: 38px; padding: 0 18px; background: #E4393C; color: #fff; border: 1px solid #E4393C;
    font-size: 14px; cursor: pointer; border-radius: 0 3px 3px 0; transition: background 0.2s;
}
.partner-list-head .lhead-right .submit:hover { background: #C81623; }
.partner-list-head .lhead-right form { overflow: hidden; }

/* ===== 排序筛选栏 ===== */
.partner-sortbar {
    overflow: hidden; margin: 10px 0; padding: 0; background: #fff; border: 1px solid #EAEAEA;
    border-radius: 4px;
}
.partner-sortbar .sortbar-hd {
    background: #F5F5F5; height: 36px; line-height: 36px; border-bottom: 1px solid #EAEAEA; padding: 0 15px;
    font-size: 12px; color: #999;
}
.partner-sortbar .sortbar-hd i { color: #E4393C; font-style: normal; }
.partner-sortbar .sortbar-bd { padding: 10px 15px; overflow: hidden; }
.partner-sortbar .sortbar-bd .fl { float: left; margin-right: 25px; }
.partner-sortbar .sortbar-bd .fl label { font-size: 13px; color: #666; margin-right: 8px; }
.partner-sortbar .sortbar-bd .fl a {
    display: inline-block; padding: 4px 12px; margin-right: 6px; margin-bottom: 4px; font-size: 13px;
    color: #666; background: #FAFAFA; border: 1px solid #E6E6E6; text-decoration: none; border-radius: 3px;
    transition: all 0.2s;
}
.partner-sortbar .sortbar-bd .fl a:hover, .partner-sortbar .sortbar-bd .fl a.active {
    color: #E4393C; border-color: #E4393C; background: #FFF;
}
.partner-sortbar .sortbar-bd .fr { float: right; font-size: 13px; color: #999; }
.partner-sortbar .sortbar-bd .fr label { color: #666; margin-right: 8px; }
.partner-sortbar .sortbar-bd .fr a {
    display: inline-block; padding: 4px 12px; margin-right: 4px; font-size: 13px; color: #666;
    text-decoration: none; transition: color 0.2s;
}
.partner-sortbar .sortbar-bd .fr a:hover, .partner-sortbar .sortbar-bd .fr a.active {
    color: #E4393C; font-weight: 600;
}

/* ===== 详情页 ===== */
.detail-container { margin: 10px 0; overflow: hidden; width: 100%; }
.wrapper .detail-container { padding: 0; }
.wrapper .partner-banner,
.wrapper .partner-tabs,
.wrapper .partner-section { margin-left: auto; margin-right: auto; }
.detail-main { float: left; width: 700px; box-sizing: border-box; }
.detail-side { float: right; width: 400px; box-sizing: border-box; }
.detail-side .detail-module .content { min-height: 800px; }
.detail-container::after { content: ""; display: table; clear: both; }
.detail-container { overflow: visible; }

.detail-image {
    border: 1px solid #EAEAEA; background: #fff; margin-bottom: 12px; overflow: hidden; border-radius: 4px;
}
.detail-image img { width: 100%; display: block; }
.detail-image .default-img {
    height: 320px; text-align: center; line-height: 320px; font-size: 18px; color: #E4393C; background: #FAFAFA;
    font-weight: 600;
}

/* 详情模块 */
.detail-module {
    border: 1px solid #EAEAEA; margin-bottom: 12px; overflow: hidden; border-radius: 4px;
}
.detail-module .title {
    background: #F5F5F5; height: 38px; border-bottom: 1px solid #EAEAEA; display: block;
}
.detail-module .title h3 {
    font: bold 14px/38px "microsoft yahei"; color: #333; padding: 0 15px; margin: 0;
}
.detail-module .title h3 em { color: #E4393C; }
.detail-module .title .count {
    float: right; font-size: 12px; color: #999; margin-right: 15px; font-weight: normal;
}
.detail-module .content { padding: 15px; overflow: hidden; }
.detail-module .content .detail-content { line-height: 26px; color: #555; font-size: 14px; }
.detail-module .content .detail-content p { margin: 8px 0; }

/* 详情信息列表 - 加宽间距 */
.detail-info .info-item { padding: 9px 15px; }

/* 合伙人成员列表 */
.partner-members { overflow: hidden; }
.partner-member {
    padding: 12px 0; border-bottom: 1px solid #F0F0F0; overflow: hidden; transition: background 0.2s;
}
.partner-member:last-child { border-bottom: none; }
.partner-member:hover { background: #FAFAFA; }
.partner-member .member-name {
    float: left; font-weight: 600; color: #333; font-size: 14px; line-height: 24px;
}
.partner-member .member-skills {
    float: left; color: #888; font-size: 13px; line-height: 24px; margin-left: 20px; max-width: 300px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.partner-member .member-shares {
    float: right; color: #E4393C; font-weight: 700; font-size: 15px; line-height: 24px;
}

/* 右侧标题 */
.detail-title {
    font-size: 20px; font-weight: 700; color: #222; margin: 0 0 12px; padding-bottom: 12px;
    border-bottom: 1px solid #F0F0F0; line-height: 28px;
}
.detail-meta { margin-bottom: 12px; }
.detail-meta .meta-category {
    display: inline-block; padding: 4px 10px; background: #F5F5F5; color: #666; font-size: 12px;
    border: 1px solid #E6E6E6; border-radius: 3px;
}
.detail-meta .meta-status { display: inline-block; font-size: 13px; margin-left: 10px; }
.detail-meta .meta-status .s0 { color: #F60; }
.detail-meta .meta-status .s1 { color: #44AA5D; }
.detail-meta .meta-status .s2 { color: #999; }
.detail-meta .meta-status .s3 { color: #27A9E3; }

/* 信息列表 */
.detail-info { margin-bottom: 12px; border: 1px solid #F0F0F0; border-radius: 4px; overflow: hidden; }
.detail-info .info-item {
    padding: 9px 12px; border-bottom: 1px solid #F0F0F0; overflow: hidden; font-size: 13px; background: #fff;
}
.detail-info .info-item:last-child { border-bottom: none; }
.detail-info .info-item:nth-child(even) { background: #FAFAFA; }
.detail-info .info-item label { float: left; width: 70px; color: #999; font-size: 13px; }
.detail-info .info-item span { float: left; color: #333; }

/* 股份进度 */
.detail-shares {
    margin-bottom: 12px; padding: 14px 0; background: #FAFAFA; border: 1px solid #F0F0F0;
    border-radius: 4px; text-align: center;
}
.detail-shares .progress-bar {
    display: block; height: 10px; background: #E8E8E8; margin: 0 15px 8px; overflow: hidden; border-radius: 5px;
}
.detail-shares .progress-fill {
    display: block; height: 100%; background: linear-gradient(90deg, #E4393C, #FF6B6B); border-radius: 5px;
}
.detail-shares .progress-label { font-size: 13px; color: #666; }
.detail-shares .progress-label em { color: #E4393C; font-weight: 700; font-style: normal; }

/* 联系方式 */
.detail-contact {
    margin-bottom: 12px; padding: 12px 15px; background: #FEF9F9; border: 1px solid #FDDEDE;
    border-radius: 4px;
}
.detail-contact h4 {
    font-size: 14px; color: #E4393C; margin: 0 0 6px; font-weight: 600;
}
.detail-contact h4 i { margin-right: 4px; }
.detail-contact p { margin: 0; color: #666; font-size: 13px; line-height: 22px; }

/* 操作按钮 */
.detail-actions { padding: 10px 0; overflow: hidden; }
.detail-actions a, .detail-actions button {
    display: inline-block; margin-right: 8px; margin-bottom: 4px; padding: 8px 22px; font-size: 14px;
    color: #fff; background: #E4393C; text-decoration: none; border: none; cursor: pointer;
    border-radius: 4px; transition: all 0.25s;
}
.detail-actions a:hover, .detail-actions button:hover { background: #C81623; }
.detail-actions a.btn-outline {
    background: #fff; color: #E4393C; border: 1px solid #E4393C; padding: 7px 21px;
}
.detail-actions a.btn-outline:hover { background: #FFF5F5; }
.detail-actions a.btn-disabled, .detail-actions button.btn-disabled {
    background: #E0E0E0; color: #999; cursor: default;
}
.detail-actions a.btn-disabled:hover { background: #E0E0E0; }

/* ===== 申请弹窗 ===== */
.apply-modal {
    display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.apply-modal-content {
    background: #fff; margin: 4% auto; padding: 25px 30px; width: 520px; position: relative;
    border: none; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.apply-modal-close {
    position: absolute; right: 18px; top: 15px; font-size: 24px; color: #CCC; cursor: pointer;
    text-decoration: none; line-height: 1; transition: color 0.2s;
}
.apply-modal-close:hover { color: #E4393C; }
.apply-modal-content h3 {
    font-size: 17px; color: #222; margin: 0 0 6px; font-weight: 700;
}
.apply-modal-content .modal-subtitle {
    font-size: 13px; color: #999; margin: 0 0 16px;
}
.apply-form { overflow: hidden; }
.apply-form .form-row { margin-bottom: 14px; overflow: hidden; }
.apply-form .form-row label {
    float: left; width: 80px; text-align: right; margin-right: 10px; padding-top: 8px;
    font-size: 14px; color: #555;
}
.apply-form .form-row label .red { color: #ED5564; }
.apply-form .form-row .form-field { float: left; width: 380px; }
.apply-form .form-row .text {
    width: 360px; height: 34px; padding: 0 10px; border: 1px solid #E6E9EE; font-size: 13px;
    outline: 0; border-radius: 4px; transition: border-color 0.2s;
}
.apply-form .form-row .text:focus { border-color: #E4393C; box-shadow: 0 0 0 2px rgba(228,57,60,0.1); }
.apply-form .form-row .textarea {
    width: 360px; height: 90px; padding: 8px 10px; border: 1px solid #E6E9EE; font-size: 13px;
    resize: vertical; outline: 0; border-radius: 4px; transition: border-color 0.2s;
}
.apply-form .form-row .textarea:focus { border-color: #E4393C; box-shadow: 0 0 0 2px rgba(228,57,60,0.1); }
.apply-form .form-row .submit {
    display: inline-block; padding: 9px 32px; background: #E4393C; color: #fff; border: none;
    font-size: 14px; cursor: pointer; border-radius: 4px; transition: background 0.2s;
}
.apply-form .form-row .submit:hover { background: #C81623; }
.apply-form .form-row .hint { font-size: 12px; color: #AAA; margin-left: 8px; }

/* ===== 无数据状态 ===== */
.no-data {
    text-align: center; padding: 60px 0; color: #999; font-size: 14px; background: #fff;
    border: 1px solid #EAEAEA; border-radius: 4px;
}
.no-data .icon { font-size: 48px; color: #DDD; display: block; margin-bottom: 12px; }
.no-data a { color: #E4393C; text-decoration: none; font-weight: 600; }
.no-data a:hover { text-decoration: underline; }

/* ===== 分页 ===== */
.list-pagination { text-align: center; padding: 20px 0; }