/* cPanel > Docs. Trang đọc: chữ rõ, bảng gọn, IO/công thức dùng font mono. */

.docs-intro { font-size: 13px; color: #555; margin: 4px 0 12px; }
.docs-muted { color: #888; }

.docs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.docs-card { display: block; padding: 12px 14px; border: 1px solid #e0e0e0; border-radius: 6px; background: #fff; color: inherit; text-decoration: none; }
a.docs-card:hover { border-color: #f39200; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.docs-card.is-pending { background: #fafafa; color: #888; }
.docs-card-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.docs-card-summary { font-size: 12px; line-height: 1.5; }
.docs-badge { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 3px; background: #eee; color: #777; font-size: 10px; font-weight: 500; text-transform: uppercase; vertical-align: middle; }

.docs-layout { display: flex; gap: 20px; align-items: flex-start; }
.docs-nav { flex: 0 0 180px; position: sticky; top: 8px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.docs-nav-home { font-weight: 600; color: #333; margin-bottom: 6px; }
.docs-nav-item { padding: 4px 8px; border-radius: 4px; color: #444; text-decoration: none; }
.docs-nav-item.is-active { background: #fff3e0; color: #e65100; font-weight: 600; }
.docs-nav-item.is-pending { color: #aaa; }

.docs-body { flex: 1 1 auto; min-width: 0; max-width: 1100px; font-size: 13px; line-height: 1.6; color: #222; }
.docs-title { font-size: 22px; font-weight: 600; margin: 0 0 8px; }
.docs-body h2 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; padding-bottom: 4px; border-bottom: 1px solid #eee; }
.docs-body h3 { font-size: 14px; font-weight: 600; margin: 16px 0 6px; }
.docs-body p { margin: 6px 0; }
.docs-body ul, .docs-body ol { margin: 6px 0 6px 20px; padding: 0; }
.docs-body ul { list-style: disc; }
.docs-body ol { list-style: decimal; }
.docs-body li { margin: 2px 0; }
.docs-body code { font-family: Consolas, Menlo, monospace; font-size: 12px; background: #f5f5f5; padding: 0 4px; border-radius: 3px; }
.docs-body pre { font-family: Consolas, Menlo, monospace; font-size: 12px; background: #f7f7f7; border: 1px solid #eee; border-radius: 4px; padding: 8px 10px; overflow-x: auto; white-space: pre; }

.docs-table-wrap { overflow-x: auto; margin: 8px 0; }
.docs-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.docs-table th, .docs-table td { border: 1px solid #e6e6e6; padding: 5px 8px; text-align: left; vertical-align: top; }
.docs-table th { background: #fafafa; font-weight: 600; white-space: nowrap; }

.docs-note { margin: 10px 0; padding: 8px 12px; border-left: 3px solid #1565c0; background: #f3f8fd; }
.docs-warn { margin: 10px 0; padding: 8px 12px; border-left: 3px solid #ef6c00; background: #fff8ef; }
.docs-toc { margin: 8px 0 12px; padding: 8px 12px; background: #fafafa; border: 1px solid #eee; border-radius: 4px; }
.docs-toc a { color: #1565c0; }

@media (max-width: 768px) {
    .docs-layout { flex-direction: column; }
    .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; flex-basis: auto; }
}

/* Docs sửa được trên web (help_pages, 2026-11-09). */
.docs-nav-item.is-child { padding-left: 20px; font-size: 12px; }
.docs-nav-item .docs-badge { margin-left: 4px; }
.docs-badge.is-customer { background: #e3f2fd; color: #1565c0; }
.docs-nav-actions { margin-top: 12px; padding-top: 8px; border-top: 1px solid #eee; display: flex; flex-direction: column; gap: 6px; }
.docs-nav-link { color: #555; font-size: 12px; text-decoration: none; }
.docs-nav-link:hover { color: #e65100; }

.docs-flash { margin: 0 0 10px; padding: 8px 12px; border-left: 3px solid #2e7d32; background: #f1f8f1; }
.docs-flash.is-error { border-left-color: #c62828; background: #fdf2f2; color: #8e1c1c; }

.docs-page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.docs-page-actions { display: flex; align-items: center; gap: 6px; }
.docs-meta { color: #888; font-size: 12px; margin-bottom: 12px; }

.docs-content img { max-width: 100%; height: auto; }
.docs-content table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 8px 0; }
.docs-content th, .docs-content td { border: 1px solid #e6e6e6; padding: 5px 8px; text-align: left; vertical-align: top; }
.docs-content th { background: #fafafa; font-weight: 600; }
.docs-content blockquote { margin: 10px 0; padding: 8px 12px; border-left: 3px solid #1565c0; background: #f3f8fd; }
.docs-content a { color: #1565c0; text-decoration: underline; }

.docs-form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 14px; margin-bottom: 12px; }
.docs-field { display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.docs-field > span { font-weight: 600; color: #444; }
.docs-field small { color: #888; font-size: 11px; }
.docs-field input, .docs-field select { width: 100%; padding: 5px 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 13px; }
.docs-field-wide { grid-column: 1 / -1; }
.docs-form-actions { display: flex; gap: 8px; margin-top: 12px; }
.docs-delete-form { margin-top: 18px; }
.docs-inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.docs-inline-form select { min-width: 320px; }

/* Panel "Software version" của khách: iframe tới /help/embed. */
.help-panel-frame { display: block; width: 100%; height: calc(100vh - 110px); border: 0; background: #fff; }
