/*  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
    SPDX-License-Identifier: Apache-2.0 */

:root {
    --amplify-primary-color: #0073bb;
    --amplify-primary-tint: #005a9f;
    --amplify-primary-shade: #4da6d9;
    --amplify-background-color: #f8f9fa;
    --amplify-text-xxs: 0.75rem;
    --amplify-text-xs: 0.81rem;
    --amplify-text-sm: 1.2rem;
    --amplify-text-md: 1.5rem;
    --amplify-text-md-sub: 1.7rem;
    --amplify-text-lg: 1.5rem;
    --amplify-text-xl: 2rem;
    --amplify-text-xxl: 2.5rem;
}

/* Markdown table styles */
.markdown-viewer table {
    border-collapse: collapse;
    width: 100%;
    margin: 16px 0;
    font-size: 14px;
}

.markdown-viewer thead {
    background-color: #f1f1f1;
}

.markdown-viewer th {
    font-weight: bold;
    text-align: left;
}

.markdown-viewer th,
.markdown-viewer td {
    padding: 8px 12px;
    border: 1px solid #ddd;
}

.markdown-viewer tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Center align cells with emoji */
.markdown-viewer td:has(span) {
    text-align: center;
}

/* Ensure tables take up appropriate space */
.markdown-viewer .prose {
    max-width: 100%;
}
