﻿.teach-container {
    display: flex !important;
    flex-wrap: nowrap !important; /* 1. 強制不換行 */
    gap: 20px !important;
    width: 100% !important;
}

.teach-left-container {
    flex: 0 0 calc(80% - 14px) !important;
    min-width: 0 !important; /* 防止內容撐開 */
}

.teach-right-container {
    flex: 0 0 calc(20% - 6px) !important;
    min-width: 0 !important; /* 防止內容撐開 */
    background-color: #ffffff;
}

.manual-main {
    color: #e2e8f0;
}

/* 主容器卡片

/
/** 主容器卡片 */
.step-card {
    background: #1e2230;
    border: 1px solid #2d3348;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    max-width: 900px;
    width: 100%;
    padding: 28px;
    box-sizing: border-box;
}

/* 標題樣式 */
.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 12px;
}

.step-title::before {
    content: "📍";
    font-size: 1.4rem;
}

/* 步驟列表結構 */
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 單一步驟項目 */
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #252a3d;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-item:hover {
    transform: translateX(4px);
    border-left-color: #60a5fa;
}

/* 步驟數字標籤 */
.step-number {
    background: #3b82f6;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.9rem;
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 步驟內容 */
.step-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.step-content strong {
    color: #f8fafc;
}

/* 快捷鍵與重點高亮按鈕標籤 */
.key {
    background: #334155;
    border: 1px solid #475569;
    border-bottom: 2px solid #475569;
    color: #38bdf8;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
    font-weight: bold;
}

.btn-tag {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    font-weight: 600;
}

/* 內部子點項目 */
.sub-steps {
    margin: 8px 0 0 0;
    padding-left: 18px;
    color: #94a3b8;
    font-size: 0.95rem;
}

.sub-steps li {
    margin-bottom: 4px;
}
