/* 移动端商品弹窗 - 内容样式 */

/* 弹窗头部 */
.mobile-modal-header {
    padding: 16px 16px 0 16px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.mobile-modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.3;
    /* 限制显示2行，超出部分省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    max-height: calc(1.3em * 2); /* 确保不超过2行的高度 */
}

/* 弹窗主体内容 */
.mobile-modal-body {
    padding: 0 16px 16px 16px;
}

/* 商品信息列表 */
.product-info-list {
    margin-bottom: 16px;
}

.product-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.product-info-row:last-child {
    border-bottom: none;
}

.product-info-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.product-info-value {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

/* 价格显示区域 */
.price-section {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
    border-left: 3px solid #3b82f6;
}

.price-title {
    font-size: 14px;
    font-weight: bold;
    color: #ef4444;
    margin-bottom: 6px;
}

.price-content {
    font-size: 14px;
    color: #3b82f6;
    font-weight: 600;
}

.price-original {
    text-decoration: line-through;
    opacity: 0.7;
    margin-right: 8px;
}

.price-current {
    font-size: 20px;
    font-weight: 900;
    color: #ef4444;
}

.price-discount {
    color: #10b981;
    font-weight: 600;
}

/* 用户信息区域 */
.user-info-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.user-info-item {
    text-align: center;
}

.user-info-label {
    font-size: 11px;
    color: #666;
    font-weight: 500;
    margin-bottom: 3px;
}

.user-info-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.user-info-value.recharge {
    color: #10b981;
}

.user-info-value.level {
    color: #eab308;
}

/* 下载信息区域 */
.download-section {
    background: #f0f8ff;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #e0f2fe;
}

.download-title {
    font-size: 14px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.download-title i {
    margin-right: 8px;
    color: #3b82f6;
}

.download-content {
    background: rgba(0, 0, 0, 0.05);
    padding: 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.download-link {
    flex: 1;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    word-break: break-all;
    margin-right: 12px;
    user-select: text;
    pointer-events: none;
}

.download-link a {
    pointer-events: none;
    cursor: text;
}

.download-text {
    flex: 1;
    color: #333;
    font-size: 14px;
    font-family: monospace;
    margin-right: 12px;
    /* 限制为一行，超出部分省略号 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 有效期信息 */
.expire-info {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #92400e;
    font-weight: 500;
}

.expire-info.permanent {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #065f46;
}

/* 提示信息 */
.download-tips {
    background: #f0f8ff;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
}

.download-tips-title {
    font-size: 13px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 6px;
}

.download-tips-content {
    font-size: 12px;
    color: #0369a1;
    line-height: 1.4;
}

/* 解压密码样式 */
.extract-password-title {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 10px;
    margin-top: 12px;
    margin-bottom: 8px;
    color: #000000;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.extract-password-title i {
    color: #f59e0b;
}

.extract-password-content {
    background: linear-gradient(135deg, #fffbf0 0%, #fef9c3 100%);
    border: 1px solid #fbbf24;
    padding: 10px;
    border-radius: 6px;
}

.extract-password-text {
    color: #92400e;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}
