/* How To Use Guide Styling */
.guide-modal {
    max-width: 650px !important;
    width: 90%;
}

.guide-body {
    padding: 1.5rem !important;
    max-height: 70vh;
    overflow-y: auto;
}

.guide-section {
    margin-bottom: 2rem;
}

.guide-section h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent-color);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.guide-section h4 i {
    font-size: 1.25rem;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.guide-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    opacity: 0.7;
    font-weight: bold;
}

.guide-list strong {
    color: var(--text-primary);
    font-weight: 600;
}

.divider-hor {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 1.5rem 0;
}

/* Keyboard Shortcuts Grid */
.keyboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: var(--bg-hover);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.kb-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.kb-row kbd {
    background: var(--bg-active);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-family: inherit;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 2px 0 var(--border-color);
    min-width: 70px;
    text-align: center;
}

.kb-row span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Scrollbar for Guide */
.guide-body::-webkit-scrollbar {
    width: 6px;
}

.guide-body::-webkit-scrollbar-track {
    background: transparent;
}

.guide-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .guide-body {
        padding: 1rem !important;
    }

    .keyboard-grid {
        grid-template-columns: 1fr;
    }
}