/* ============================================
   User Order 页面样式
   ============================================ */

/* 整体布局 */
.user-order-page {
    padding: 20px;
    max-width: 100%;
    overflow-x: hidden;
}

/* 用户等级横幅 - 渐变背景 */
.user-level-banner {
    background: linear-gradient(135deg, #231e35 0%, #fd3147 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

.user-info-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    min-width: 0;
}

.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.user-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.user-email {
    color: #ffffff;
    word-break: break-word;
}

.user-welcome {
    color: rgba(255, 255, 255, 0.9);
}

.user-level {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-level-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* 等级进度区域 */
.level-progress-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    top: -20px;
}

.level-markers {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.9);
    padding: 0 20px;
    width: 90%;
}

.progress-bar-wrapper {
    position: relative;
    width: 90%;
}

.progress-bar {
    width: 100%;
    height: 16px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: visible;
    position: relative;
    margin-bottom: 2px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #231e35, #fd3147);
    border-radius: 8px;
    transition: width 0.5s ease;
    position: relative;
}

/* 当前等级标记 - 蓝色渐变椭圆 */
.current-level-badge {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 28px;
    background: linear-gradient(135deg, #231e35, #fd3147);
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.current-level-badge span {
    color: #ffffff;
}

.level-nodes {
    position: absolute;
    top: 100%;
    left: 0px;
    right: 0px;
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.level-node {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}


.level-node.active::before {
    opacity: 1;
}

.level-node:hover {
    transform: scale(1.1);
}

.level-node.active {
    filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.6));
}

.node-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.level-help-btn {
    position: absolute;
    right: 0;
    top: 30px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.level-help-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

/* 主要内容区域 */
.user-content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    width: 100%;
}

/* 左侧导航菜单 */
.user-sidebar {
    width: 260px;
    flex-shrink: 0;
    height: auto;
    border-right: none;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 5px solid transparent;
}

.sidebar-item:hover {
    border-left-color: #2f3336;
    background-color: #1f1b2e;
}

.sidebar-item.active {
    background-color: #1f1b2e;
    border-left-color:  #fd3147;
    font-weight: bold;
}

.sidebar-item svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: none;
}

.logout-btn {
    color: #fff;
    transition: all .3s ease-in-out;
}

.logout-btn:hover {
    background: #1f1b2e;
}

/* 右侧内容 */
.user-main-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 0;
}

.page-title {
    color: #ffffff;
    margin: 0;
}

/* 个人资料项目 */
.profile-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

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

.profile-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.profile-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-label {
    color: #fd3147;
}

.profile-value {
    color: rgba(255, 255, 255, 0.9);
}

.modify-btn {
    padding: 8px 24px;
    background: transparent;
    border: 2px solid #fd3147;
    border-radius: 25px;
    color: #fd3147;
    cursor: pointer;
    transition: all 0.3s;
}

.modify-btn:hover {
    background: #fd3147;
    color: #ffffff;
}

/* 社交联系方式 */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background 0.3s;
}

.social-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.social-name {
    color: #fd3147;
    min-width: 80px;
}

.social-input {
    flex: 1;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s;
}

.social-input:focus {
    border-color: #fd3147;
    background: rgba(0, 0, 0, 0.3);
}

.social-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* 筛选器 */
.order-filters {
    display: flex;
    gap: 15px;
}

.filter-select {
    position: relative;
    flex: 1;
    max-width: 250px;
}

.filter-dropdown {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 40px 12px 15px;
    color: #ffffff;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s;
}

.filter-dropdown:focus {
    outline: none;
    border-color: rgba(255, 71, 87, 0.5);
}

.filter-dropdown option {
    background: #1a1e2e;
    color: #ffffff;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

/* 订单表格 */
.order-table-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: auto;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
}

