/* ============================================
   Server Page CSS - 服务详情页面样式
   ============================================ */

/* ========== 服务标签按钮容器 ========== */
.service-tabs-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 30px;
    padding-bottom: 30px;
}

.tab-btn {
    background: #252a3a;
    color: var(--text-muted);
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    background: #2f3548;
    color: var(--text-main);
}

.tab-btn.active {
    background: var(--color-fd3147);
    color: #fff;
}

/* ========== 页面容器 ========== */
.server-page-container {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    padding: 40px 40px 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* ========== 左侧服务信息区 ========== */
.server-info-section {
    padding-top: 10px;
}

.section-title {
    color: var(--text-main);
    margin-bottom: 18px;
    margin-top: 45px;
}

.section-title:first-child {
    margin-top: 0;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.info-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 50%;
}

.info-list li .highlight {
    color: #7ecb5a;
}

/* ========== 右侧表单区 ========== */
.server-form-section {
    position: sticky;
    top: 150px;
}

.server-list-guide {
    background-color: #171e2b;
    border-radius: 12px;
}

.server-list-guide .boosting-form-group {
    padding: 10px;
}

.form-card {
    background: #1a1e2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.form-image-wrapper {
    position: relative;
}

.form-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.form-content {
    padding: 28px;
}

/* ========== 表单字段 ========== */
.form-field {
    margin-bottom: 26px;
}

.field-label {
    display: block;
    color: var(--text-main);
    margin-bottom: 12px;
}

/* ========== 按钮组 ========== */
.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-select {
    background: #252a3a;
    color: var(--text-muted);
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-select:hover {
    background: #2f3548;
    color: var(--text-main);
}

.btn-select.active {
    background: var(--color-fd3147);
    color: #fff;
}

/* ========== 表单行 ========== */


.arrow-icon {
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-top: 24px;
}

.level-input {
    width: 100%;
    background: #252a3a;
    border: none;
    color: var(--text-main);
    padding: 14px;
    border-radius: 6px;
    text-align: center;
    outline: none;
    transition: all 0.2s;
    -moz-appearance: textfield;
}

.level-input::-webkit-outer-spin-button,
.level-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.level-input:focus {
    background: #2f3548;
}

/* ========== 滑块样式 ========== */
.power-slider {
    margin-bottom: 30px;
    position: relative;
}

.slider-range {
    width: 100%;
    height: 12px;
    background: #252a3a;
    border-radius: 6px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin-bottom: 12px;
    position: relative;
}

.slider-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 28px;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.2s;
    border: 2px solid #e0e0e0;
    margin-top: -8px;
}

.slider-range::-webkit-slider-thumb:hover {
    transform: scale(1.05);
    border-color: var(--color-fd3147);
}

.slider-range::-moz-range-thumb {
    width: 20px;
    height: 28px;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.2s;
}

.slider-range::-moz-range-thumb:hover {
    transform: scale(1.05);
    border-color: var(--color-fd3147);
}

.slider-range::-webkit-slider-runnable-track {
    height: 12px;
    border-radius: 6px;
}

.slider-range::-moz-range-track {
    height: 12px;
    border-radius: 6px;
    background: #252a3a;
    border: none;
}

.slider-range::-moz-range-progress {
    height: 12px;
    border-radius: 6px;
    background: var(--color-fd3147);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    color: var(--text-main);
}

/* ========== 价格区域 ========== */
.price-section {
    margin-bottom: 26px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price {
    color: var(--color-fd3147);
    margin-bottom: 8px;
}

.total-hour {
    color: var(--text-main);
}

/* ========== 购买按钮 ========== */
.btn-buy {
    width: 100%;
    background: var(--color-fd3147);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-buy:hover {
    background: var(--color-fd3147-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 49, 71, 0.4);
}

.btn-buy:active {
    transform: translateY(0);
}


/*promp-code-dialog*/
.promp-code-dialog {
    display: none;
    background: #1b1126;
    border-radius: var(--border-raduis-5);
    padding-top: 30px;
    padding-bottom: 30px;
    
}
.promp-code-dialog .title { 
    text-align: center; 
    
}
.promp-code-dialog .form-input { 
    margin-top: 32px; 
    
}
.promp-code-dialog  .btn {
    display: block;
    text-transform: uppercase;
    margin-top: 11px;
    float: none;
    width: 100%;
}
.promp-code-dialog .form-input {
    position: relative;
}




/*coupon-dialog*/
.coupon-dialog {
    display: none;
    background: #1b1126;
    border-radius: var(--border-raduis-5);
    padding-top: 30px;
    padding-bottom: 30px;
    
}
.coupon-dialog.modal a.close-modal {
    right: 23px;
    top: 30px;
}
.coupon-dialog .title { 
   text-transform: uppercase;
   color: #fff;
   font-size: 30px;
   font-family: var(--font-family-oxanium-sans-serif);
   font-weight: 600;
}
.coupon-dialog .list {
    max-height: 40vh;
    overflow-y: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    padding-right: 10px;
}
.coupon-dialog .list::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.coupon-dialog .list::-webkit-scrollbar-track {
    background: none;
}
.coupon-dialog .list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .2);
    border-radius: 3px;
    transition: all .3s ease-in-out;
}
.coupon-dialog .list::-webkit-scrollbar-thumb:hover {
    background: #fd3147;
}

.coupon-dialog .item {
    margin-bottom: 16px;
    background-image: url('../images/coupon-bg.jpg');
    background-color: #fff;
    background-size: 73% auto;
    background-position: right top;
    background-repeat: no-repeat;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 20px;
    transition: all .3s ease-in-out;
    cursor: pointer;
}
.coupon-dialog .row1 {
    font-size: 20px;
    font-weight: bold;
    color: #ff4528;
}
.coupon-dialog .row2 {
    color: #666;
}
.coupon-dialog .row3 {
    font-size: 12px;
    color: #777;
    line-height: 1.6;
}
.coupon-dialog .row4 {
    font-size: 16px;
    color: #333;
}
.coupon-dialog .row5 {
    color: #ff4528;
    border-top: 1px dashed #ccc;
    margin-top: 4px;
    padding-top: 4px;
}

.coupon-dialog .item::after{
    opacity: 0;
    transition:  opacity .3s ease-in-out;
}
.coupon-dialog .item.checked {
    border-color: #ff4528;
    position: relative;
    border-color: #ff4528;
}
.coupon-dialog .item.checked::after {
    font-family: 'iconfont';
    content: '\e69b';
    opacity: 1;
    font-size: 27px;
    position: absolute;
    bottom: 12px;
    right: 12px;
    color: #ff4528;
}


.coupon-dialog .discount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 1px solid #303949;
}
.coupon-dialog .amount {
    font-size: 16px;
    font-weight: 400px;
    color: #fff;
}
.coupon-dialog .price {
    margin-bottom: 0;
    font-size: 16px;
    color: #ff4528;
    font-weight: bold;
}


