/* 组件样式 */

/* ================================
   客服弹窗样式
   ================================ */
.customer-service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.customer-service-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.customer-service-content {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.3s ease;
    position: relative;
    overflow: hidden;
}

.customer-service-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: #ffffff;
    padding: 20px;
    text-align: center;
    position: relative;
}

.customer-service-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.customer-service-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.customer-service-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.customer-service-body {
    padding: 32px 24px;
    text-align: center;
}

.service-qr-container {
    margin-bottom: 24px;
}

.service-qr-wrapper {
    display: inline-block;
    padding: 16px;
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-qr-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, #f0f0f0 49%, #f0f0f0 51%, transparent 51%);
    opacity: 0.3;
    pointer-events: none;
}

.service-qr-image {
    width: 180px;
    height: 180px;
    display: block;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.service-qr-loading {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 8px;
    color: #999999;
    font-size: 14px;
}

.service-qr-loading i {
    animation: spin 1s linear infinite;
    margin-right: 8px;
    font-size: 16px;
}

.service-info {
    color: #666666;
    line-height: 1.6;
}

.service-title {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.service-description {
    font-size: 14px;
    color: #666666;
    margin-bottom: 4px;
}

.service-work-time {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
    background: #f8f8f8;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 8px;
}

.service-work-time i {
    margin-right: 6px;
    color: #666666;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 响应式适配 */
@media (max-width: 480px) {
    .customer-service-content {
        max-width: 320px;
    }
    
    .service-qr-image {
        width: 160px;
        height: 160px;
    }
    
    .service-qr-loading {
        width: 160px;
        height: 160px;
    }
    
    .customer-service-body {
        padding: 24px 20px;
    }
}

/* ================================
   通知弹窗样式
   ================================ */
.notification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.notification-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.notification-content {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.3s ease;
    position: relative;
    
    /* 自定义滚动条样式 */
    scrollbar-width: none; /* Firefox隐藏滚动条 */
    scrollbar-color: transparent transparent;
    
    /* 移动端优化：完全隐藏滚动条但保持滚动功能 */
    -ms-overflow-style: none; /* IE和Edge */
}

/* WebKit 浏览器滚动条样式 */
.notification-content::-webkit-scrollbar {
    width: 0px; /* 移动端完全隐藏滚动条 */
    background: transparent;
}

.notification-content::-webkit-scrollbar-track {
    background: transparent;
}

.notification-content::-webkit-scrollbar-thumb {
    background: transparent;
}

/* 桌面端鼠标悬停时显示滚动条 */
@media (hover: hover) and (pointer: fine) {
    .notification-content::-webkit-scrollbar {
        width: 6px;
    }
    
    .notification-content::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 3px;
    }
    
    .notification-content::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 3px;
        transition: background-color 0.3s ease;
    }
    
    .notification-content:hover::-webkit-scrollbar-thumb,
    .notification-content.scrolling::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
    }

    .notification-content:hover::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.4);
    }
}

/* Firefox 滚动条样式 - 桌面端 */
@media (hover: hover) and (pointer: fine) {
    .notification-content:hover,
    .notification-content.scrolling,
    .notification-content.has-scroll {
        scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
        scrollbar-width: thin;
    }
}

.notification-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: #ffffff;
    padding: 24px;
    text-align: center;
    position: relative;
}

.notification-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.notification-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notification-body {
    padding: 32px 24px;
}

.contact-section {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.contact-item {
    text-align: center;
    flex: 1;
    max-width: 180px;
}

.contact-item h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
}

