/* 夸克网盘下载按钮样式 */

.quark-download-container {
    margin: 20px 0;
    text-align: left;
}

.quark-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
    text-align: center;
}

.quark-download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.quark-download-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 按钮大小 */
.quark-size-small {
    padding: 6px 16px;
    font-size: 12px;
}

.quark-size-medium {
    padding: 8px 20px;
    font-size: 14px;
}

.quark-size-large {
    padding: 12px 28px;
    font-size: 16px;
}

/* 按钮样式 */
.quark-style-flat {
    border-radius: 4px;
}

.quark-style-rounded {
    border-radius: 25px;
}

.quark-style-outline {
    background-color: transparent !important;
    border: 2px solid;
    color: inherit;
}

.quark-style-outline:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* 图标样式 */
.quark-download-button i {
    margin-right: 8px;
    font-size: 16px;
}

.quark-size-small i {
    font-size: 14px;
}

.quark-size-large i {
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .quark-download-button {
        width: 100%;
        justify-content: center;
    }
}

/* 提示弹窗样式 - 增强版 */
.quark-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quark-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.quark-modal {
    background-color: white;
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 添加装饰元素 */
.quark-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E88E5, #42A5F5);
}

.quark-modal-overlay.show .quark-modal {
    transform: scale(1);
}

.quark-modal-icon {
    font-size: 60px;
    margin-bottom: 20px;
    color: #1E88E5;
}

.quark-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.quark-modal-message {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #666;
}

.quark-modal-button {
    background-color: #1E88E5;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quark-modal-button:hover {
    background-color: #1565C0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

/* 关闭按钮样式 */
.quark-close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background-color: #f8f9fa;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.quark-close-button:hover {
    background-color: #e9ecef;
    transform: rotate(90deg);
}

.quark-close-button::before,
.quark-close-button::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background-color: #666;
    border-radius: 1px;
}

.quark-close-button::before {
    transform: rotate(45deg);
}

.quark-close-button::after {
    transform: rotate(-45deg);
}

/* 二维码容器样式 */
.quark-qr-container {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: inline-block;
    width: 100%;
    max-width: 180px;
    box-sizing: border-box;
}

.quark-qr-code {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.quark-qr-container p {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0;
}

/* 下载按钮标题样式 */
.quark-download-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    text-align: left;
}

/* 下载按钮分隔线样式 */
.quark-download-divider {
    height: 2px;
    background: linear-gradient(90deg, #1E88E5, #42A5F5);
    margin-bottom: 15px;
    border-radius: 1px;
}