/* 
 * 文档复制下载收费插件 - 前端样式
 * 版本: 1.0.4 - 修复类名冲突和添加前缀
 */

/* 重置和基础样式 */
* html, * html body {
    background-image: url(about:blank);
    background-attachment: fixed;
}

/* 字体图标基础样式 */
.dpp-icon {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* 下载文档样式 - 修复：添加dpp前缀避免冲突 */
.dpp-download-word {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 30px auto 10px;
    padding: 0 2%;
    width: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
}

.dpp-download-word:hover {
    color: inherit;
}

.dpp-download-card {
    position: relative;
    padding-bottom: 5px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    background: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.dpp-download-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #478ede;
    transform: translateY(-2px);
}

.dpp-download-card-nr {
    margin: 10px 10px;
    padding: 0 200px 10px 90px;
    height: 80px;
    border-top: none;
    position: relative;
    min-height: 80px;
}

.dpp-download-card-nr::before {
    content: '\f1c2';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    top: -28px;
    font-size: 80px;
    color: #2b5797;
    opacity: 0.8;
}

.dpp-download-card-bt {
    display: block;
    overflow: hidden;
    margin: 0 auto;
    height: 34px;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    font-size: 18px;
    line-height: 34px;
    color: #333;
}

.dpp-download-card-msg {
    display: block;
    overflow: hidden;
    height: 28px;
    color: #e7805c;
    text-overflow: ellipsis;
    font-size: 15px;
    line-height: 28px;
    white-space: nowrap;
}

.dpp-download-card-tj {
    position: relative;
    float: left;
    width: 100%;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dpp-download-card-tj span {
    color: #999;
    font-size: 15px;
    line-height: 24px;
}

.dpp-star-rating {
    display: flex;
    gap: 2px;
}

.dpp-star-rating i {
    color: #ffc107;
    font-size: 14px;
}

.dpp-download-card-btn {
    position: absolute;
    top: 18px;
    right: 20px;
    bottom: 40px;
    float: right;
    padding-top: 14px;
    padding-right: 10px;
    padding-left: 40px;
    width: 180px;
    height: 65px;
    border-radius: 6px;
    background: center center #478ede;
    background-image: linear-gradient(315deg, #478ede 0, #4fbcfd 100%);
    background-size: 104% 104%;
    color: #fff;
    line-height: 20px;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    outline: none;
    user-select: none;
}

.dpp-download-card-btn:hover {
    color: #fff;
    background: center center #4fbcfd;
    background-image: linear-gradient(315deg, #4fbcfd 0, #478ede 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(71, 142, 222, 0.3);
}

.dpp-download-card-btn:active {
    transform: translateY(0);
}

.dpp-download-card-btn h5 {
    font-weight: 900;
    font-size: 20px;
    line-height: 24px;
    margin: 0;
}

.dpp-download-card-btn span {
    display: block;
    text-align: right;
    margin-top: 2px;
    margin-right: 5px;
}

.dpp-download-card-btn i {
    position: absolute;
    top: 18px;
    left: 14px;
    font-size: 24px;
    color: #fff;
}

/* 左侧浮动按钮 - 修复：添加dpp前缀 */
.dpp-download-follow {
    position: fixed;
    top: 60%;
    left: calc(50% - 689px);
    transform: translateY(-50%);
    width: 60px;
    font-size: 12px;
    z-index: 9999;
    transition: left 0.3s ease;
}

.dpp-download-follow a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 5px;
    width: 60px;
    border-radius: 3px;
    background-color: #478ede;
    color: #fff;
    text-align: center;
    line-height: 18px;
    margin-bottom: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 12px;
    gap: 5px;
    border: none;
    outline: none;
}

.dpp-download-follow i {
    font-size: 30px;
    margin-bottom: 2px;
}

.dpp-download-follow a:nth-of-type(1) {
    background-color: #36ad9e;
}

.dpp-download-follow a:nth-of-type(2) {
    background-color: #478ede;
    margin-bottom: 0;
}

.dpp-download-follow a:hover {
    background: #f60;
    transform: translateX(5px);
}

/* 响应式调整 */
@media (max-width: 1400px) {
    .dpp-download-follow {
        left: calc(50% - 619px);
    }
}

@media (max-width: 1200px) {
    .dpp-download-follow {
        left: calc(50% - 589px);
    }
    
    .dpp-download-card-nr {
        padding: 0 180px 10px 80px;
    }
}

@media (max-width: 992px) {
    .dpp-download-follow {
        left: calc(50% - 519px);
    }
    
    .dpp-download-card-nr {
        padding: 0 160px 10px 70px;
    }
    
    .dpp-download-card-btn {
        width: 150px;
        padding-left: 35px;
    }
}

@media (max-width: 768px) {
    .dpp-download-follow {
        position: fixed;
        bottom: 20px;
        top: auto;
        left: 50%;
        margin-left: -100px;
        margin-top: 0;
        width: 200px;
        display: flex;
        gap: 10px;
        transform: translateX(-50%);
    }
    
    .dpp-download-follow a {
        flex: 1;
        width: auto;
        padding: 8px 5px;
        flex-direction: row;
        justify-content: center;
    }
    
    .dpp-download-follow i {
        margin-bottom: 0;
        margin-right: 5px;
    }
    
    .dpp-download-card-nr {
        padding: 0 150px 10px 70px;
    }
    
    .dpp-download-card-btn {
        width: 110px;
        padding-left: 30px;
        height: 60px;
        padding-top: 10px;
    }
}

@media (max-width: 480px) {
    .dpp-download-card-nr {
        padding: 0 120px 10px 60px;
        height: auto;
        min-height: 80px;
    }
    
    .dpp-download-card-btn {
        position: relative;
        top: auto;
        right: auto;
        float: none;
        margin: 10px auto;
        width: 200px;
        height: 65px;
        padding-top: 14px;
        padding-left: 40px;
    }
    
    .dpp-download-card-bt {
        font-size: 16px;
    }
    
    .dpp-download-card-msg {
        font-size: 14px;
    }
}

/* 弹窗样式 - 修复问题2 */
.webchat-alert {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99998;
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.7);
    text-indent: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    backdrop-filter: blur(5px);
    overflow-y: auto; /* 允许滚动 */
    padding: 20px; /* 添加内边距 */
    box-sizing: border-box; /* 确保内边距不影响尺寸 */
}

.webchat-alert.show {
    display: flex; /* 使用flex布局 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.zoomIn {
    position: relative; /* 改为相对定位 */
    z-index: 99999;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    animation: zoomIn 0.4s 0.1s ease both;
    width: 380px;
    max-height: 90vh; /* 限制最大高度 */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    /* 移除margin-top和margin-left，使用父容器的flex居中 */
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }
    50% {
        opacity: 1;
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}

.paybox {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    overflow-y: auto; /* 允许内容滚动 */
}

.paybox-title {
    display: inline-block;
    width: 100%;
    height: 40px;
    color: #00c250;
    font-weight: 700;
    font-size: 24px;
    line-height: 40px;
    margin-bottom: 5px;
}

.paybox-art {
    width: 100%;
    color: #a0a0a0;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 15px;
}

.payment-tabs {
    display: flex;
    margin: 10px 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background: #f8f9fa;
}

.payment-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.payment-tab.active {
    background: #00c250;
    color: white;
    font-weight: 600;
}

.payment-tab:not(:last-child) {
    border-right: 1px solid #e0e0e0;
}

.payment-tab:hover:not(.active) {
    background: #e9ecef;
}

.payment-option {
    display: none;
    flex: 1;
    min-height: 120px;
}

.payment-option.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.paybox-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    min-height: 100px;
    width: 100%;
}

.paybox-img img {
    max-width: 160px;
    max-height: 160px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    padding: 10px;
    background: white;
}

.dpp-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    gap: 10px;
}