.qr-container {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.qr-image {
    width: 140px;
    height: 140px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.qr-loading {
    width: 140px;
    height: 140px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    color: #999999;
    font-size: 14px;
}

.contact-description {
    margin: 0;
    color: #666666;
    font-size: 14px;
    line-height: 1.4;
}

.contact-highlight {
    color: #333333;
    font-weight: 600;
    margin-top: 4px;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .notification-modal {
        padding: 16px;
    }
    
    .notification-content {
        max-width: none;
        width: 100%;
    }
    
    .notification-header {
        padding: 16px;
    }
    
    .notification-header h3 {
        font-size: 16px;
    }
    
    .notification-body {
        padding: 24px 16px;
    }
    
    .contact-section {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .contact-item {
        max-width: none;
        width: 100%;
    }
    
    .qr-image,
    .qr-loading {
        width: 120px;
        height: 120px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 通知按钮动效 */
.notification-btn {
    position: relative;
    transition: transform 0.2s ease;
}

.notification-btn:active {
    transform: scale(0.95);
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #ff4757;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ================================
   兑换卡密弹窗样式
   ================================ */
.exchange-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.exchange-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.exchange-content {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.3s ease;
    position: relative;
    
    /* 自定义滚动条样式 */
    scrollbar-width: none; /* Firefox隐藏滚动条 */
    scrollbar-color: transparent transparent;
    
    /* 移动端优化：完全隐藏滚动条但保持滚动功能 */
    -ms-overflow-style: none; /* IE和Edge */
}

/* WebKit 浏览器滚动条样式 */
.exchange-content::-webkit-scrollbar {
    width: 0px; /* 移动端完全隐藏滚动条 */
    background: transparent;
}

.exchange-content::-webkit-scrollbar-track {
    background: transparent;
}

.exchange-content::-webkit-scrollbar-thumb {
    background: transparent;
}

/* 桌面端鼠标悬停时显示滚动条 */
@media (hover: hover) and (pointer: fine) {
    .exchange-content::-webkit-scrollbar {
        width: 6px;
    }
    
    .exchange-content::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 3px;
    }
    
    .exchange-content::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 3px;
        transition: background-color 0.3s ease;
    }
    
    .exchange-content:hover::-webkit-scrollbar-thumb,
    .exchange-content.scrolling::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
    }

    .exchange-content:hover::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.4);
    }
}

/* Firefox 滚动条样式 - 桌面端 */
@media (hover: hover) and (pointer: fine) {
    .exchange-content:hover,
    .exchange-content.scrolling,
    .exchange-content.has-scroll {
        scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
        scrollbar-width: thin;
    }
}

.exchange-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: #ffffff;
    padding: 20px 24px;
    text-align: center;
    position: relative;
}

.exchange-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.exchange-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.exchange-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.exchange-body {
    padding: 32px 24px;
}

.exchange-form {
    margin-bottom: 24px;
}

.exchange-input-group {
    margin-bottom: 20px;
}

.exchange-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.exchange-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 16px;
    color: #333333;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.exchange-input:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.exchange-input::placeholder {
    color: #999999;
}

.exchange-input.error {
    border-color: #ff4757;
}

.exchange-hint {
    font-size: 12px;
    color: #666666;
    margin-top: 6px;
    line-height: 1.4;
}

.exchange-actions {
    display: flex;
    gap: 12px;
}

.exchange-btn {
    flex: 1;
    height: 48px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.exchange-btn-cancel {
    background: #f8f8f8;
    color: #666666;
    border: 1px solid #e5e5e5;
}

.exchange-btn-cancel:hover {
    background: #e5e5e5;
    color: #333333;
}

.exchange-btn-confirm {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: #ffffff;
}

.exchange-btn-confirm:hover {
    background: linear-gradient(135deg, #333333 0%, #4a4a4a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.exchange-btn-confirm:active {
    transform: translateY(0);
}

.exchange-btn-confirm:disabled {
    background: #cccccc;
    color: #999999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.exchange-btn .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.exchange-btn.loading .spinner {
    display: block;
}

.exchange-btn.loading .btn-text {
    display: none;
}

.exchange-success {
    display: none;
    text-align: center;
    padding: 16px;
    background: #f0f9ff;
    border: 1px solid #b3e5fc;
    border-radius: 8px;
    margin-bottom: 20px;
}

.exchange-success.show {
    display: block;
}

.exchange-success-icon {
    font-size: 24px;
    color: #4caf50;
    margin-bottom: 8px;
}

.exchange-success-text {
    font-size: 14px;
    color: #333333;
    font-weight: 600;
}

.exchange-error {
    display: none;
    text-align: center;
    padding: 16px;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    margin-bottom: 20px;
}

.exchange-error.show {
    display: block;
}

.exchange-error-icon {
    font-size: 24px;
    color: #ff4757;
    margin-bottom: 8px;
}

.exchange-error-text {
    font-size: 14px;
    color: #333333;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .exchange-modal {
        padding: 16px;
    }
    
    .exchange-content {
        max-width: none;
        width: 100%;
    }
    
    .exchange-header {
        padding: 16px 20px;
    }
    
    .exchange-header h3 {
        font-size: 16px;
    }
    
    .exchange-body {
        padding: 24px 20px;
    }
    
    .exchange-input {
        height: 44px;
        font-size: 16px;
    }
    
    .exchange-btn {
        height: 44px;
        font-size: 15px;
    }
    
    .exchange-actions {
        gap: 8px;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ================================
   积分充值弹窗样式
   ================================ */
.recharge-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.recharge-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.recharge-content {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.3s ease;
    position: relative;
    
    /* 自定义滚动条样式 */
    scrollbar-width: none; /* Firefox隐藏滚动条 */
    scrollbar-color: transparent transparent;
    
    /* 移动端优化：完全隐藏滚动条但保持滚动功能 */
    -ms-overflow-style: none; /* IE和Edge */
}

/* WebKit 浏览器滚动条样式 */
.recharge-content::-webkit-scrollbar {
    width: 0px; /* 移动端完全隐藏滚动条 */
    background: transparent;
}

.recharge-content::-webkit-scrollbar-track {
    background: transparent;
}

.recharge-content::-webkit-scrollbar-thumb {
    background: transparent;
}

/* 桌面端鼠标悬停时显示滚动条 */
@media (hover: hover) and (pointer: fine) {
    .recharge-content::-webkit-scrollbar {
        width: 6px;
    }
    
    .recharge-content::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 3px;
    }
    
    .recharge-content::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 3px;
        transition: background-color 0.3s ease;
    }
    
    .recharge-content:hover::-webkit-scrollbar-thumb,
    .recharge-content.scrolling::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
    }

    .recharge-content:hover::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.4);
    }
}

