.project-wrapper { background-color: #f2f2f2; padding: 0; margin-bottom: 25px; }
.project-inner { background: #fff; padding: 15px; border-radius: 12px; }
.info-card { background-color: #fff; border: 1px solid #e4e6eb; border-radius: 8px; padding: 3px 3px; margin-bottom: 15px; margin-top: 15px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); transition: box-shadow 0.3s ease; }
.info-card:hover { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
.module-title { font-size: 1.5rem; font-weight: 600; color: #333; margin-bottom: 3px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; }
.module-title i { margin-right: 8px; color: #007bff; padding-left: 8px; }
.link-button { display: inline-block; width: 100%; padding: 10px; text-align: center; background-color: #f15150; color: #fff; text-decoration: none; border-radius: 6px; transition: background-color 0.3s; }
.link-button:hover { background-color: #0056b3; color: #fff; }
.link-button.empty { background-color: #e9ecef; color: #6c757d; cursor: not-allowed; }
.claim-button { background-color: #007bff; }
.claim-button:hover { background-color: #218838; }
.claimed-status { color: #6c757d; font-weight: bold; text-align: center; padding: 10px; }
.label1 { display: inline; padding: .2em .6em .3em; font-size: 75%; font-weight: 700; line-height: 1; color: #333; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: .25em; }
.fui-navbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 550px; z-index: 100; background-color: #fff; border-top: 1px solid #e4e6eb; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-around; align-items: center; padding: 5px 0; }
.fui-navbar .nav-item { display: flex; flex-direction: column; align-items: center; color: #65676b; text-decoration: none; padding: 5px; transition: color 0.2s; }
.fui-navbar .nav-item:hover, .fui-navbar .nav-item.active { color: #007bff; }
.fui-navbar .nav-item .img1 { width: 24px; height: 24px; margin-bottom: 2px; }
.fui-navbar .nav-item .label { font-size: 0.75rem; }
.data-table-container { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; font-weight: 400; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid #e9ecef; }
.data-table thead th { background-color: #f8f9fa; font-weight: 600; color: #495057; font-size: 12px; }
.data-table tbody tr:hover { background-color: #f1f3f5; }
.data-table tbody tr:last-child td { border-bottom: none; font-weight: 700; }
.project-header-enhanced { display: flex; align-items: center; margin-bottom: 15px; }
.project-logo-enhanced { width: 40px; height: 40px; border-radius: 8px; margin-right: 15px; margin-left: 8px; object-fit: cover; border: 1px solid #e4e6eb; box-shadow: 0 2px 4px rgba(0,0,0,0.05); flex-shrink: 0; }
.project-logo-placeholder-enhanced { width: 40px; height: 40px; border-radius: 8px; margin-right: 15px; margin-left: 8px; background-color: #f8f9fa; display: flex; align-items: center; justify-content: center; color: #ced4da; font-size: 1.2rem; border: 1px solid #e9ecef; box-shadow: 0 2px 4px rgba(0,0,0,0.05); flex-shrink: 0; }
.project-info-main { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.project-name-enhanced { font-size: 1.5rem; font-weight: 700; color: #1c1e21; margin-bottom: 0; word-wrap: break-word; }
.price-info-inline { display: flex; justify-content: center; align-items: stretch; gap: 1px; background-color: #e9ecef; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); margin-top: 10px; margin-bottom: 10px; }
.price-inline-item { flex: 1; background: #ffffff; padding: 25px 20px; text-align: center; position: relative; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; border-top: 4px solid #6c757d; }
.price-inline-item:nth-child(2) { border-top: 4px solid #28a745; transform: scale(1.02); z-index: 1; }
.price-inline-item:nth-child(3) { border-top: 4px solid transparent; background-image: linear-gradient(to bottom, #007bff, #ffffff 50%); transform: scale(1.05); z-index: 2; box-shadow: 0 0 20px rgba(0, 123, 255, 0.2); }
.price-inline-item:nth-child(3)::before { content: '推荐'; position: absolute; top: 12px; right: -30px; background: #ff6b6b; color: white; padding: 4px 30px; font-size: 0.7rem; font-weight: bold; transform: rotate(45deg); box-shadow: 0 2px 4px rgba(0,0,0,0.2); z-index: 10; }
.price-inline-item:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); z-index: 10; }
.price-inline-item > span:first-child { display: block; font-size: 0.9rem; color: #6c757d; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.price-inline-item strong { display: block; font-size: 2rem; font-weight: 800; line-height: 1; margin-bottom: 5px; color: #495057; }
.price-inline-item:nth-child(2) strong { color: #28a745; }
.price-inline-item:nth-child(3) strong { color: #007bff; }
.price-inline-item strong::after { content: '/单'; font-size: 0.9rem; font-weight: 400; color: #adb5bd; margin-left: 4px; }
.info-item-vertical-enhanced { margin-bottom: 15px; }
.info-label-enhanced { font-weight: 600; color: #495057; display: block; margin-bottom: 8px; font-size: 0.95rem; }
.info-value-enhanced { color: #212529; line-height: 1.7; word-wrap: break-word;  padding: 12px 15px; border-radius: 6px; font-size: 1.3rem; }
.settlementSwiper { width: 100%; height: 250px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.settlementSwiper .swiper-wrapper { display: flex; transition: transform 0.3s ease; }
.settlementSwiper .swiper-slide { flex: 0 0 auto; width: 40%; text-align: center; font-size: 18px; background: #fff; display: flex; justify-content: center; align-items: center; padding: 5px; }
.settlementSwiper .swiper-slide img { display: block; height: 100%; object-fit: cover; border-radius: 6px; }
.settlementSwiper .image-link { display: block; width: 100%; height: 100%; text-decoration: none; }
.codes-table-container { margin-bottom: 15px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.codes-table { width: 100%; min-width: 400px; border-collapse: separate; border-spacing: 8px; }
.codes-table td { padding: 0; vertical-align: top; width: 20%; }
.account-details { max-height: 300px; overflow-y: auto; }
.code-chip { cursor: help; position: relative; flex: 1 1 calc(20% - 8px); min-width: 100px; padding: 8px 4px; font-size: 1.3rem; box-sizing: border-box; text-align: center; background-color: #45a9ff33; color: #007bffe0; border-radius: 20px; font-weight: 500; word-break: break-all; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); transition: background-color 0.2s, transform 0.2s; }
.code-chip:hover { background-color: #007bff; color: #fff; transform: translateY(-1px); }
.account-details::-webkit-scrollbar { width: 6px; }
.account-details::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
.account-details::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; }
.account-details::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }
.codes-grid-wrapper { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.pricing-tier-container { display: flex; justify-content: center; align-items: stretch; gap: 2rem; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin-top: 20px; margin-bottom: 20px; }
.pricing-tier { flex: 1; background: #ffffff; border-radius: 16px; padding: 2rem 1.5rem; text-align: center; position: relative; border: 2px solid #e9ecef; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column; max-width: 320px; }
.pricing-tier:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); border-color: #007bff; }
.tier-header { margin-bottom: 1.5rem; }
.tier-name { font-size: 1.5rem; font-weight: 700; color: #212529; margin: 0; }
.tier-subtitle { font-size: 0.9rem; color: #6c757d; margin-top: 0.5rem; }
.tier-price { margin-bottom: 2rem; }
.currency { font-size: 1.2rem; color: #6c757d; vertical-align: top; line-height: 1; }
.amount { font-size: 3.5rem; font-weight: 800; color: #212529; line-height: 1; }
.period { font-size: 1rem; color: #6c757d; }
.tier-features { list-style: none; padding: 0; margin: 0 0 2rem 0; text-align: left; flex-grow: 1; }
.tier-features li { padding: 0.75rem 0; color: #495057; font-size: 0.95rem; border-bottom: 1px solid #f1f3f5; display: flex; align-items: center; }
.tier-features li:last-child { border-bottom: none; }
.tier-features li i { color: #28a745; margin-right: 0.75rem; }
.tier-button { width: 100%; padding: 1rem 2rem; font-size: 1rem; font-weight: 600; border-radius: 8px; border: 2px solid #007bff; background: #007bff; color: white; cursor: pointer; transition: all 0.2s ease-in-out; text-transform: uppercase; letter-spacing: 0.5px; }
.tier-button:hover { background: #0056b3; border-color: #0056b3; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3); }
.pricing-tier[data-tier="basic"] .tier-button { background: transparent; color: #6c757d; border-color: #e9ecef; cursor: default; }
.pricing-tier[data-tier="basic"] .tier-button:hover { background: transparent; color: #6c757d; border-color: #e9ecef; transform: none; box-shadow: none; }

.button-row { display: flex; gap: 8px; width: 100%; }
.link-button.half { display: inline-block; width: calc(50% - 4px); padding: 10px; text-align: center; background-color: #16a336; color: #fff; text-decoration: none; border-radius: 6px; transition: background-color 0.3s; }
.link-button.half:hover { background-color: #0056b3; color: #fff; text-decoration: none; }
.link-button.half.xunlei { background-color: #ff6b35; }
.link-button.half.xunlei:hover { background-color: #e55a2b; }

.link-button-small {
    display: inline-block;
    width: calc(50% - 5px); /* 保持并排，微调间距 */
    padding: 5px 10px;       /* padding 从 10px 减半到 5px */
    text-align: center;
    background-color: #007bff; /* 默认蓝色 */
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s;
    font-size: 0.8rem;        /* 字体也相应缩小 */
    line-height: 1.4;         /* 调整行高 */
    box-sizing: border-box;   /* 确保 padding 不会撑开总宽度 */
    border: 1px solid transparent; /* 添加边框以备自定义颜色 */
}

.link-button-small:hover {
    background-color: #0056b3;
    color: #fff;
    text-decoration: none;
}

/* 为第一个按钮单独设置绿色 */
.link-button-small.green {
    background-color: #16a336;
    border-color: #16a336;
}
.link-button-small.green:hover {
    background-color: #128a2b;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    color: #fff;
}


/* 精致小巧的所需准备模块样式 */
.preparation-compact {
    background: #3ec78012;
    border-radius: 12px;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
}

.preparation-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997, #17a2b8);
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-indicator {
    position: relative;
    margin-right: 8px;
    flex-shrink: 0;
}

.step-number {
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    position: relative;
    z-index: 2;
    margin-top:5px;
}

.step-check {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: #fff;
    color: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    z-index: 3;
}

.step-content {
    flex: 1;
    padding-top: 4px;
}

.step-title {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.step-title::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
    margin-right: 8px;
    opacity: 0.8;
}

.step-details {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.4;
    padding-left: 14px;
    position: relative;
}

.step-details::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, #28a745, transparent);
    opacity: 0.3;
}

.step-empty {
    text-align: center;
    color: #adb5bd;
    font-style: italic;
    padding: 25px 0;
    font-size: 0.95rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 悬停效果 */
.step-item:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(40, 167, 69, 0.4);
}

.step-item:hover .step-title {
    color: #28a745;
}

.step-item:hover .step-details {
    color: #495057;
}




/* 限制说明模块样式 - 基于preparation样式扩展 */
.limit-compact {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    border-radius: 12px;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
}

.limit-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff586a, #fd7e14, #f9495c);
}



/* 危险级别样式 */
.step-item-danger .step-number-danger {
    background: linear-gradient(135deg, #ff586a, #e74c3c);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.step-item-danger .step-title-danger {
    color: #ff586a;
    font-weight: 600;
}

.step-item-danger .step-title-danger::before {
    background: #ff586a;
    width: 8px;
    height: 8px;
}

.step-item-danger .step-details-danger {
    color: #6c757d;
    font-weight: 450;
}
.step-item-danger:hover .step-details-danger {
    color: #ff586a; 
}

.step-details-danger::selection {
    color: #ff586a; /* 选中文字颜色 */
}

.step-item-danger .step-details-danger::before {
    background: linear-gradient(180deg, #ff586a, transparent);
    opacity: 0.4;
}

.step-item-danger:hover .step-number-danger {
    box-shadow: 0 3px 12px rgba(220, 53, 69, 0.4);
}

.step-item-danger:hover .step-title-danger {
    color: #ff586a;
}

/* 添加警告图标 */
.step-item-danger .step-title-danger::after {
    /*content: '🚫';*/
    margin-left: 8px;
    font-size: 0.9em;
}

/* 确保输入框可以点击和输入 */
.custom-identify-section {
    margin-top: 15px;
    position: relative; /* 添加这个 */
    z-index: 1; /* 确保在最上层 */
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
    position: relative; /* 添加这个 */
    z-index: 2; /* 确保在最上层 */
}

.input-group .form-control {
    flex: 1;
    border: 1px solid #e4e6eb;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    position: relative; /* 添加这个 */
    z-index: 3; /* 确保在最上层 */
    background: #fff; /* 确保背景不透明 */
    pointer-events: auto; /* 确保可以点击 */
    -webkit-user-select: text; /* 允许选择文本 */
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.input-group .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: 0;
    z-index: 4; /* 聚焦时提高层级 */
}

.input-group .link-button {
    flex-shrink: 0;
    padding: 12px 20px;
    white-space: nowrap;
    position: relative; /* 添加这个 */
    z-index: 3; /* 确保在最上层 */
}

/* 检查是否有遮罩层覆盖 */
.info-card, .project-inner {
    position: relative;
    overflow: visible; /* 改为visible */
}

/* 移除可能的遮罩 */
.image-modal {
    display: none; /* 确保模态框默认隐藏 */
}



@media (max-width: 992px) {
    .settlementSwiper .swiper-slide { width: 50%; }
    .pricing-tier-container { gap: 1.5rem; }
}

/* --- 手机端通用适配 --- */
@media (max-width: 768px) {
    .project-header-enhanced { flex-wrap: nowrap; }
    .project-info-main { width: 100%; margin-top: 10px; }
    .price-info-inline { gap: 8px; }
    .price-inline-item { flex: 1 1 calc(30% - 4px); min-width: 0; justify-content: center; font-weight: 700; }
    .codes-table { min-width: 350px; border-spacing: 5px; }
    .codes-grid-wrapper .code-chip { flex: 1 1 calc(33.333% - 8px); font-size: 0.8rem; padding: 8px 4px; }
    .settlementSwiper { height: 200px; }
    .settlementSwiper .swiper-slide { width: 50%; padding: 3px; }
    .price-info-inline { flex-direction: column; gap: 10px; background-color: transparent; box-shadow: none; }
    .price-inline-item { transform: none !important; border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); }
    .price-inline-item:nth-child(3) { border-top: 4px solid #007bff; background-image: none; background-color: #f8f9ff; }
    .price-inline-item:hover { transform: translateY(-3px) !important; }
    .pricing-tier { width: 100%; padding: 0.5rem; padding-top: 1.5rem; }
}





/* --- 小尺寸手机端适配 --- */
@media (max-width: 550px) {
    .settlementSwiper .swiper-slide { width: 48%; }
    .amount { font-size: 2.3rem; } /* 在小于550px的设备上，价格字体为2.3rem */
}