/* Styled Table Wrapper - Frontend Styles */

/* Scope styles to only tables placed inside your wrapper */
.styled-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.styled-table-wrapper th,
.styled-table-wrapper td {
    border: 1px solid #e5e7eb;
    padding: 12px;
    vertical-align: top;
    text-align: left;
}

.styled-table-wrapper thead th {
    font-weight: 600;
    background-color: #f9fafb;
    color: #111827;
}

.styled-table-wrapper tbody tr:nth-child(odd) {
    background: #fafafa;
}

.styled-table-wrapper tbody tr:nth-child(even) {
    background: #ffffff;
}

.styled-table-wrapper tbody tr:hover {
    background: #f3f4f6;
}

/* Optional: make long tables scroll on small screens */
.styled-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

/* Alignment support */
.styled-table-wrapper.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.styled-table-wrapper.alignfull {
    max-width: 100%;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .styled-table-wrapper th,
    .styled-table-wrapper td {
        padding: 8px;
        font-size: 14px;
    }
}