/* Firefox 滚动条样式 - 桌面端 */
@media (hover: hover) and (pointer: fine) {
    .recharge-content:hover,
    .recharge-content.scrolling,
    .recharge-content.has-scroll {
        scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
        scrollbar-width: thin;
    }
}

.recharge-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: #ffffff;
    padding: 20px 24px;
    text-align: center;
    position: relative;
    border-radius: 16px 16px 0 0;
}

.recharge-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.recharge-header p {
    margin: 8px 0 0 0;
    font-size: 14px;
    opacity: 0.8;
}

.recharge-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.recharge-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.recharge-body {
    padding: 24px;
}

.recharge-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666666;
}

.recharge-loading i {
    font-size: 24px;
    margin-bottom: 12px;
    animation: spin 1s linear infinite;
}

.package-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.package-item {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px 20px 20px 20px;
    background: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    margin-top: 8px;
}

.package-item:hover {
    border-color: #cccccc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.package-item.active {
    border-color: #333333;
    background: #f8f9fa;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.package-item.recommend {
    border-color: #333333;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.package-item.recommend.deselected {
    border-color: #e5e5e5;
    background: #ffffff;
}

.package-recommend-tag {
    position: absolute;
    top: -1px;
    right: 12px;
    background: #333333;
    color: #ffffff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    margin-top: 8px;
}

.package-info {
    flex: 1;
}

.package-name {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 6px 0;
}

.package-points {
    font-size: 16px;
    color: #666666;
    margin: 0;
}

.package-price {
    text-align: right;
}

.package-price-main {
    font-size: 28px;
    font-weight: bold;
    color: #333333;
    line-height: 1;
}

.package-price-unit {
    font-size: 14px;
    color: #666666;
    display: none;
}

.package-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.package-features li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #4caf50;
}

.package-features li:last-child {
    margin-bottom: 0;
}

.package-features li::before {
    content: "✓";
    margin-right: 8px;
    font-weight: bold;
    color: #4caf50;
}

.recharge-actions {
    padding: 20px 24px;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
    border-radius: 0 0 16px 16px;
}

