/* THIS FILE IS COPIED FROM THE COMMON LIBRARY AS OF 2025-09-30 11:14:35 GMT. DO NOT EDIT THIS FILE. EDIT THE ORIGINAL IN THE COMMON LIBRARY INSTEAD. */
.database-schema {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    position: relative;   
    overflow: auto;
}

.database-schema table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.database-schema table tr {
    transition: 0.3s;
    cursor: pointer;
    
    line-height: 1;
}

.database-schema table td {
    border: solid 2px gray;
    padding: 4px;
}

.database-schema table tr:hover {
    background: var(--primary-color);
    color: white;
}









/*

.database-schema-table-viewer {
    display: grid;
    grid-template-areas: 
        ".           .      .     .     .         "
        "grandparent parent table child grandchild"
        ".           .      .     .     .         ";
    grid-template-columns: min-content min-content 1fr min-content min-content;
    grid-template-rows: min-content 1fr min-content;
    gap: 8px;
    padding: 8px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    position: relative;
}
.database-schema-table-viewer-table {
    grid-area: table;
    border-radius: 8px;
    border: solid 2px gray;
    padding: 8px;
}
.database-schema-table-viewer-table-title {
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.database-schema-table-viewer-table-columns {
    
}
.database-schema-table-viewer-table-column {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
*/

/*
.database-schema {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    gap: 32px;
    padding: 32px;
    overflow: auto;
}

.database-schema-table {
    display: inline-block;
    position: relative;
    border: solid 2px gray;
    border-radius: 8px;
    padding: 8px;
    text-align: left;
    margin: 8px;
    width: 10rem;
    min-height: 15rem;
}
.database-schema-table-title {
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
}
.database-schema-table-columns {
    
}

.database-schema-table.critical {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px color-mix(in srgb, var(--primary-color) 40%, transparent);
}
*/