.coupon-dialog .btn {
    font-family: var(--font-family-oxanium-sans-serif);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    background: var(--color-fd3147);
    color: #fff;
    transition: all .3s ease-in-out;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
}
.coupon-dialog .btn:hover {
    background: #fff;
    color: #1b1126;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .server-page-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 30px 30px 50px 30px;
    }

    .server-info-section {
        padding-top: 0;
    }

    .server-form-section {
        position: static;
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .service-tabs-wrapper {
        padding: 0 20px;
    }

    .service-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
    }

    .service-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .server-page-container {
        padding: 20px 20px 40px 20px;
    }

    .section-title {
        
    }

    .info-list li {
       
    }

    .form-image {
        height: 220px;
    }

    .form-content {
        padding: 20px;
    }

    .price {
        
    }
}

/* 订单追踪页面样式 */
.tracking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 查询表单区域 */
.form-title {
    margin-bottom: 20px;
    color: #fff;
}

.tracking-form-section {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 40px;
}

.tracking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}






.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.btn-search,
.btn-clear {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-search {
    background: #ff4757;
    color: #fff;
}

.btn-search:hover {
    background: #fff;
    color: #000;
}

.btn-clear {
    background: #ff4757;
    color: #fff;
}

.btn-clear:hover {
    background: #ff3344;
}

/* 订单状态 */
.order-status {
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.8);
}

.order-status strong {
    color: #fff;
}

/* 订单详情 */
.order-details-section {
    background: transparent;
}

.details-title {
    margin-bottom: 20px;
    color: #fff;
}