.recharge-selected-info {
    display: none;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.recharge-selected-info.show {
    display: block;
}

.selected-package-name {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 4px;
}

.selected-package-detail {
    font-size: 14px;
    color: #666666;
}

.recharge-btn-group {
    display: flex;
    gap: 12px;
}

.recharge-btn {
    flex: 1;
    height: 48px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.recharge-btn-cancel {
    background: #f8f8f8;
    color: #666666;
    border: 1px solid #e5e5e5;
}

.recharge-btn-cancel:hover {
    background: #e5e5e5;
    color: #333333;
}

.recharge-btn-pay {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: #ffffff;
}

.recharge-btn-pay:hover {
    background: linear-gradient(135deg, #333333 0%, #4a4a4a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.recharge-btn-pay:active {
    transform: translateY(0);
}

.recharge-btn-pay:disabled {
    background: #cccccc;
    color: #999999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.recharge-btn .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.recharge-btn.loading .spinner {
    display: block;
}

.recharge-btn.loading .btn-text {
    display: none;
}

.recharge-error {
    display: none;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
}

.recharge-error.show {
    display: block;
}

.recharge-error-icon {
    font-size: 24px;
    color: #ff4757;
    margin-bottom: 8px;
}

.recharge-error-text {
    font-size: 14px;
    color: #333333;
}

/* 支付弹窗样式 */
.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.payment-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.payment-content {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.3s ease;
    position: relative;
    
    /* 自定义滚动条样式 */
    scrollbar-width: none; /* Firefox隐藏滚动条 */
    scrollbar-color: transparent transparent;
    
    /* 移动端优化：完全隐藏滚动条但保持滚动功能 */
    -ms-overflow-style: none; /* IE和Edge */
}

/* WebKit 浏览器滚动条样式 */
.payment-content::-webkit-scrollbar {
    width: 0px; /* 移动端完全隐藏滚动条 */
    background: transparent;
}

.payment-content::-webkit-scrollbar-track {
    background: transparent;
}

.payment-content::-webkit-scrollbar-thumb {
    background: transparent;
}

/* 桌面端鼠标悬停时显示滚动条 */
@media (hover: hover) and (pointer: fine) {
    .payment-content::-webkit-scrollbar {
        width: 6px;
    }
    
    .payment-content::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 3px;
    }
    
    .payment-content::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 3px;
        transition: background-color 0.3s ease;
    }
    
    .payment-content:hover::-webkit-scrollbar-thumb,
    .payment-content.scrolling::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
    }

    .payment-content:hover::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.4);
    }
}

/* Firefox 滚动条样式 - 桌面端 */
@media (hover: hover) and (pointer: fine) {
    .payment-content:hover,
    .payment-content.scrolling,
    .payment-content.has-scroll {
        scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
        scrollbar-width: thin;
    }
}

.payment-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: #ffffff;
    padding: 20px;
    text-align: center;
    position: relative;
}

.payment-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.payment-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.payment-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.payment-iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.payment-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 500px;
    color: #666666;
}

.payment-loading i {
    font-size: 32px;
    margin-bottom: 16px;
    animation: spin 1s linear infinite;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .recharge-modal,
    .payment-modal,
    .exchange-modal,
    .notification-modal {
        padding: 8px;
    }
    
    .recharge-content,
    .payment-content,
    .exchange-content,
    .notification-content {
        max-width: none;
        width: 100%;
        max-height: 95vh;
        /* 移动端强制隐藏滚动条，确保没有白色区域 */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 移动端完全隐藏所有滚动条 */
    .recharge-content::-webkit-scrollbar,
    .payment-content::-webkit-scrollbar,
    .exchange-content::-webkit-scrollbar,
    .notification-content::-webkit-scrollbar {
        display: none;
        width: 0 !important;
        background: transparent !important;
    }
    
    .recharge-header,
    .payment-header {
        padding: 16px 20px;
    }
    
    .recharge-header h3,
    .payment-header h3 {
        font-size: 16px;
    }
    
    .recharge-body {
        padding: 20px;
    }
    
    .package-item {
        padding: 16px;
    }
    
    .package-name {
        font-size: 16px;
    }
    
    .package-price-main {
        font-size: 24px;
    }
    
    .recharge-actions {
        padding: 16px 20px;
    }
    
    .recharge-btn {
        height: 44px;
        font-size: 15px;
    }
    
    .recharge-btn-group {
        gap: 8px;
    }
    
    .payment-iframe {
        height: 400px;
    }
    
    .payment-loading {
        height: 400px;
    }
}

/* 针对iOS Safari的特殊优化 */
@supports (-webkit-touch-callout: none) {
    .recharge-content,
    .payment-content,
    .exchange-content,
    .notification-content {
        /* iOS Safari滚动条完全隐藏 */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .recharge-content::-webkit-scrollbar,
    .payment-content::-webkit-scrollbar,
    .exchange-content::-webkit-scrollbar,
    .notification-content::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
}

/* 模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal);
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: transform var(--duration-normal);
    box-shadow: var(--shadow-xl);
}

.modal.show .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-lg) var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.modal-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--duration-fast);
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-body {
    padding: var(--space-lg);
    max-height: 60vh;
    overflow-y: auto;
}

/* 表单组件 */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--duration-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 204, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-select {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2"><polyline points="6,9 12,15 18,9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* 按钮组件 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--duration-fast);
    position: relative;
    overflow: hidden;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-inverse);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

.btn-danger {
    background: var(--error-color);
    color: var(--text-inverse);
}

.btn-danger:hover {
    background: #DC2626;
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--text-lg);
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
}

