/* ============ 拼课模块样式 ============ */

/* Hero */
.pinke-hero {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    color: #fff;
    padding: 36px 0;
    margin-bottom: 28px;
    text-align: center;
}
.pinke-hero h1 { font-size: 28px; margin: 0 0 8px; }
.pinke-hero h1 i { margin-right: 8px; }
.pinke-hero p { margin: 0; opacity: .92; font-size: 15px; }

/* 卡片网格 */
.pinke-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.pinke-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pinke-card-head { display: flex; justify-content: space-between; align-items: center; }
.pinke-card-head h3 { margin: 0; font-size: 18px; }
.pinke-badge {
    background: #ecfdf5; color: #059669;
    border: 1px solid #6ee7b7; border-radius: 999px;
    padding: 2px 10px; font-size: 12px; font-weight: 600; white-space: nowrap;
}
.pinke-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #4b5563; }
.pinke-meta i { width: 18px; color: #9ca3af; }

/* 进度 */
.pinke-progress {}
.pinke-progress-bar { background: #eef2ff; border-radius: 999px; height: 10px; overflow: hidden; }
.pinke-progress-fill { background: linear-gradient(90deg,#6366f1,#8b5cf6); height: 100%; border-radius: 999px; transition: width .3s; }
.pinke-progress-text { margin-top: 6px; font-size: 13px; color: #4b5563; }
.pinke-progress-text b { color: #6366f1; }

/* 价格 */
.pinke-price-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; }
.pinke-label { font-size: 12px; color: #9ca3af; }
.pinke-price { font-size: 26px; font-weight: 800; color: var(--color-accent-red, #dc2626); }
.pinke-price-hint { font-size: 12px; color: #9ca3af; text-align: right; line-height: 1.5; }
.pinke-card-foot { display: flex; gap: 8px; flex-wrap: wrap; }

/* 玩法 */
.pinke-how { margin-top: 40px; padding: 24px; background: #f9fafb; border-radius: 14px; }
.pinke-how h3 { margin-top: 0; }
.pinke-steps { display: flex; gap: 16px; flex-wrap: wrap; margin: 16px 0; }
.pinke-step { flex: 1; min-width: 120px; text-align: center; }
.pinke-step b { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: #6366f1; color: #fff; align-items: center; justify-content: center; margin-bottom: 8px; }
.pinke-step span { display: block; font-size: 13px; color: #4b5563; }
.pinke-how-tip { font-size: 12px; color: #9ca3af; margin-bottom: 0; }

.empty-state { text-align: center; padding: 60px 20px; color: #9ca3af; }
.empty-state i { font-size: 48px; margin-bottom: 12px; display: block; }
.empty-state h3 { margin: 0 0 8px; color: #6b7280; }

/* 详情 */
.pinke-detail { padding: 24px 0 40px; }
.pinke-detail-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pinke-detail h1 { font-size: 24px; margin: 8px 0 4px; }
.pinke-detail-remark { color: #6b7280; margin: 0 0 16px; }
.pinke-detail-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pinke-stat { flex: 1; min-width: 100px; background: #f9fafb; border-radius: 12px; padding: 14px; text-align: center; }
.pinke-stat b { display: block; font-size: 20px; color: #111827; }
.pinke-stat span { font-size: 12px; color: #9ca3af; }
.pinke-detail-times { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; font-size: 14px; color: #4b5563; }

/* 价格阶梯 */
.pinke-ladder, .pinke-join-box, .pinke-invite {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px; margin-bottom: 18px;
}
.pinke-ladder h3, .pinke-join-box h3, .pinke-invite h3 { margin-top: 0; }
.pinke-ladder-table { margin: 12px 0; }
.pinke-ladder-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; }
.pinke-ladder-row:nth-child(odd) { background: #f9fafb; }
.pinke-ladder-row b { margin-left: auto; color: var(--color-accent-red, #dc2626); font-size: 16px; }
.pinke-ladder-min { border: 1px solid #c7d2fe; }
.pinke-tag { font-size: 11px; color: #4338ca; background: #e0e7ff; border-radius: 6px; padding: 2px 6px; }
.pinke-total-cost { font-size: 13px; color: #6b7280; margin-bottom: 0; }
.pinke-total-cost b { color: var(--color-accent-red, #dc2626); }

/* 加入 */
.pinke-join-box p { color: #6b7280; }
.pinke-pay-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pinke-join-state { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pinke-join-state i { color: #6366f1; }

/* 邀请 */
.pinke-invite-row { display: flex; gap: 8px; margin: 12px 0; }
.pinke-invite-row input { flex: 1; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 13px; }

/* 我的拼课 */
.pinke-page-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.pinke-page-head h1 { margin: 0; }
.pinke-my-list { display: flex; flex-direction: column; gap: 16px; }
.pinke-my-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px; }
.pinke-my-card-head { display: flex; justify-content: space-between; align-items: center; }
.pinke-my-card-head h3 { margin: 0; }
.pinke-status { border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 600; }
.pinke-status.status-waiting { background: #fef3c7; color: #b45309; }
.pinke-status.status-shipping { background: #dbeafe; color: #1d4ed8; }
.pinke-status.status-paying { background: #ffe4e6; color: #be123c; }
.pinke-status.status-done { background: #d1fae5; color: #047857; }
.pinke-status.status-refunding { background: #f3e8ff; color: #7e22ce; }
.pinke-status.status-refunded, .pinke-status.status-cancelled { background: #e5e7eb; color: #6b7280; }
.pinke-my-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #6b7280; margin: 12px 0; }
.pinke-my-money { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 12px; }
.pinke-money-item { font-size: 13px; color: #9ca3af; }
.pinke-money-item b { display: block; font-size: 18px; color: #111827; }
.pinke-money-item em { font-size: 11px; color: #059669; }
.pinke-money-item em.ok { color: #059669; }
.pinke-my-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 管理端表单通用 */
.admin-form .form-group { margin-bottom: 14px; }
.admin-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.admin-form .form-control { width: 100%; padding: 9px 12px; border: 1px solid #e5e7eb; border-radius: 8px; }