.order-details-table {
    display: flex;
    flex-direction: column;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 1fr 150px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

.table-header {
    color: rgba(255, 255, 255, 0.7);
    padding-bottom: 12px;
}

.col-product {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-link {
    color: #ff4757;
    text-decoration: none;
    transition: color 0.3s;
}

.product-link:hover {
    color: #ff6677;
    text-decoration: underline;
}

.product-qty {
    color: rgba(255, 255, 255, 0.8);
}

.col-total {
    color: #ff4757;
    text-align: right;
}

.table-row.summary-row {
    grid-template-columns: 1fr 150px;
}

.col-label {
    color: rgba(255, 255, 255, 0.9);
}

.col-value {
    color: #ff4757;
    text-align: right;
}

.col-value.payment-method {
    color: rgba(255, 255, 255, 0.9);
}

.table-row.total-row {
    border-bottom: none;
    padding-top: 20px;
}

.total-row .col-label {
}

.total-row .col-value {
}

/* 响应式 */
@media (max-width: 768px) {
    .tracking-container {
        padding: 30px 15px;
    }

    .form-title {
        margin-bottom: 15px;
    }

    .tracking-form-section {
        padding: 20px;
        margin-bottom: 30px;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-search,
    .btn-clear {
        width: 100%;
    }

    /* 订单详情移动端优化 */
    .order-details-section {
        padding: 20px;
    }

    .order-details-table {
        overflow-x: auto;
    }

    .table-header {
        display: none;
    }

    .table-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 15px 0;
    }

    .table-row.product-row {
        border-bottom: 2px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 15px;
        margin-bottom: 10px;
    }

    .col-product {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .product-link {
        
    }

    .product-qty {
       
    }

    .col-total {
        text-align: left;
        margin-top: 5px;
    }

    .table-row.summary-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .table-row.summary-row:last-child {
        border-bottom: none;
    }

    .col-label {

    }

    .col-value {
        text-align: right;
    }

    .total-row {
        padding-top: 15px;
        border-top: 2px solid rgba(255, 255, 255, 0.15);
        margin-top: 10px;
    }

    .total-row .col-label {
      
    }

    .total-row .col-value {
      
    }

    .order-status {
        padding: 10px;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .tracking-container {
        padding: 20px 10px;
    }

    .form-title {
       
    }

    .tracking-form-section {
        padding: 15px;
    }

    .form-input input {
        padding: 10px 14px;
    }

    .btn-search,
    .btn-clear {
        padding: 10px 20px;
    }

    .order-details-table {
        padding: 0 5px;
    }

    .product-link {
       
    }

    .col-total {
        
    }

    .col-label {
       
    }

    .col-value {
        
    }

    .total-row .col-label {
        
    }

    .total-row .col-value {
       
    }
}

/* ============================================
   Dashboard 页面样式
   ============================================ */

.dashboard-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.dashboard-content {
    padding-top: 20px;
}

.welcome-section {
    color: var(--text-muted);
}

.welcome-text {
    margin-bottom: 20px;
    color: var(--text-main);
}

.welcome-text strong {
    color: var(--text-main);
}

.logout-link {
    color: #ff4757;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logout-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.points-info {
    margin-bottom: 20px;
}

.highlight-red {
    color: #ff4757;
}

.account-desc {
  
}

.link-red {
    color: #ff4757;
    text-decoration: none;
    transition: opacity 0.3s;
}

.link-red:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* 右侧边栏 */
.dashboard-sidebar {
    position: sticky;
    top: 120px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-avatar {
    width: 44px;
    height: 44px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar svg {
    width: 26px;
    height: 26px;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-email {
    color: var(--text-main);
}

.user-level {
    color: #ff4757;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}

.dash-nav-item {
    padding: 16px 0;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    display: block;
}

.dash-nav-item:last-child {
    border-bottom: none;
}

.dash-nav-item:hover {
    color: var(--text-main);
    padding-left: 10px;
}

.dash-nav-item.active {
    color: var(--text-main);
    padding-left: 15px;
}

.dash-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ff4757;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 30px 60px 30px;
    }

    .dashboard-sidebar {
        position: static;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 20px 20px 50px 20px;
    }

    .welcome-text,
    .points-info,
    .account-desc {
       
    }

    .user-profile {
        padding: 15px 0;
    }

    .dash-nav-item {
        padding: 14px 0;
       
    }
}

/* ============================================
   Profile 表单样式
   ============================================ */

.profile-form {
    padding-top: 10px;
}

.profile-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 35px;
}

.profile-form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-field-label {
    color: var(--text-main);
}

.profile-field-required {
    color: #ff4757;
    margin-left: 4px;
}

.profile-field-input {
    width: 100%;
    height: 48px;
    background: #1e2235;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 0 16px;
    border-radius: 6px;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.profile-field-input:focus {
    border-color: rgba(255, 71, 87, 0.5);
    background: #252a3a;
}

.profile-field-input[readonly] {
    cursor: not-allowed;
    opacity: 0.8;
}

.profile-field-hint {
    color: var(--text-muted);
    font-style: italic;
    min-height: 40px;
}

.profile-select-wrapper {
    position: relative;
}


.profile-field-select {
    width: 100%;
    height: 48px;
    background: #1e2235;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 0 40px 0 16px;
    border-radius: 6px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
}

.profile-field-select:focus {
    border-color: rgba(255, 71, 87, 0.5);
    background: #252a3a;
}

.profile-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

.profile-form-actions {
    margin-top: 40px;
}

.profile-btn-save {
    background: #ff4757;
    color: #fff;
    border: none;
    padding: 16px 32px;
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-btn-save:hover {
    background: #ff6677;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.profile-btn-save:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .profile-form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .profile-form {
        padding-top: 0;
    }

    .profile-form-row {
        margin-bottom: 25px;
    }

    .profile-field-input,
    .profile-field-select {
        height: 44px;
        padding: 0 14px;
    }

    .profile-field-select {
        padding-right: 36px;
    }

    .profile-btn-save {
        width: 100%;
        height: 44px;
        padding: 0 24px;
    }
}

/* ============================================
   Reviews 页面样式
   ============================================ */

.reviews-welcome-section {
    margin-bottom: 60px;
}

.reviews-welcome-header {
    background: #1e2235;
    padding: 20px 24px;
    border-left: 4px solid #ff4757;
    margin-bottom: 40px;
    border-radius: 0 8px 8px 0;
}

.reviews-welcome-header h2 {
    color: var(--text-main);
    margin: 0;
}

.reviews-content-area {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.reviews-form-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reviews-rate-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviews-rate-label {
    color: var(--text-main);
}

.reviews-stars {
    display: flex;
    gap: 8px;
}

.review-star {
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.review-star:hover,
.review-star.active {
    color: #fd3147;
    transform: scale(1.1);
}

.reviews-trust-text {
    color: var(--text-main);
    margin: 0;
}

.reviews-textarea {
    width: 100%;
    min-height: 180px;
    background: #1e2235;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 16px;
    border-radius: 8px;
    outline: none;
    resize: vertical;
    transition: all 0.2s;
}

.reviews-textarea:focus {
    border-color: rgba(255, 71, 87, 0.5);
    background: #252a3a;
}

.reviews-textarea::placeholder {
    color: var(--text-muted);
}

.reviews-submit-btn {
    background: #ff4757;
    color: #fff;
    border: none;
    padding: 14px 32px;
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

.reviews-submit-btn:hover {
    background: #ff6677;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.reviews-submit-btn:active {
    transform: translateY(0);
}

.reviews-image-side {
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-image-side img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.reviews-description-box {
    background: #1a1e2e;
    padding: 30px;
    border-radius: 12px;
    overflow: hidden;
    max-height: 235px;
    position: relative;
}

.reviews-description-box p {
    color: var(--text-main);
    margin-bottom: 20px;
}

.reviews-description-box p:last-child {
    margin-bottom: 0;
}

.reviews-why-title {
    color: var(--text-muted);
    margin-top: 30px !important;
}

.reviews-expand-section {
    margin-top: 20px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 66px;
    padding-top: 30px;
    cursor: pointer;
    text-align: center;
    color: #fd3147;
    background: linear-gradient(to bottom, transparent, #161e2b 50%);    
}

.reviews-show-more-btn {
    background: transparent;
    color: #ff4757;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.reviews-show-more-btn:hover {
    color: #ff6677;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .reviews-content-area {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .reviews-image-side {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .reviews-welcome-header {
        padding: 16px 20px;
    }

    .reviews-welcome-header h2 {
       
    }

    .reviews-rate-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .review-star {
       
    }

    .reviews-description-box {
        padding: 20px;
    }

    .reviews-textarea {
        min-height: 140px;
    }

    .reviews-submit-btn {
        width: 100%;
    }
}

/* ========== 订单表格 ========== */
.orders-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.orders-table thead {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.orders-table th {
    padding: 16px 20px;
    text-align: left;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orders-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s;
}

.orders-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.orders-table td {
    padding: 18px 20px;
    color: var(--text-muted);
}

.order-link {
    color: #ff4757;
    text-decoration: none;
    transition: color 0.2s;
}

.order-link:hover {
    color: #ff6677;
    text-decoration: underline;
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-completed {
    background: rgba(46, 213, 115, 0.15);
    color: #2ed573;
}

.status-processing {
    background: rgba(255, 165, 2, 0.15);
    color: #ffa502;
}

.status-cancelled {
    background: rgba(255, 71, 87, 0.15);
    color: #ff4757;
}

.status-pending {
    background: rgba(30, 144, 255, 0.15);
    color: #1e90ff;
}

.action-link {
    color: #ff4757;
    text-decoration: none;
    transition: color 0.2s;
}

.action-link:hover {
    color: #ff6677;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .orders-table th,
    .orders-table td {
        padding: 12px 10px;
    }

    .status-badge {
        padding: 4px 10px;
    }
}

/* ============================================
   Boosting 页面表单样式
   ============================================ */

.boosting-form-section {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 25px;
}

.boosting-form-group {
    margin-bottom: 25px;
}

.boosting-form-group:last-child {
    margin-bottom: 0;
}

.boosting-section-title {
    color: var(--text-main);
    margin-bottom: 15px;
}

.select-server{
    margin-top: -50px;
    z-index: 1000;
    position: absolute;
}


/* 服务器按钮 - 水平排列，只有文字 */
.boosting-server-buttons {
    display: flex;
    gap: 12px;
}

.boosting-server-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-muted);
    padding: 14px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.boosting-server-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-main);
}

.boosting-server-btn.active {
    background: #ff4757;
    color: #fff;
}

/* 搜索框 */
.boosting-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.boosting-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    padding: 14px 50px 14px 16px;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s;
}

.boosting-search-input::placeholder {
    color: var(--text-muted);
}

.boosting-search-input:focus {
    border-color: #ff4757;
    background: rgba(255, 255, 255, 0.12);
}

.boosting-search-btn {
    position: absolute;
    right: 8px;
    background: #ff4757;
    border: none;
    color: #fff;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boosting-search-btn:hover {
    background: #ff6677;
    transform: scale(1.05);
}

/* 服务列表 - 垂直排列，可滚动 */
.boosting-service-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 380px;
    overflow-y: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 隐藏滚动条 - 所有浏览器 */
.boosting-service-list::-webkit-scrollbar {
    display: none;
}

.boosting-service-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 自定义滚动条 */
.boosting-service-list::-webkit-scrollbar {
    width: 6px;
}

.boosting-service-list::-webkit-scrollbar-track {
    background: transparent;
}

.boosting-service-list::-webkit-scrollbar-thumb {
    background: rgba(255, 71, 87, 0.5);
    border-radius: 3px;
}

.boosting-service-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 71, 87, 0.8);
}

.boosting-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.boosting-service-item:last-child {
    border-bottom: none;
}

.boosting-service-item:hover {
    opacity: 0.8;
}

/* 图片容器 - 添加底部灰度渐变 */
.item-img {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.item-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(26, 30, 46, 1) 0%, rgba(26, 30, 46, 0) 100%);
    pointer-events: none;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.boosting-service-checkbox {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: #ff4757;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.boosting-service-name {
    flex: 1;
    color: var(--text-main);
}

.boosting-service-price {
    color: #ff4757;
    white-space: nowrap;
    margin-left: 15px;
}

/* 总价显示 */
.boosting-total-display {
    margin-bottom: 20px;
    margin-top: 10px;
}

.boosting-total-amount {
    color: #ff4757;
    display: block;
    transition: all 0.3s;
}

/* 购买按钮 */
.boosting-buy-btn {
    width: 100%;
    background: #ff4757;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.boosting-buy-btn:hover {
    background: #ff6677;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .boosting-form-section {
        padding: 20px;
    }

    .boosting-form-group {
        padding: 10px;
    }

    .boosting-server-buttons {
        gap: 10px;
    }

    .boosting-server-btn {
        padding: 12px 16px;
    }

    .boosting-service-list {
        max-height: 320px;
    }

    .boosting-service-item {
        padding: 12px 0;
    }

    .boosting-service-name {
    }

    .boosting-service-price {
        margin-left: 10px;
    }

    .boosting-total-amount {
      
    }
}

@media (max-width: 480px) {
    .boosting-form-section {
        padding: 15px;
    }

    .boosting-server-buttons {
        gap: 8px;
    }

    .boosting-server-btn {
        padding: 10px 12px;
    }

    .boosting-service-list {
        max-height: 280px;
    }

    .boosting-service-item {
        padding: 10px 0;
    }

    .boosting-service-checkbox {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }

    .boosting-service-name {
    
    }

    .boosting-service-price {
    
        margin-left: 8px;
    }

    .boosting-total-amount {
        
    }

    .boosting-buy-btn {
        padding: 14px;
      
    }
}


/* ============================================
   FAQ 搜索和分类样式
   ============================================ */

.faq-search-section {
    margin-bottom: 40px;
}

/* 搜索框 */
.faq-search-box {
    position: relative;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 50px 14px 18px;
    color: #ffffff;
    transition: all 0.3s;
}

.faq-search-input:focus {
    outline: none;
    border-color: rgba(255, 71, 87, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.faq-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.faq-search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.faq-search-btn:hover {
    color: #ff4757;
}

/* 分类按钮 */
.faq-category-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top:20px;
}

.faq-category-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.faq-category-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.faq-category-btn.active {
    background: #ff4757;
    border-color: #ff4757;
    color: #ffffff;
}

/* 响应式 */
@media (max-width: 768px) {
    .faq-search-section {
        margin-bottom: 30px;
    }

    .faq-category-buttons {
        gap: 8px;
    }

    .faq-category-btn {
        padding: 6px 15px;
    }
}

@media (max-width: 480px) {
    .faq-search-input {
        padding: 12px 45px 12px 15px;
    }

    .faq-category-btn {
        padding: 6px 12px;
    }
}


/* ============================================
   FAQ 手风琴样式
   ============================================ */
.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.faq-list-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-list-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-list-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 71, 87, 0.3);
}

.faq-list-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}

.faq-list-question:hover {
    opacity: 0.9;
}

.faq-list-title {
    color: var(--text-main);
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-list-icon {
    color: var(--text-main);
    transition: all 0.3s;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 展开状态 */
.faq-list-item.active .faq-list-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-list-item.active .faq-list-title {
    color: #ff4757;
}

.faq-list-item.active .faq-list-icon {
    color: #ff4757;
    transform: rotate(45deg);
}

/* 答案区域 */
.faq-list-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease;
    padding: 0 24px;
}

.faq-list-item.active .faq-list-answer {
    opacity: 1;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease;
    padding: 20px 24px;
}

/* ============================================
   Checkout 页面样式
   ============================================ */

/* 整体布局 */
.checkout-form {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* 左侧表单区域 */
.checkout-form-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 表单区块 - 白色标题 */
.checkout-form-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-section-title {
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
}

.order-title {
    color: #ffffff;
    margin-bottom: 20px;
}

/* 表单卡片 - 带边框 */
.checkout-form-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 18px;
}
.checkout-order-form-html {
    width: 100%;
}
.checkout-order-form-html .title {
    margin-top: 20px;
    margin-bottom: 10px;
}
.checkout-order-form-html .title:first-child {
    margin-top: 0;
}
.checkout-order-form-html .txt {
    margin-top: 10px;
}
.checkout-order-form-html .li {
    position: relative;
    padding-left: 18px;
}
.checkout-order-form-html .li:before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 3px;
    position: absolute;
    left: 6px;
    top: 10px;
    background: #bcbcbc;
}


/* 表单------ */


#card-button-container {
    display: none !important;
}
/* 配送通知文本 */
.delivery-notice-text {
    margin-bottom: 20px;
}

.delivery-notice-text p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.delivery-step-text {
    margin-bottom: 20px;
}

.delivery-step-text p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* 支付方式容器 */
.checkout-payment-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px;
}

.payment-section-subtitle {
 
}

/* 支付方式网格 - 两行四列 */
.payment-method-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -7px;
    margin-right: -7px;
}
.payment-li {
    width: 25%;
    box-sizing: border-box;
    padding-left: 7px;
    padding-right: 7px;
    margin-top: 26px;
}