.dpp-loading i {
    font-size: 40px;
    color: #00c250;
}

.dpp-loading p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.qrcode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    min-height: 100px;
    width: 100%;
    box-sizing: border-box;
}

.qrcode-tips {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.mobile-pay-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    min-height: 100px;
    width: 100%;
    box-sizing: border-box;
}

.mobile-pay-ready {
    text-align: center;
}

.mobile-pay-ready p {
    margin: 0;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.paybox-money {
    height: 40px;
    line-height: 40px;
    margin: 10px 0;
    font-size: 16px;
}

.paybox-money .current-price-box {
    display: inline;
    color: #f60;
    font-weight: 600;
    font-size: 18px;
}

.paybox-money .original-price-box {
    display: inline;
    padding-left: 10px;
    color: #949494;
    text-decoration: line-through;
    font-size: 14px;
}

.paybox-bottom {
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, #00c250 0%, #00a845 100%);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 44px;
    cursor: pointer;
    border: none;
    width: 100%;
    transition: all 0.3s ease;
    margin: 10px 0;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 194, 80, 0.3);
}

.paybox-bottom:hover {
    background: linear-gradient(135deg, #00a845 0%, #008c3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 194, 80, 0.4);
}

.paybox-bottom:active {
    transform: translateY(0);
}

.paybox-bottom:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.paybox-bottom:disabled:hover {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

.pay-service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding: 0 5px;
}

.pay-status {
    font-size: 13px;
    cursor: pointer;
    color: #00c250;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.pay-status:hover {
    color: #00a845;
}

.paybox-customer-service {
    color: #a2a2a2;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.paybox-customer-service:hover {
    color: #666;
}

.webchat-alert-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    color: white;
    font-size: 14px;
}

