.nh-docs {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.nh-docs-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.nh-docs-filter input[type="text"],
.nh-docs-filter select {
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.nh-docs-filter button {
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: #0ea5e9;
    color: #fff;
    cursor: pointer;
}

.nh-docs-table {
    width: 100%;
    border-collapse: collapse;
}

.nh-docs-table th,
.nh-docs-table td {
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.nh-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.nh-doc-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    background: #f8fafc;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 10px;
}

.nh-doc-card-folder {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
    border-color: #d9e2ec;
    box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(0, 0, 0, 0.04);
}

.nh-doc-card-folder:hover {
    transform: translateY(-2px);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.nh-doc-actions a {
    margin-right: 10px;
    text-decoration: none;
    color: #0ea5e9;
    font-weight: 600;
}

.nh-doc-thumb-wrapper {
    display: block;
    width: 100%;
    height: 100%;
}

.nh-doc-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background: #e2e8f0;
    min-height: 88px;
}

.nh-doc-thumb-placeholder {
    background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nh-doc-thumb-placeholder::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 6px;
    width: 28px;
    height: 12px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(135deg, #fde047 0%, #fbbf24 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nh-doc-thumb-icon,
.nh-doc-thumb-placeholder {
    background-size: 48px;
    background-repeat: no-repeat;
    background-position: center;
}

.nh-doc-card-body h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
}

.nh-doc-meta,
.nh-doc-date {
    margin: 0 0 4px 0;
    color: #475569;
    font-size: 13px;
}

.nh-docs-pagination {
    margin-top: 12px;
}

.nh-docs-demo .nh-doc-card {
    border-style: dashed;
}

.nh-doc-demo-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-weight: 700;
    font-size: 12px;
}

.nh-docs-remote {
    margin-top: 16px;
    padding: 14px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.nh-docs-remote__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.nh-docs-remote__title {
    margin: 0;
    font-weight: 700;
    font-size: 15px;
}

.nh-docs-remote__subtitle {
    margin: 2px 0 0 0;
    font-size: 13px;
    color: #475569;
}

.nh-docs-remote__badge {
    background: #fee2e2;
    color: #b91c1c;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.nh-docs-remote__text {
    margin: 4px 0 10px 0;
    color: #475569;
    font-size: 13px;
}

.nh-docs-remote__list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    display: grid;
    gap: 10px;
}

.nh-docs-remote__folders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px;
    margin: 10px 0 12px 0;
}

.nh-docs-remote__folder {
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
    box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(0, 0, 0, 0.04);
    padding: 10px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.nh-docs-remote__folder:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.nh-docs-remote__folder-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: flex-start;
}

.nh-docs-remote__folder-icon {
    width: 38px;
    height: 32px;
    border-radius: 6px 6px 4px 4px;
    background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
    display: inline-block;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nh-docs-remote__folder-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 4px;
    width: 18px;
    height: 8px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(135deg, #fde047 0%, #fbbf24 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nh-docs-remote__item-title {
    font-weight: 700;
    font-size: 14px;
    margin: 0;
}

.nh-docs-remote__item-sub {
    margin: 2px 0 0 0;
    color: #475569;
    font-size: 13px;
}

.nh-docs-remote__tag {
    background: #fee2e2;
    color: #b91c1c;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.nh-docs-remote__cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nh-docs-remote__btn {
    border: 1px solid #cbd5e1;
    background: #e2e8f0;
    color: #475569;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: not-allowed;
    font-weight: 600;
}
