/* 创建按钮样式 */
.create-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.create-btn {
    position: relative;
    background: linear-gradient(45deg, #17a2b8, #003366);
    border: none;
    border-radius: 50px;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
    overflow: hidden;
}

.create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
}

.create-btn:active {
    transform: translateY(0);
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* AI标签 */
.ai-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    background: linear-gradient(90deg, #17a2b8, #9b42f5, #00ff9d, #17a2b8);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 右侧按钮组 */
.right-buttons {
    display: flex;
    gap: 12px;
}

.preview-btn, .download-btn {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #6c757d;
    cursor: not-allowed;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.preview-btn:hover, .download-btn:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 按钮禁用状态 */
.create-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.create-btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .create-button-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .create-btn {
        padding: 14px 36px;
        font-size: 16px;
    }
    
    .right-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .preview-btn, .download-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

.preview-btn:not(:disabled), .download-btn:not(:disabled) {
    cursor: pointer !important;
}

.preview-btn:not(:disabled):hover, .download-btn:not(:disabled):hover {
    cursor: pointer !important;
    opacity: 0.9;
}

/* 确保启用状态的按钮显示正确的光标 */
.preview-btn[style*="background-color"], .download-btn[style*="background-color"] {
    cursor: pointer !important;
}