.dialog-upround-wiz {
    --color-bg: ivory;
    /* overrides inside .modal only */
    border: 1px silver solid;
    border-radius: 4px;
    padding: 0;
    /* width: calc(100% - 20px); */
    overflow: hidden;
    background-color: var(--color-bg);
    color: brown;
}


.dialog-upround-wiz::backdrop {
    background-color: var(--color-dialog-backdrop);
    /* Black with 50% opacity */
}

.upround-wiz-grid {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-rows: auto auto 1fr auto auto;
    gap: 0.2rem;
    grid-template-areas:
        "currCapTable postRound"
        "newRounds postRound"
        "newRounds liqPrefs"
        "newShares liqPrefs"
        "newShares whatIf"
    ;
    /* border: 1px solid pink; */

    overflow: auto;
    /* key: actual scrollbar lives here */
    min-height: 0;
    /* key: allow grid item to shrink so overflow can happen */
    min-width: 0;
    /* helpful for horizontal overflow issues */
}


.upround-wiz-section {
    border: 1px solid silver;
    border-radius: 5px;
    padding: 10px 10px 8px 10px;
    margin: 8px;
}

.upround-wiz-section-header {
    font-weight: 600;
}


.upround-wiz-lbl-note {
    margin-left: 3px;
    font-size: 0.8rem;
    color: gray;
}

.upround-wiz-textbox {}


.dialog-upround-wiz table {
    all: revert;
    border-collapse: collapse;
    font-size: 0.8rem;
    margin: 10px 0 0px 12px;
    user-select: none;
    /* background-color: transparent; */

}

.dialog-upround-wiz td,
.dialog-upround-wiz th {
    padding: 3px 8px;
    border: 1px solid #ccc;
    vertical-align: top;
    background-color: transparent;
}

.dialog-upround-wiz tr:hover td,
.dialog-upround-wiz td:hover {
    background: oldlace;
    color: darkblue;
}

.dialog-upround-wiz .blank {
    background-color: var(--color-bg);
    border: none;
}

.dialog-upround-wiz .right {
    text-align: right;
}

.dialog-upround-wiz .center {
    text-align: center;
    min-width: 120px;
}

.dialog-upround-wiz button {
    margin: 14px 0 10px 140px;
    background-color: darkgreen;
    color: white;
    padding: 6px 12px;
}

.dialog-upround-wiz button:disabled,
.dialog-upround-wiz button[disabled],
.dialog-upround-wiz button[aria-disabled="true"] {
    background-color: gray;
}


.dialog-upround-wiz button>span {
    color: white;
}

.dialog-upround-wiz input[type="number"i] {
    max-width: 120px;
}

.dialog-upround-wiz select {
    max-width: 133px;
}


.upround-wizard-warning:empty {
    margin: 0;
    padding: 0;
    border: none;
}

.upround-wizard-warning:not(empty) {
    background-color: pink;
    color: brown;
    font-size: 0.9rem;
    margin: 4px;
    padding: 4px 0 6px 8px;
    border: red 1px solid;
    border-radius: 4px;
}


.upround-wizard-warning-4 {
    text-align: center;
    margin: 14px 0 10px 200px;
    color:crimson;
    font-weight: 600;
}