/* 加载状态 */
.btn-loading {
    pointer-events: none;
}

.btn-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-loading .btn-text {
    opacity: 0;
}

/* 卡片组件 */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.card-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
}

.card-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    padding: var(--space-lg);
}

.card-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

/* 列表组件 */
.list {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.list-item {
    display: flex;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    transition: background-color var(--duration-fast);
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:hover {
    background: var(--bg-secondary);
}

.list-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-md);
    background: var(--bg-tertiary);
    color: var(--primary-color);
}

.list-item-content {
    flex: 1;
}

.list-item-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.list-item-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.list-item-action {
    margin-left: var(--space-md);
    color: var(--text-muted);
}

/* 标签组件 */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 1;
}

.tag-primary {
    background: rgba(0, 212, 204, 0.1);
    color: var(--primary-color);
}

.tag-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.tag-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.tag-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

/* 提示消息 */
.toast {
    position: fixed;
    top: var(--space-lg);
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-toast);
    opacity: 0;
    transition: all var(--duration-normal);
    max-width: 300px;
    width: 90%;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    gap: var(--space-md);
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon.success {
    background: var(--success-color);
    color: var(--text-inverse);
}

.toast-icon.error {
    background: var(--error-color);
    color: var(--text-inverse);
}

.toast-icon.warning {
    background: var(--warning-color);
    color: var(--text-inverse);
}

.toast-icon.info {
    background: var(--primary-color);
    color: var(--text-inverse);
}

.toast-message {
    font-size: var(--text-sm);
    color: var(--text-primary);
    font-weight: 500;
}

/* 开关组件 */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-tertiary);
    transition: var(--duration-fast);
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background: var(--bg-card);
    transition: var(--duration-fast);
    border-radius: 50%;
}

.switch-input:checked + .switch-slider {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.switch-input:checked + .switch-slider:before {
    transform: translateX(20px);
}

/* 进度条 */
.progress {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-full);
    transition: width var(--duration-normal);
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 分割线 */
.divider {
    height: 1px;
    background: var(--divider-color);
    margin: var(--space-lg) 0;
}

.divider-text {
    position: relative;
    text-align: center;
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin: var(--space-lg) 0;
}

.divider-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--divider-color);
    z-index: 1;
}

.divider-text span {
    background: var(--bg-secondary);
    padding: 0 var(--space-md);
    position: relative;
    z-index: 2;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--text-muted);
}

.empty-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--text-muted);
}

.empty-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.empty-desc {
    font-size: var(--text-sm);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

/* 选项卡 */
.tabs {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 4px;
    margin-bottom: var(--space-lg);
}

.tab-item {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--duration-fast);
}

.tab-item.active {
    background: var(--bg-card);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* 创建表单专用样式 */
.create-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.url-input-group {
    position: relative;
}

.url-input {
    padding-right: 80px;
}

.paste-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-md);
    padding: 6px 12px;
    font-size: var(--text-xs);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-fast);
}

.paste-btn:hover {
    background: var(--primary-dark);
}

.domain-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.domain-option {
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--duration-fast);
    background: var(--bg-primary);
}

.domain-option:hover {
    border-color: var(--primary-color);
}

.domain-option.active {
    border-color: var(--primary-color);
    background: rgba(0, 212, 204, 0.05);
    color: var(--primary-color);
}

.result-display {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
}

.result-url {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    word-break: break-all;
}

.result-actions {
    display: flex;
    gap: var(--space-sm);
}

.copy-btn {
    background: var(--primary-color);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-fast);
    flex: 1;
}

.copy-btn:hover {
    background: var(--primary-dark);
}

.share-btn {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-fast);
    flex: 1;
}

.share-btn:hover {
    border-color: var(--primary-color);
    background: rgba(0, 212, 204, 0.05);
}

/* ================================
   二维码弹窗样式
   ================================ */