.payment-card-label input[type="radio"] {
    display: none;
}

.payment-method-card {
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 20px 15px 15px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: visible;
    transition: all .3s ease-in-out;
}

.payment-method-card:hover {
    border-color: #0070e0;
}

.payment-card-label input:checked + .payment-method-card {
    border-color: #0070e0;
    box-shadow: 0 0 0 3px rgba(0, 112, 224, 0.1);
}

/* 费用标签 */
.payment-fee-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    margin-left: -72px;
    background: #1e3a5f;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
}

/* 卡片内容 */


.payment-bg-image {
    width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    display: block;
}

/* 单选框 - 改为打勾样式 */
.payment-radio-circle {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
    background: #ffffff;
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -5px;
}

.payment-radio-circle svg {
    width: 16px;
    height: 16px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s;
}

.payment-card-label input:checked + .payment-method-card .payment-fee-tag {
    background: #0070e0;
}

.payment-card-label input:checked + .payment-method-card .payment-radio-circle {
    background: #0070e0;
    border-color: #0070e0;
}

.payment-card-label input:checked + .payment-method-card .payment-radio-circle svg {
    opacity: 1;
    transform: scale(1);
}

.payment-logo-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-logo-main {
    width: 100%;
    max-width: 120px;
    height: 40px;
    object-fit: contain;
}

