/* 平台说明文档样式 */

.guide-button {
    display: flex;
    align-items: center;
    background-color: transparent;
    color: #e4e6eb;
    border: none;
    padding: 5px 10px;
    margin-right: 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.guide-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.guide-button i {
    margin-right: 5px;
    font-size: 18px;
}

.guide-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fade-in 0.3s ease;
}

.guide-modal.fade-out {
    animation: fade-out 0.3s ease;
}

.guide-modal-content {
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    background-color: #1a2131;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: slide-up 0.3s ease;
}

.guide-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #394151;
}

.guide-modal-header h2 {
    color: #e4e6eb;
    margin: 0;
    font-size: 1.5rem;
}

.guide-close-btn {
    background: transparent;
    border: none;
    color: #a0a8b7;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-close-btn:hover {
    color: #e4e6eb;
}

.guide-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

/* 适配深色主题的Markdown样式 */
.guide-modal .markdown-body {
    color: #e4e6eb;
    background-color: transparent;
}

.guide-modal .markdown-body h1,
.guide-modal .markdown-body h2,
.guide-modal .markdown-body h3 {
    color: #64b5f6;
    border-bottom-color: #394151;
    padding-bottom: 0.3em;
    margin-top: 1.5em;
}

.guide-modal .markdown-body h1 {
    font-size: 1.8em;
}

.guide-modal .markdown-body h2 {
    font-size: 1.5em;
}

.guide-modal .markdown-body h3 {
    font-size: 1.3em;
}

.guide-modal .markdown-body p,
.guide-modal .markdown-body li {
    color: #e4e6eb;
}

.guide-modal .markdown-body a {
    color: #64b5f6;
}

.guide-modal .markdown-body code {
    background-color: rgba(255, 255, 255, 0.1);
    color: #e4e6eb;
}

.guide-modal .markdown-body pre {
    background-color: #252f3f;
    border: 1px solid #394151;
}

.guide-modal .markdown-body blockquote {
    color: #a0a8b7;
    border-left-color: #394151;
}

.guide-modal .markdown-body strong {
    color: #ffeb3b;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* 添加以下样式到已有的CSS文件中 */

/* 调研二维码样式 */
.guide-modal .markdown-body img {
    display: block;
    max-width: 200px;
    margin: 20px auto;
    border: 1px solid #394151;
    border-radius: 4px;
    padding: 10px;
    background-color: white;
}

.guide-modal .markdown-body img + em {
    display: block;
    text-align: center;
    color: #a0a8b7;
    font-style: italic;
    margin-top: 10px;
}