/*
//
// ChemDoodle Web Components 11.0.0
//
// https://web.chemdoodle.com
//
// Copyright 2009-2025 iChemLabs, LLC.  All rights reserved.
//
// The ChemDoodle Web Components library is licensed under version 3
// of the GNU GENERAL PUBLIC LICENSE.
//
// You may redistribute it and/or modify it under the terms of the
// GNU General Public License as published by the Free Software Foundation,
// either version 3 of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// Please contact iChemLabs <https://www.ichemlabs.com/contact-us> for
// alternate licensing options.
//
*/
canvas.ChemDoodleWebComponent {
    border: 1px solid black;
    border-radius: 4px;
}

.stoichiometry_table {
    table-layout: fixed;
    border-spacing: 0px;
    border-collapse: collapse;
    margin: 20px;
    width: 1%;
    table-layout: auto !important;
}
.stoichiometry_table th,
.stoichiometry_table td {
    border: 1px solid black;
    font-family: 'Times New Roman', serif;
    color: black;
    margin: 0px;
    width: auto !important;
    white-space: nowrap;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.reset-all {
    /* All elements */
    all: revert; /* Attempts to revert to user-agent stylesheet defaults */
    box-sizing: content-box;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    list-style: none;
    text-decoration: none;
    color: inherit; /* Prevent forced colors */
    background: transparent; /* Remove any default backgrounds */
    cursor: default; /* Reset cursor */
    outline: none; /* Remove default focus outlines (consider accessibility!) */
    visibility: visible; /* Ensure element is visible */
    /* overflow: visible; /* Allow content to overflow by default */
    float: none;
    clear: none;
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: auto;
    width: auto;
    height: auto;
    min-width: 0;
    max-width: none;
    min-height: 0;
    max-height: none;

    /* Text-related properties */
    line-height: 1;
    white-space: normal;
    word-spacing: normal;
    letter-spacing: normal;
    text-transform: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    font-stretch: normal;

    /* Box model related properties */
    border-radius: 0;
    border-spacing: 0;
    table-layout: auto;
    caption-side: top;
    empty-cells: show;
    border-collapse: separate;

    /* Visual effects */
    opacity: 1;
    clip: auto;
    mask: none;
    filter: none;
    transform: none;
    transform-origin: center;
    perspective: none;
    perspective-origin: center;
    backface-visibility: visible;
    object-fit: fill;
    object-position: center;

    /* Animation and transition */
    animation: none;
    transition: none;

    /* SVG specific (though 'all: revert' might handle many) */
    fill: currentColor;
    stroke: none;

    /* Form elements - be cautious, these can have complex defaults */
    appearance: none;
    pointer-events: auto; /* Reset pointer interactions */
}

.reset-all-button {
    border: 1px solid #666;
    border-radius: 3px;
    padding: 3px;
}