.payment-icons-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.payment-icon-small {
    width: 35px;
    height: 22px;
    object-fit: contain;
}

/* 单选框 */
.payment-radio-circle {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.radio-inner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.3s;
}

.payment-card-label input:checked + .payment-method-card .payment-radio-circle {
    border-color: #0070e0;
}

.payment-card-label input:checked + .payment-method-card .radio-inner {
    background: #0070e0;
}

/* 协议勾选 */
.payment-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.payment-terms-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #ff4757;
}

.terms-label {
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.terms-link {
    color: #ff4757;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* 支付卡片 - 白色背景 */
.checkout-payment-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
}

.payment-subtitle {
    color: #1a1e2e;
    margin-bottom: 20px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.payment-option-card input[type="radio"] {
    display: none;
}

.payment-card-content {
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.payment-card-content:hover {
    border-color: #e0e0e0;
}

.payment-option-card input:checked + .payment-card-content {
    border-color: #ff4757;
    background: #fff;
}

.payment-fee-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4757;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-logos span {
    color: #1a1e2e;
}

.paypal-text {
    color: #003087;
}

/* 右侧订单区域 */
.checkout-order-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.checkout-order-content {
    position: sticky;
    top: 150px;
    z-index: 99;
    
}
.checkout-order-box {
    border: 1px solid #32303b;
    border-radius: 8px;
    background: #1c1927;
    padding: 20px;
}
/* 订单卡片 - 白色背景 */


.order-subtitle {
    color: #ffffff;
    margin-bottom: 15px;
}

/* 产品列表 */
.order-product-section {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-product-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 5px;
    position: relative;
}
.order-product-item:last-child {
    margin-bottom: 0;
}
.product-badge {
    background: rgb(255 71 87);
    color: #ffffff;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    top: -6px;
    left: 39px;
}

.product-thumb {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.product-details {
    flex: 1;
}

.product-name {
    display: block;
}

.remove-link {
    background: none;
    border: none;
    color: #707070;
    cursor: pointer;
    padding: 0;
    font-family: 'iconfont';
    transition: all .3s ease-in-out;
}
.remove-link:focus,
.remove-link:focus-visible {
    outline: none;
}
.remove-link:hover {
   color: #f94757;
}

.product-price {
    color: #ff4757;
    white-space: nowrap;
}

/* 价格明细 */
.order-price-details {
    margin-bottom: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 5px;
}

.price-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.price-label {

}

.price-value {
    color: #ff4757;
}

.price-fee {
    color: #ff4757;
}


.discount-note {
    color: #4ade80;
    margin-left: 4px;
}

.price-discount-value {
    color: #4ade80;
}

.price-total {
    padding-bottom: 0;
}

.price-total-label {
    color: #ff4757;
}

.price-total-value {
    color: #ff4757;
}

.coupon-btn {
    display: flex;
    align-items: center;
    color: #fff;
    background: #231e36;
    padding: 16px 22px;
    border-radius: 16px;
    background: #232a38;
    transition: all .3s ease-in-out;
    margin-top: 20px;
    cursor: pointer;
}

.coupon-btn .txt {
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: 500;
}
.coupon-btn .coupon-icon {
    font-size: 20px;
    font-family: 'iconfont';
}
.coupon-btn .arrow {
    font-family: 'iconfont';
}
.coupon-btn:hover {
    background: #2b3342;
}

/* 优惠码 */
.promo-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-top: 24px;
}

.promo-text {
    color: rgb(188 188 188);
    margin: 0;
}

.promo-link {
    color: #ff4757;
    text-decoration: none;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

.promo-link:hover {
    text-decoration: underline;
}


.checkout-payment-actions {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.checkout-payment-actions.not-paypal {
    background: none;
    padding: 0;
}

.checkout-payment-actions .place-order {
    display: block;
}
.btn-paypal-buy {
    width: 100%;
    background: #ffc439;
    color: #003087;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-paypal-buy:hover {
    background: #ffb727;
}

.paypal-logo-text {
    font-style: italic;
}

.btn-card-pay {
    width: 100%;
    background: #333333;
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
}

.btn-card-pay:hover {
    background: #444444;
}

.powered-paypal {
    text-align: center;
    color: #999999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.paypal-small-text {
    color: #003087;
    font-style: italic;
}

/* 信任徽章 */
.checkout-trust-badges {
    margin-top: 20px;
}

.checkout-trust-badges img {
    width: 100%;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.checkout-trust-badges img:hover {
    opacity: 1;
}

/* 购买保障 */
.checkout-confidence-box {
    background: #ffffff;
    color: #000;
    border-radius: 8px;
    padding: 25px;
}

.confidence-title {
    color: #1a1e2e;
    margin-bottom: 10px;
}

.confidence-subtitle {
    color: #000;
    margin-bottom: 20px;
}

.confidence-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.confidence-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #000;
}

.confidence-list li svg {
    color: #4ade80;
    flex-shrink: 0;
}

.checkout-payment-actions .button{
    text-transform: Uppercase;
    border-radius: 5px;
    padding: 8px 30px 8px 30px;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.0);
    letter-spacing: 0.5px;
    background-color: #fd3147;
    color: #fff;
    width: 100%;
    border: none;
    transition: all .3s ease-in-out;
    cursor: pointer;
}
.checkout-payment-actions .button:hover {
    background: #fff ;
    color:#fd3147;
}
.promo-dialog { 
    display: none;
    background-color: #1b1126;
    padding: 15px;
}
.promo-dialog .title {
    background-color: #1f1b2e;
    border-left: 3px solid #b81c23;
    padding: 15px 10px;
}
.promo-dialog .txt {
    margin-top: 12px;
}

.promo-dialog .form-item {
    margin-top: 14px;
}
.promo-dialog .form-item:first-child {
    margin-top: 20px;
}
.promo-dialog input,
.promo-dialog button {
    width: 100%;
}
.promo-dialog input {
    padding: 10px 15px;
    background: #231e35;
    border: 1px solid #2f3336;
    border-radius: 4px;
    color: #757575;
    outline: none;
}
.promo-dialog button {
    padding: 10px 15px;
    background: #fd3147;
    border-radius: 4px;
    border: none;
    color: #fff;
    text-transform: uppercase;
}
.promo-dialog.active {
    display: block;
}
/* 响应式 */
@media (max-width: 1315px) {
    .payment-li{
        width: 33.33%;    
    }
}
@media (max-width: 1200px) {
    .checkout-form {
        grid-template-columns: 1fr 350px;
    }
}
@media (max-width: 1184px) {
    .checkout-form {
         grid-template-columns: 1fr;
    }
}
@media (max-width: 1024px) {
    .container-wide {
        padding: 0;
    }
    .checkout-order-area {
        position: static;
    }
    
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;    
        gap: 0;
    }
    .form-group {
        width: 100%;
    }
}
@media (max-width: 662px) { 
    .payment-li {
        width: 50%;
    }
}


@media (max-width: 424px) { 
    .payment-li {
        width: 100%;
    }
}