.webchat-alert-close:hover {
    background: rgba(0,0,0,0.3);
    transform: scale(1.1);
}

/* 成功提示 */
.payment-success {
    display: none;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-success i {
    font-size: 48px;
    color: #00c250;
    margin-bottom: 15px;
    animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.payment-success h3 {
    color: #00c250;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
}

.payment-success p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.continue-button {
    background: linear-gradient(135deg, #00c250 0%, #00a845 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 200px;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 194, 80, 0.3);
}

.continue-button:hover {
    background: linear-gradient(135deg, #00a845 0%, #008c3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 194, 80, 0.4);
}

.continue-button:active {
    transform: translateY(0);
}

/* 复制保护提示 */
.copy-protection-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff4444;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 10000;
    display: none;
    box-shadow: 0 4px 20px rgba(255, 68, 68, 0.3);
    animation: slideInRight 0.3s ease;
    max-width: 300px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.copy-protection-message.show {
    display: block;
}

.copy-protection-message i {
    margin-right: 8px;
}

/* 支付宝表单样式 */
.alipay-form-container {
    width: 100%;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.alipay-pc-payment {
    text-align: center;
}

.alipay-pc-payment i {
    font-size: 50px;
    color: #1677ff;
    margin-bottom: 15px;
}

.alipay-pc-payment p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 16px;
}

.alipay-form-container .payment-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin: 15px 0;
    text-align: left;
}

.alipay-submit-btn {
    background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
    outline: none;
    box-shadow: 0 4px 15px rgba(22, 119, 255, 0.3);
}

.alipay-submit-btn:hover {
    background: linear-gradient(135deg, #0958d9 0%, #003eb3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 119, 255, 0.4);
}

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

.alipay-redirect-btn {
    background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
    outline: none;
    box-shadow: 0 4px 15px rgba(22, 119, 255, 0.3);
}

.alipay-redirect-btn:hover {
    background: linear-gradient(135deg, #0958d9 0%, #003eb3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 119, 255, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .zoomIn {
        width: 90%;
        max-width: 400px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .paybox {
        padding: 20px;
        min-height: 400px;
    }
    
    .paybox-title {
        font-size: 22px;
    }
    
    .paybox-art {
        font-size: 14px;
    }
    
    .payment-tab {
        padding: 10px;
        font-size: 13px;
    }
    
    .paybox-img {
        min-height: 80px;
    }
    
    .paybox-img img {
        max-width: 140px;
        max-height: 140px;
    }
    
    .paybox-money {
        font-size: 14px;
    }
    
    .paybox-bottom {
        font-size: 16px;
        height: 40px;
        line-height: 40px;
    }
    
    .continue-button {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .zoomIn {
        width: 95%;
        max-width: 350px;
        max-height: 90vh;
    }
    
    .paybox {
        padding: 15px;
    }
    
    .paybox-title {
        font-size: 20px;
        height: 30px;
        line-height: 30px;
    }
    
    .paybox-art {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .payment-tabs {
        margin: 5px 0 10px;
    }
    
    .payment-tab {
        padding: 8px;
        font-size: 12px;
    }
    
    .paybox-img {
        margin: 5px 0;
    }
    
    .paybox-img img {
        max-width: 120px;
        max-height: 120px;
    }
    
    .dpp-loading {
        height: 80px;
    }
    
    .dpp-loading i {
        font-size: 30px;
    }
    
    .qrcode-container {
        padding: 10px;
    }
    
    .mobile-pay-info {
        padding: 15px;
    }
    
    .paybox-money {
        margin: 8px 0;
        font-size: 13px;
    }
    
    .paybox-bottom {
        margin: 8px 0;
        height: 38px;
        line-height: 38px;
        font-size: 15px;
    }
    
    .continue-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .payment-success {
        padding: 20px;
    }
    
    .payment-success i {
        font-size: 36px;
    }
    
    .payment-success h3 {
        font-size: 18px;
    }
}

/* 文章内容保护样式 */
.dpp-protected-content {
    position: relative;
}

.dpp-protected-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.dpp-protected-content.protected-active::after {
    display: none;
}

/* 工具提示 */
.dpp-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.dpp-tooltip .dpp-tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 10000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.dpp-tooltip .dpp-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.dpp-tooltip:hover .dpp-tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* 倒计时样式 */
.dpp-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
    margin: 10px 0;
}

.dpp-countdown-item {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 5px 8px;
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

/* 价格对比样式 */
.dpp-price-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 15px 0;
}

.dpp-price-original-badge {
    position: relative;
    padding: 8px 15px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    color: #999;
}

.dpp-price-original-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    right: -10px;
    height: 2px;
    background: #ff4444;
    transform: rotate(-15deg);
}

.dpp-price-current-badge {
    padding: 10px 20px;
    background: linear-gradient(135deg, #00c250 0%, #00a845 100%);
    border-radius: 8px;
    font-size: 18px;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 194, 80, 0.3);
}

/* 优惠券样式 */
.dpp-coupon {
    background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    margin: 10px 0;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* 安全提示 */
.dpp-security-note {
    background: #e8f4fd;
    border-left: 4px solid #478ede;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 13px;
    color: #2c3e50;
}

.dpp-security-note i {
    color: #478ede;
    margin-right: 5px;
}

/* 免费模式提示 */
.dpp-free-mode-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #00c250;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 10000;
    display: none;
    box-shadow: 0 4px 20px rgba(0, 194, 80, 0.3);
    animation: slideInRight 0.3s ease;
    max-width: 300px;
}

.dpp-free-mode-message.show {
    display: block;
}

.dpp-free-mode-message i {
    margin-right: 8px;
}

/* 消息提示样式 */
.dpp-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10001;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dpp-message.show {
    transform: translateX(0);
    opacity: 1;
}

.dpp-message-success {
    background: linear-gradient(135deg, #00c250 0%, #00a845 100%);
}

.dpp-message-error {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
}

.dpp-message-warning {
    background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
}