.qrcode-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.qrcode-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.qrcode-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.qrcode-modal-content {
    background: var(--color-white);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.3s ease;
    position: relative;
    z-index: 1;
}

.qrcode-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-off-white);
}

.qrcode-modal-title {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--color-dark-gray);
    margin: 0;
}

.qrcode-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-light-gray);
    font-size: var(--font-md);
    transition: all var(--animation-fast);
}

.qrcode-modal-close:hover {
    background: var(--color-border);
    color: var(--color-dark-gray);
}

.qrcode-modal-body {
    padding: 24px;
}

.qrcode-url-display {
    margin-bottom: 24px;
    text-align: center;
}

.qrcode-url-label {
    font-size: var(--font-sm);
    color: var(--color-light-gray);
    margin-bottom: 8px;
    font-weight: 500;
}

.qrcode-url-text {
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--color-dark-gray);
    word-break: break-all;
    line-height: 1.4;
    background: var(--color-off-white);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.qrcode-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    margin-bottom: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
}

.qrcode-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-light-gray);
}

.qrcode-loading i {
    font-size: 24px;
    color: var(--color-medium-gray);
}

.qrcode-loading span {
    font-size: var(--font-sm);
}

.qrcode-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #ff4757;
}

.qrcode-error i {
    font-size: 24px;
}

.qrcode-error span {
    font-size: var(--font-sm);
}

.qrcode-canvas-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-canvas-wrapper canvas,
.qrcode-canvas-wrapper svg {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
}

.qrcode-actions {
    display: flex;
    gap: 12px;
}

.qrcode-btn {
    flex: 1;
    height: 52px !important;
    min-height: 52px !important;
    border: none;
    border-radius: 8px;
    font-size: var(--font-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--animation-fast);
    text-decoration: none;
    padding: 12px 16px;
}

.qrcode-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.qrcode-btn-download {
    background: var(--color-dark-gray);
    color: var(--color-white);
    height: 52px !important;
    min-height: 52px !important;
}

.qrcode-btn-download:hover:not(:disabled) {
    background: var(--color-black);
    transform: translateY(-1px);
}

.qrcode-btn-copy {
    background: var(--color-off-white);
    color: var(--color-dark-gray);
    border: 1px solid var(--color-border);
    height: 52px !important;
    min-height: 52px !important;
}

.qrcode-btn-copy:hover {
    background: var(--color-lightest-gray);
    border-color: var(--color-medium-gray);
}

.qrcode-btn i {
    font-size: var(--font-sm);
}

/* 使用ID选择器确保样式优先级最高 */
#qrcodeDownloadBtn,
#qrcodeCopyBtn {
    height: 52px !important;
    min-height: 52px !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
    line-height: 1.2 !important;
}

/* 极高优先级选择器 - 调试用 */
.qrcode-modal #qrcodeDownloadBtn,
.qrcode-modal #qrcodeCopyBtn,
div#qrcodeDownloadBtn,
div#qrcodeCopyBtn,
button#qrcodeDownloadBtn,
button#qrcodeCopyBtn {
    height: 52px !important;
    min-height: 52px !important;
    max-height: none !important;
    padding: 14px 16px !important;
    line-height: 1.2 !important;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .qrcode-modal-content {
        max-width: 100%;
        margin: 0 16px;
        border-radius: 12px;
    }
    
    .qrcode-modal-header {
        padding: 16px 20px;
    }
    
    .qrcode-modal-body {
        padding: 20px;
    }
    
    .qrcode-container {
        min-height: 200px;
        padding: 16px;
    }
    
    .qrcode-canvas-wrapper canvas,
    .qrcode-canvas-wrapper svg {
        max-width: 160px;
        max-height: 160px;
    }
    
    .qrcode-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .qrcode-btn {
        height: 48px !important;
        min-height: 48px !important;
        padding: 10px 14px;
    }
    
    /* 移动端ID选择器 */
    #qrcodeDownloadBtn,
    #qrcodeCopyBtn,
    .qrcode-modal #qrcodeDownloadBtn,
    .qrcode-modal #qrcodeCopyBtn,
    button#qrcodeDownloadBtn,
    button#qrcodeCopyBtn {
        height: 48px !important;
        min-height: 48px !important;
        max-height: none !important;
        padding: 12px 14px !important;
        line-height: 1.2 !important;
    }
}