.order-table thead {
    background: linear-gradient(90deg, #231e35, #fd3147);
}

.order-table th {
    padding: 18px 20px;
    text-align: left;
    color: #ffffff;
    white-space: nowrap;
}

.order-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

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

.order-table td {
    padding: 16px 20px;
    color: rgba(255, 255, 255, 0.8);
}

.empty-row {
    text-align: center;
}

.empty-message {
    padding: 40px 20px !important;
    color: rgba(255, 255, 255, 0.6);
}

/* 修改密码表单 */
.password-form {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    color: rgba(255, 255, 255, 0.6);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: #fd3147;
    background: rgba(255, 255, 255, 0.12);
}

.form-input.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.form-input.success {
    border-color: #231e35;
    background: rgba(74, 222, 128, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-select {
    width: 100%;
    padding: 14px 16px;
    padding-right: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s;
}

.form-select:focus {
    border-color: #fd3147;
    background: rgba(255, 255, 255, 0.12);
}

.form-select.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    color: #ffffff;
}

.form-select.success {
    border-color: #231e35;
    background: rgba(74, 222, 128, 0.1);
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.error-message {
    display: none;
    color: #ef4444;
    margin-top: 6px;
    padding-left: 4px;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #fd3147;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.submit-btn:hover {
    background: #fff;
    color: #1b1126;
    transform: translateY(-2px);
}

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

/* 优惠券标签页 */
.coupon-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.coupon-tab {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.08);
    /*border: 1px solid rgba(255, 255, 255, 0.15);*/
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s;
}

.coupon-tab:hover {
    background: rgba(255, 255, 255, 0.12);
}

.coupon-tab.active {
    background: linear-gradient(135deg, #231e35, #fd3147);
    border-color: transparent;
    color: #ffffff;
}

/* 优惠券列表 */
.coupon-list-wrapper {
    display: none;
    width: 50%;
}
@media (max-width: 1256px) {
    .coupon-list-wrapper {
        width: 100%;
    }
}
.empty-state {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    min-height: 200px;
    padding: 30px;
}
.coupon-list-wrapper.active {
    display: block;
}
.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    color: rgba(255, 255, 255, 0.4);
}

.coupon-list {
    display: grid;
    gap: 16px;
}

/* 优惠券卡片 */
.coupon-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
}

.coupon-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.coupon-info {
    flex: 1;
}

.coupon-title {
    color: #ffffff;
    margin-bottom: 8px;
}

.coupon-details {
    display: flex;
    gap: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.coupon-status {
    padding: 6px 16px;
    border-radius: 20px;
}

.coupon-status.available {
    background: rgba(74, 222, 128, 0.2);
    color: #231e35;
}

.coupon-status.expired {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.coupon-status.used {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== Affiliate 页面样式 ==================== */

/* 页面标题 */
.affiliate-page-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
}

/* 步骤指示器 */
.affiliate-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef4444, #fd3147);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.step-text {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.step-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.step-item.active .dot {
    background: #fd3147;
}

/* 标签页导航 */
.affiliate-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.affiliate-tab {
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
}

.affiliate-tab:hover {
    background: rgba(255, 255, 255, 0.12);
}

.affiliate-tab.active {
    background: #fd3147;
}

/* 表单容器 */
.affiliate-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.password-section,
.account-section {
    margin-bottom: 20px;
    width: 100%;
}

.password-form,
.account-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100% !important;
    max-width: 100% !important;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100% !important;
    max-width: 100% !important;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100% !important;
    max-width: 100% !important;
}
.password-form .form-group,
.password-form .submit-btn {
    width:50% !important;
}
/* 输入框包装器 */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 1;
}

.input-wrapper .form-input {
    padding-left: 44px;
    width: 100% !important;
}

.input-wrapper .form-select {
    padding-left: 44px;
    width: 100% !important;
}

/* 必填标记 */
.form-label.required::before {
    content: '*';
    color: #ef4444;
    margin-right: 4px;
}

/* 日期输入框图标颜色 */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.8;
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* 表单样式调整 */
.form-label {
    color: #ffffff;
    width: 100%;
}

.form-input {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #fd3147;
    background: rgba(255, 255, 255, 0.12);
}

