/* Guide Layout */
.guide-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    max-width: none;
    margin: 0;
}

/* Sidebar */
.sidebar {
    background: var(--bg-light);
    border-right: 1px solid var(--border-color);
    padding: 30px 20px;
    position: sticky;
    top: 73px;
    height: calc(100vh - 73px);
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 600;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section ul li {
    margin-bottom: 4px;
}

.sidebar-section a {
    display: block;
    padding: 8px 12px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.9375rem;
}

.sidebar-section a:hover {
    background: rgba(33, 150, 243, 0.1);
    color: var(--primary-color);
}

.sidebar-section a.active {
    background: var(--primary-color);
    color: white;
    font-weight: 500;
}

/* Guide Content */
.guide-content {
    padding: 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
}

.guide-content h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.guide-content .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.guide-content h2 {
    font-size: 1.875rem;
    color: var(--text-color);
    margin-top: 48px;
    margin-bottom: 20px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.guide-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 600;
}

.guide-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.guide-content ul,
.guide-content ol {
    margin-bottom: 20px;
    padding-left: 28px;
}

.guide-content li {
    line-height: 1.8;
    margin-bottom: 8px;
}

.guide-content code {
    background: var(--code-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.875em;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    color: #d73a49;
}

.guide-content pre {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 24px;
}

.guide-content pre code {
    background: none;
    color: #d4d4d4;
    padding: 0;
}

/* Info Boxes */
.info-box,
.warning-box,
.success-box,
.help-box {
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid var(--primary-color);
}

.info-box i {
    color: var(--primary-color);
    font-size: 24px;
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid var(--warning-color);
}

.warning-box i {
    color: var(--warning-color);
    font-size: 24px;
}

.success-box {
    background: #e8f5e9;
    border-left: 4px solid var(--success-color);
}

.success-box i {
    color: var(--success-color);
    font-size: 24px;
}

.help-box {
    background: #f3e5f5;
    border-left: 4px solid #9c27b0;
}

.help-box i {
    color: #9c27b0;
    font-size: 24px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: -1px;
    margin-top: 24px;
}

.tab-button {
    padding: 10px 20px;
    background: var(--bg-light);
    border: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.2s;
}

.tab-button:hover {
    background: #e0e0e0;
    color: var(--text-color);
}

.tab-button.active {
    background: #1e1e1e;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Next Steps Grid */
.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.next-step-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.next-step-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.next-step-card i {
    font-size: 32px;
    color: var(--primary-color);
}

.next-step-card h3 {
    margin: 0;
    font-size: 1.25rem;
}

.next-step-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* Table Styles */
.guide-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.guide-content table th,
.guide-content table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.guide-content table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-color);
}

.guide-content table tr:hover {
    background: var(--bg-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .guide-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .guide-content {
        padding: 30px 20px;
    }
}

@media (max-width: 640px) {
    .guide-content h1 {
        font-size: 2rem;
    }

    .guide-content h2 {
        font-size: 1.5rem;
    }

    .guide-content h3 {
        font-size: 1.25rem;
    }

    .next-steps-grid {
        grid-template-columns: 1fr;
    }

    .tabs {
        overflow-x: auto;
    }

    .tab-button {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
}
