/* Example tables: up to 1250px wide, aligned to the left edge of the text column. */
.uc-example {
    width: 100%;
    max-width: 1250px;
    margin-left: 0;
    margin-right: auto;
    align-self: flex-start;
}

.uc-preview {
    max-width: 1250px;
    margin: 0 auto 0 0;
    align-self: flex-start;
    overflow-x: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.uc-preview__table {
    width: 100%;
    border-collapse: collapse;
    font-family: Roboto, sans-serif;
    font-size: 0.95rem;
}

    .uc-preview__table th,
    .uc-preview__table td {
        padding: 8px 12px;
        text-align: left;
        white-space: nowrap;
        border-bottom: 1px solid #eee;
    }

    .uc-preview__table th {
        background: #2E7D32;
        color: #fff;
        font-weight: 600;
    }

    .uc-preview__table tbody tr:nth-child(even) {
        background: #f7f9f7;
    }

.uc-btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    font-weight: 600;
    color: #fff !important;
    background: #2E7D32;
    border-radius: 8px;
    text-decoration: none !important;
}

    .uc-btn:hover {
        background: #256528;
    }

.uc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.uc-chip {
    padding: 4px 12px;
    background: #fff;
    border: 1px solid #cfd8cf;
    border-radius: 999px;
    font-size: 1rem;
}

.uc-pricing {
    margin-top: 30px;
    padding: 16px 20px;
    border: 1px solid #cfd8cf;
    border-radius: 8px;
    background: #f4f8f4;
    font-family: Roboto, sans-serif;
}

.uc-pricing__text {
    margin: 0 0 4px 0;
    font-size: 1.2em;
}

.uc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.uc-card {
    display: block;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

    .uc-card:hover {
        border-color: #2E7D32;
    }

.uc-card__title {
    font-size: 1.3rem;
    margin: 0 0 8px 0;
}

.uc-card__text {
    margin: 0 0 10px 0;
}

.uc-card__link {
    color: #2E7D32;
    font-weight: 600;
}

@media (max-width: 480px) {
    .uc-preview__table {
        font-size: 0.85rem;
    }
}