.form-input.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.form-input.success {
    border-color: #231e35;
    background: rgba(74, 222, 128, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-select {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 16px;
    padding-right: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-select:focus {
    border-color: #fd3147;
    background: rgba(255, 255, 255, 0.12);
}

.form-select.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    color: #ffffff;
}

.form-select.success {
    border-color: #231e35;
    background: rgba(74, 222, 128, 0.1);
}

.select-wrapper {
    position: relative;
    width: 100% !important;
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

/* 联盟链接展示 */


.affiliate-container{
    max-width: 1000px;
    margin: 0 auto;
}

.affiliate-link-display {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.link-url {
    color: #ef4444;
    word-break: break-all;
}

.copy-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.link-hint {
    color: rgba(255, 255, 255, 0.6);
}

/* 保存按钮 */
.save-btn {
    width: 200px;
    padding: 16px;
    background: #fd3147;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
    margin: 8px auto 0;
    display: block;
}

.save-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

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

/* 优势展示 */
.affiliate-advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.advantage-card.wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.advantage-card h3 {
    color: #ffffff;
    margin-bottom: 8px;
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.7);
}

.advantage-img {
    max-width: 200px;
    max-height: 150px;
    width: auto;
    height: auto;
    border-radius: 8px;
    align-self: center;
    object-fit: contain;
}

.contact-link {
    color: #fd3147;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.advantage-content {
    flex: 1;
}

/* FAQ 部分 */
.affiliate-faq-section {
    margin-top: 60px;
}

.faq-section-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

.affiliate-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aff-faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.aff-faq-question {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.aff-faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.aff-faq-question span {
    color: #ffffff;
}

.aff-faq-icon {
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s;
}

.aff-faq-item.active .aff-faq-icon {
    transform: rotate(180deg);
}

.aff-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.2);
}

.aff-faq-item.active .aff-faq-answer {
    max-height: 500px;
    padding: 20px;
}

.aff-faq-steps {
    list-style: disc;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.aff-faq-steps li {
    margin-bottom: 8px;
}

/* 支付历史记录区域 */
.payment-history-section {
    margin-bottom: 20px;
}

.payment-history-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.payment-history-table thead {
    background: rgba(255, 255, 255, 0.1);
}

.payment-history-table th {
    padding: 16px;
    text-align: left;
    color: #ffffff;
    white-space: nowrap;
}

.payment-history-table td {
    padding: 16px;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-history-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* 总计金额 */
.total-amount {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.total-label {
    color: rgba(255, 255, 255, 0.8);
}

.total-value {
    color: #ef4444;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
   
    .affiliate-form-wrapper {
        padding: 24px !important;
        margin: 0 auto !important;
    }

    .save-btn {
        width: 100%;
    }

    .form-divider {
        margin: 30px 0;
    }

    .payment-history-table th,
    .payment-history-table td {
        padding: 12px;
    }

    .total-amount {
        justify-content: center;
    }

    /* ========== art3.html 移动端适配 ========== */
    
    /* 步骤指示器 */
    .affiliate-steps {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .step-item {
        gap: 12px;
    }

    .step-dots {
        display: none;
    }

    /* 标签页导航 */
    .affiliate-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 0 4px;
    }

    .affiliate-tab {
        white-space: nowrap;
        padding: 10px 16px;
    }

    /* 日期筛选 */
    .date-filter-section {
        margin-bottom: 16px;
    }

    .section-subtitle {
        margin-bottom: 16px;
    }

    .date-filter-form {
        gap: 16px;
    }

    .date-filter-row {
        flex-direction: column;
        gap: 12px;
    }

    .date-separator {
        text-align: center;
        padding: 4px 0;
    }

    .search-btn {
        width: 100%;
        padding: 12px;
    }

    /* 佣金表格 */
    .commission-section {
        margin-bottom: 20px;
    }

    .commission-table-wrapper {
        margin-bottom: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .commission-table {
        min-width: 500px;
    }

    .commission-table th,
    .commission-table td {
        padding: 10px 8px;
        white-space: nowrap;
    }

    /* 余额统计 */
    .balance-summary {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .balance-item {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .balance-label {
     
    }

    .balance-amount {
       
    }

    /* 提现按钮 */
    .withdraw-btn {
        width: 100%;
        max-width: 100%;
        padding: 14px;
    }

    /* 提现弹窗 */
    .modal-content {
        padding: 24px;
        width: 95%;
        max-height: 85vh;
        border-radius: 16px;
    }

    .modal-title {
       
    }

    .payment-options {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .option-content {
        padding: 16px;
    }

    .payment-icon {
        width: 40px;
        height: 40px;
    }

    .form-label {
       
    }

    .modal-input {
        padding: 12px;
    }

    .withdraw-amount {
        padding: 16px;
        margin-bottom: 20px;
    }

    .amount-label {
      
    }

    .amount-value {
        
    }

    .modal-actions {
        flex-direction: column;
        gap: 12px;
    }

    .modal-btn {
        width: 100%;
        padding: 14px;
    }

    /* ========== 优势卡片移动端适配 ========== */
    .affiliate-advantages {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }

    .advantage-card {
        padding: 20px;
    }

    .advantage-card.wide {
        flex-direction: column;
        text-align: center;
    }

    .advantage-content {
        order: 1;
    }

    .advantage-img {
        order: 2;
        max-width: 200px;
        margin: 0 auto;
    }

    .advantage-card h3 {
        
    }

    .advantage-card p {
        
    }

    .contact-link {
        word-break: break-all;
    }

    /* ========== FAQ 移动端适配 ========== */
    .affiliate-faq-section {
        margin-top: 40px;
    }

    .faq-section-title {
        margin-bottom: 20px;
    }

    .affiliate-faq-list {
        max-width: 100%;
    }

    .aff-faq-question {
        padding: 14px 16px;
    }

    .aff-faq-icon {
        flex-shrink: 0;
        margin-left: 12px;
    }

    .aff-faq-answer {
        padding: 0 16px;
    }

    .aff-faq-item.active .aff-faq-answer {
        padding: 16px;
    }

    .aff-faq-steps {
        padding-left: 16px;
    }

    .aff-faq-answer p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px;
        width: 92%;
        max-height: 80vh;
    }

    .modal-title {
    
    }

    .modal-header {
        margin-bottom: 20px;
    }

    .payment-options {
        gap: 10px;
        margin-bottom: 20px;
    }

    .option-content {
        padding: 14px;
    }

    .payment-icon {
        width: 36px;
        height: 36px;
    }

    .radio-circle {
        width: 20px;
        height: 20px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .modal-input {
        padding: 10px 12px;
        
    }

    .withdraw-amount {
        padding: 14px;
        margin-bottom: 16px;
    }

    .amount-value {
     
    }

    .modal-btn {
        padding: 12px;
        
    }
}

/* ============================================
   响应式样式
   ============================================ */

/* 平板端 */
@media (max-width: 1024px) {
     .password-form .form-group,
    .password-form .submit-btn {
        width: 100% !important;
    }
    .user-content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .user-sidebar {
        order: -1;
        width: auto;
    }
    .sidebar-menu {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
    }
    

    .sidebar-item {
       border: none;
    }

    .user-level-banner {
        flex-direction: column;
        padding: 20px;
        gap: 25px;
    }

    .user-info-section {
        width: 100%;
    }

    .level-progress-section {
        width: 100%;
    }

    .level-markers {
       
    }

    .level-node {
        width: 45px;
        height: 45px;
    }
}

/* 移动端 */
@media (max-width: 768px) {
    .user-content-wrapper {
        flex-direction: column;
    }

    /* .user-sidebar {
        display: none;
    } */

    .social-grid {
        grid-template-columns: 1fr;
    }

    .user-level-banner {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        height: 280px;
    }

    .user-info-section {
        width: 100%;
    }

    .level-progress-section {
        width: 100%;
    }

    .level-node {
        width: 40px;
        height: 40px;
    }

    .node-icon {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }

    .level-node::before {
        border-left-width: 6px;
        border-right-width: 6px;
        border-bottom-width: 8px;
        top: -6px;
    }

    .current-level-badge {
        width: 40px;
        height: 24px;
        right: 0px;
    }

    .current-level-badge span {
     
    }

    .level-help-btn {
        width: 24px;
        height: 24px;
        border-width: 1px;
        top: 0;
    }

    .coupon-tabs {
        flex-direction: column;
        gap: 12px;
    }

    .coupon-tab {
        width: 100%;
        text-align: center;
    }

    .coupon-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .coupon-status {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .user-order-page {
        padding: 15px;
    }

    .user-level-banner {
        padding: 15px;
    }

    .user-email {

    }

    .level-markers {
     
    }

    .level-node {
        width: 35px;
        height: 35px;
    }

    .node-icon {
        width: 35px;
        height: 35px;
    }

    .current-level-badge {
        width: 36px;
        height: 20px;
        right: -18px;
    }

    .current-level-badge span {
    
    }

    .level-help-btn {
        width: 22px;
        height: 22px;
    }

    .profile-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .modify-btn {
        width: 100%;
    }

    .social-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-input {
        width: 100%;
    }

    .sidebar-item {
        padding: 15px;
    }

    .coupon-details {
        flex-direction: column;
        gap: 8px;
    }
}

/* 表单区域分隔 */
.section-subtitle {
    color: #ffffff;
    margin-bottom: 24px;
}

.form-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 40px 0;
}

.password-section,
.account-section {
    margin-bottom: 20px;
}

/* 输入框包装器 */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 1;
}

.input-wrapper .form-input {
    padding-left: 44px;
}

.input-wrapper .form-select {
    padding-left: 44px;
}

/* 必填标记 */
.form-label.required::before {
    content: '*';
    color: #ef4444;
    margin-right: 4px;
}

/* 表单样式调整 */
.affiliate-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
}

.password-form,
.account-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    color: #ffffff;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: #fd3147;
    background: rgba(255, 255, 255, 0.12);
}

.form-input.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.form-input.success {
    border-color: #231e35;
    background: rgba(74, 222, 128, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-select {
    width: 100%;
    padding: 14px 16px;
    padding-right: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s;
}

.form-select:focus {
    border-color: #fd3147;
    background: rgba(255, 255, 255, 0.12);
}

.form-select.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    color: #ffffff;
}

.form-select.success {
    border-color: #231e35;
    background: rgba(74, 222, 128, 0.1);
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.error-message {
    display: none;
    color: #ef4444;
    margin-top: 6px;
    padding-left: 4px;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.save-btn {
    width: 200px;
    padding: 16px;
    background: #fd3147;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
    margin: 8px auto 0;
    display: block;
}

.save-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

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

/* 日期筛选区域 */
.date-filter-section {
    margin-bottom: 20px;
}

.date-filter-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.date-filter-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.date-separator {
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.date-filter-row .form-group {
    flex: 1;
    width: 100%;
}

.search-btn {
    width: 200px;
    padding: 14px;
    background: #fd3147;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
    align-self: center;
}

.search-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

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

/* 佣金表格区域 */
.commission-section {
    margin-bottom: 20px;
}

.commission-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 24px;
    border-radius: 8px;
}

.commission-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.commission-table thead {
    background: rgba(255, 255, 255, 0.1);
}

.commission-table th {
    padding: 16px;
    text-align: left;
    color: #ffffff;
    white-space: nowrap;
}

.commission-table td {
    padding: 16px;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.empty-row td {
    text-align: center;
    padding: 40px 16px;
    color: rgba(255, 255, 255, 0.4);
}

/* 余额统计 */
.balance-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.balance-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
}

.balance-label {
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.balance-amount {
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 提现按钮 */
.withdraw-btn {
    width: 200px;
    padding: 16px;
    background: #fd3147;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 auto;
    display: block;
}

.withdraw-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

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

.withdraw-btn:disabled {
    background: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    transform: none;
}

/* 提现弹窗 */
.withdraw-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.withdraw-modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    margin-bottom: 24px;
}

.modal-title {
    color: #1a1a1a;
    margin: 0;
}

/* 支付方式选项 */
.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.payment-option {
    cursor: pointer;
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    transition: all 0.3s;
    background: #ffffff;
}

.payment-option input[type="radio"]:checked + .option-content {
    border-color: #fd3147;
    background: rgba(59, 130, 246, 0.05);
}

.radio-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.payment-option input[type="radio"]:checked + .option-content .radio-circle {
    border-color: #fd3147;
}

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

.payment-option input[type="radio"]:checked + .option-content .radio-dot {
    background: #fd3147;
}

.payment-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* 弹窗表单 */
.modal-content .form-group {
    margin-bottom: 24px;
}

.modal-content .form-label {
    color: #1a1a1a;
    margin-bottom: 12px;
    display: block;
}

.modal-input {
    width: 100%;
    padding: 14px 16px;
    background: #f9fafb;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    color: #1a1a1a;
    outline: none;
    transition: all 0.3s;
}

.modal-input:focus {
    border-color: #fd3147;
    background: #ffffff;
}

.modal-input::placeholder {
    color: #9ca3af;
}

/* 提现金额 */
.withdraw-amount {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.amount-label {
    color: #1a1a1a;
}

.amount-value {
    color: #ef4444;
}

/* 弹窗按钮 */
.modal-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.modal-btn {
    padding: 14px 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.withdraw-confirm {
    background: #fd3147;
    color: #ffffff;
}

.withdraw-confirm:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.withdraw-confirm:active {
    transform: translateY(0);
}

.cancel-btn {
    background: #f3f4f6;
    color: #6b7280;
}

.cancel-btn:hover {
    background: #e5e7eb;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .payment-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .modal-content {
        padding: 24px;
        width: 95%;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px;
    }

    .modal-title {
       
    }

    .amount-value {
        
    }
}
/* ========== 登录注册页面 ========== */

.auth-form-box{
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 0;
}

.auth-form {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
}

.auth-title {
    color: #ffffff;
    margin-bottom: 24px;
}

.auth-form-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.required {
    color: #fd3147;
}

.auth-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 12px 16px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s;
}

.auth-input:focus {
    border-color: #fd3147;
    background: rgba(255, 255, 255, 0.12);
}

.auth-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.auth-input.error {
    border-color: #fd3147;
    background: rgba(255, 255, 255, 0.12);
}

.password-wrapper {
    position: relative;
}

.password-wrapper .auth-input {
    width: 100%;
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #fd3147;
    border: none;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.password-toggle:hover {
    background: #ff6b7a;
}

.password-toggle svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.auth-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-btn {
    background: #fd3147;
    color: #ffffff;
}

.login-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.register-btn {
    background: #fd3147;
    color: #ffffff;
    width: 200px;
    margin-top: 10px;
}

.register-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}
 

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #fd3147;
    border: none;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.password-toggle:hover {
    background: #ff6b7a;
}

.password-toggle svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
    transition: opacity 0.3s;
}

/* 密码显示状态（眼睛睁开） */
.password-toggle .eye-open {
    display: block;
}

.password-toggle .eye-closed {
    display: none;
}

/* 密码隐藏状态（眼睛闭上） */
.password-toggle.active .eye-open {
    display: none;
}

.password-toggle.active .eye-closed {
    display: block;
}

 
.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #fd3147;
}

.forgot-password {
    color: #fd3147;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #ff6b7a;
    text-decoration: underline;
}

.privacy-notice {
    color: rgba(255, 255, 255, 0.7);
}

.privacy-link {
    color: #fd3147;
    text-decoration: none;
}

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

/* 移动端适配 */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 0;
    }

    .auth-form {
        padding: 24px;
    }

    .auth-title {
      
    }

    .form-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .login-btn {
        width: 100%;
    }
}



.left-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.left-profile .avatar {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    overflow: hidden;
}
.left-profile .avatar svg {
    width: 40px;
    height: 40px;
}
.left-profile .level {
    flex: 1;
}
.left-profile .level span {
    color:  #fd3147;
    margin-left: 10px;
}





 .tab-coupon-card {
    position: relative;
    border-radius: 12px;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tab-coupon-card.coupon-unused {
    border-left: 5px solid #fd3147;
}

.tab-coupon-card.coupon-used {
    border-left: 5px solid #6c757d;
    opacity: 0.7;
}

.tab-coupon-card.coupon-expired {
    border-left: 5px solid #dc3545;
    opacity: 0.7;
}

.tab-coupon-card .coupon-body {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tab-coupon-card .coupon-price {
    font-size: 26px;
    font-weight: bold;
    color: #ff4c4c;
}

.tab-coupon-card .coupon-price small {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.tab-coupon-card .coupon-info {
    flex: 1;
    padding: 0 15px;
}

.tab-coupon-card .coupon-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.tab-coupon-card .coupon-desc {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}

.tab-coupon-card .coupon-date {
    font-size: 12px;
    color: #999;
}

.tab-coupon-card .coupon-tag {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    color: #fff;
}

.tab-coupon-card .tag-unused {
    background-color: #fd3147;
}

.tab-coupon-card .tag-used {
    background-color: #6c757d;
}

.tab-coupon-card .tag-expired {
    background-color: #dc3545;
}

.tab-coupon-card .empty-box {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 14px;
}