/* ===== 订单页面样式 ===== */
.order-section {
    padding: 40px 0 60px;
    background-color: #f5f7fa;
}

.order-container {
    max-width: 1520px;
    margin: 0 auto;
}

.order-header {
    padding: 24px 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.order-header h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.order-header p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.order-main {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.config-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 28px;
}

.config-left {
    flex: 1;
    min-width: 0;
}

.config-right {
    width: 360px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

.config-group {
    margin-bottom: 32px;
}

.config-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.config-label i {
    margin-right: 8px;
    color: #0077ff;
}

.options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.option-card {
    padding: 10px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: none !important;
    min-width: 160px;
    background: #fff;
    text-align: center;
}

.option-card:hover {
    border-color: #0077ff;
}

.option-card.active {
    border-color: #0077ff;
    background: rgba(0, 119, 255, 0.08);
}

.option-card.active .option-name {
    color: #0077ff;
}

.option-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.option-desc {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

/* ===== 下拉选择样式 ===== */
.os-select-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.custom-select {
    position: relative;
    min-width: 160px;
    flex: 1;
    max-width: 280px;
}

.custom-select-trigger {
    padding: 12px 40px 12px 14px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.custom-select-trigger:hover {
    border-color: #0077ff;
}

.custom-select-trigger:focus {
    outline: none;
    border-color: #0077ff;
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.15);
}

.custom-select-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #666;
    transition: transform 0.3s ease;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.custom-select.open .custom-select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none;
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
}

.custom-select.open .custom-select-options {
    display: block;
}

.custom-select-option {
    padding: 12px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.custom-select-option:hover {
    background-color: #f5f5f5;
}

.custom-select-option.selected {
    background-color: #0077ff;
    color: #fff;
}

.os-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    flex-shrink: 0;
}

.os-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.os-text {
    flex: 1;
}

/* ===== 密码选项样式 ===== */
.password-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.password-options .option-card {

    min-width: 160px;
}

.password-input-wrapper {
    margin-top: 0;
}

.password-input {
    width: 100%;
    max-width: 335px;
    height: 42px;
    padding: 10px 14px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.password-input:focus {
    border-color: #0077ff;
    box-shadow: 0 0 0 2px rgba(0, 119, 255, 0.1);
}

.password-input::placeholder {
    color: #999;
}

/* ===== 滑块样式 ===== */
.slider-group {
    padding: 8px 0;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.slider-badge {
    font-size: 13px;
    color: #666;
}

.slider-value-box {
    background: #e8f4ff;
    color: #0077ff;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
}

.slider-wrapper {
    padding: 0 4px;
}

.custom-slider {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    appearance: none;
    cursor: pointer;
}

.custom-slider::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    background: #0077ff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 119, 255, 0.3);
}

.slider-range {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

/* ===== 摘要样式 ===== */
.config-summary {
    background: #fafafa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 0;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 12px;
}

.summary-label {
    font-size: 14px;
    color: #666;
}

.summary-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.summary-total {
    font-size: 20px;
    font-weight: 700;
    color: #e74c3c;
}

/* ===== 底部栏样式 ===== */
.order-footer {
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-info {
    text-align: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.price-label {
    font-size: 14px;
    color: #666;
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    color: #e74c3c;
    margin-top: 4px;
}

.buy-btn {
    width: 100%;
    padding: 14px 48px;
    background: linear-gradient(135deg, #0077ff 0%, #3399ff 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.buy-btn:hover {
    background: linear-gradient(135deg, #0066dd 0%, #2288ee 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 119, 255, 0.3);
}

.navbanner{
	max-width:1920px;
	margin:0 auto;
}
.banner-tab-control {
    max-width: 1520px;
    display: flex;
    gap: 60px;
    padding-left: 30px;
}

.banner-tab-control a {
    margin-top: 12px;
}

.tab-btn {
    padding: 12px 0;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
    width: 90px;
padding-left: 15px;
}

.tab-btn:hover {
    color: #0077ff;
}

.tab-btn.active-tab {
    color: #0077ff;
    font-weight: 500;
    border-bottom: 2px solid #0077ff;
    width: 90px;
    padding-left: 15px;

}

/* ===== 响应式适配 ===== */
@media (max-width: 992px) {
    .order-section {
        padding: 16px 0 90px;
    }

    .order-header {
        padding: 16px;
        border-radius: 8px;
    }

    .order-main {
        flex-direction: column;
        gap: 16px;
    }

    .config-card {
        padding: 16px;
    }

    .config-right {
        width: 100%;
        position: static;
    }

    .config-group {
        margin-bottom: 24px;
    }

    .config-label {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .options-grid {
        gap: 10px;
    }

    .option-card {
        padding: 12px;
        min-width: calc(50% - 5px);
        flex: 1 1 calc(50% - 5px);
    }

    .option-name {
        font-size: 13px;
    }

    .option-desc {
        font-size: 11px;
    }

    .os-select-row {
        flex-direction: column;
    }

    .custom-select {
        max-width: 100%;
    }

    .password-options {
        flex-direction: column;
    }

    .password-options .option-card {
        min-width: 100%;
    }

    .password-input {
        max-width: 100%;
    }

    .slider-value-box {
        font-size: 14px;
        padding: 6px 16px;
    }

    .config-summary {
        padding: 16px;
    }

    .summary-label,
    .summary-value {
        font-size: 13px;
    }

    .summary-total {
        font-size: 18px;
    }

    .order-footer {
        padding: 16px;
    }

    .price-info {
        text-align: left;
    }

    .price-value {
        font-size: 20px;
    }

    .buy-btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .banner-tab-control {
        gap: 24px;
        padding-left: 16px;
    }

    .tab-btn {
        font-size: 14px;
        width: 70px;
    }

    .footer-area {
        display: none;
    }

    .ecs-foot {
        height: 50px;
    }
}

.security-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.security-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.security-modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.security-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.security-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.security-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-modal-close:hover {
    background: #eee;
    color: #333;
}

.security-modal-body {
    padding: 40px 24px;
}

.no-security-group {
    text-align: center;
}

.no-security-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-security-icon i {
    font-size: 32px;
    color: #999;
}
.no-security-title {
    font-size: 14px;
    color: #999;
    padding:5px 0;
}
.no-security-text {
    font-size: 14px;
    color: red;
    padding:5px 0;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 20px auto 12px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0077ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 14px;
    color: #999;
}
