/* Mô tả SP digital — code copy, FAQ accordion, bảng */

.revidapi-product-body {
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
}

.revidapi-product-body h2 {
    margin: 28px 0 12px;
    font-size: 22px;
    color: #111827;
}

.revidapi-product-body h3 {
    margin: 0;
    font-size: 16px;
}

.revidapi-product-body p {
    margin: 0 0 12px;
}

.revidapi-product-body ul,
.revidapi-product-body ol {
    margin: 0 0 16px 1.2em;
}

.revidapi-product-body a {
    color: #15803d;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.revidapi-product-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 18px;
    font-size: 14px;
}

.revidapi-product-body th,
.revidapi-product-body td {
    border: 1px solid #e5e7eb;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.revidapi-product-body th {
    background: #f9fafb;
    font-weight: 600;
}

/* Code block + copy */
.revidapi-code-block {
    margin: 12px 0 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.revidapi-code-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    background: #f1f5f9;
    border-bottom: 1px solid #e5e7eb;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.revidapi-code-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #15803d;
    padding: 0;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.revidapi-code-copy svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.revidapi-code-copy:hover {
    background: #f0fdf4;
    border-color: #15803d;
}

.revidapi-code-copy.is-copied {
    color: #166534;
    border-color: #86efac;
    background: #ecfdf5;
}

.revidapi-code-block pre {
    margin: 0;
    padding: 14px 12px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.45;
    color: #1e293b;
    background: #f8fafc;
}

.revidapi-code-block code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    white-space: pre;
}

.revidapi-product-body .revidapi-faq-item {
    margin-bottom: 14px;
}

.revidapi-product-body .revidapi-faq-item h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.revidapi-product-body .revidapi-faq-item p {
    margin: 0 0 4px;
    color: #4b5563;
}
