input[type="text"] {
    outline: none;
    background: none;
    border: 2px solid rgba(0, 0, 0, 0);
    border-bottom: 2px dashed rgba(0, 0, 0, 0);
    color: var(--textColor);
    font-size: 16px;
    padding: 2px 4px;
    overflow: hidden;
    white-space: wrap;
    text-wrap: wrap;
    word-wrap: break-word;
    word-break: break-all;
    transition: 0.2s;
    flex-grow: 1;
}


input[type="text"]:hover {
    outline: none;
    border-bottom: 2px dashed var(--bgColor);
}

input[type="text"]:active,
input[type="text"]:focus {
    outline: none;
    border-bottom: 2px dashed var(--shadowColor);
}

input::placeholder,
textarea::placeholder {
    color: var(--textColor);
    opacity: 0.5;
}

textarea {
    resize: vertical;
    min-height: 32px;
    outline: none;
    background: none;
    border: 2px dashed rgba(0, 0, 0, 0);
    border-bottom: 2px dashed rgba(0, 0, 0, 0);
    color: var(--textColor);
    font-size: 16px;
    padding: 2px 4px;
    overflow: hidden;
    white-space: wrap;
    text-wrap: wrap;
    word-wrap: break-word;
    word-break: break-all;
    transition: 0.2s;
}

textarea:hover {
    outline: none;
    border-bottom: 2px dashed var(--bgColor);
    border-top: 2px dashed var(--bgColor);
}

textarea:active,
textarea:focus {
    outline: none;
    border-bottom: 2px dashed var(--shadowColor);
    border-top: 2px dashed var(--shadowColor);
}

input[type="checkbox"] {
    --checkboxSize: 16px;
    appearance: none;
    border: 2px solid var(--shadowColor);
    background: var(--borderColor);
    outline: none;
    width: var(--checkboxSize);
    height: var(--checkboxSize);
    aspect-ratio: 1 / 1;
    border-radius: 0;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    border: 2px solid var(--buttonColor2);
}

input[type="checkbox"]:checked:after {
    content: "\2714";
    color: var(--buttonColor2);
    font-size: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-weight: 900;
}

.card-zone {
    width: 100%;
    max-width: 100%;
    height: fit-content;
    flex-grow: 1;
    padding: 0px 0px 48px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
}

.card {
    width: max-content;
    height: max-content;
}

.card#editCard {
    --bgColor: #dee2e6;
    --shadowColor: #adb5bd;
    --textColor: #003049;
    --borderColor: #f8f9fa;
    --buttonColor: #D44E41;
    --buttonColor2: #43A37C;
    --bannerColor: var(--borderColor);
    --removingRed1: #e5383b;
    --removingRed2: #a4161a;
    background: var(--bgColor);
    border: 3px solid var(--borderColor);
    box-shadow: 8px 8px 0px 0px var(--shadowColor);
    color: var(--textColor);
    padding: 6px 6px 2px;
    /**/
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    gap: 0px;
    overflow: hidden;
    width: fit-content;
    transition: 0.2s, width 0.1s;
    outline: 3px dashed transparent;
}

.removing.card#editCard {
    border: 3px solid var(--removingRed1);
    box-shadow: 8px 8px 0px 0px var(--removingRed2), 0px 0px 16px 4px var(--removingRed2) inset;
}

#capture {
    filter: var(--shadow);
}

.card#statCard {

    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

#monsterNameInput {
    font-family: beaufort-pro;
    font-weight: 900;
}

.inputPassives,
.inputActions {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--borderColor);
    box-shadow: 1px 2px 2px var(--shadowColor);
    padding: 0 6px 6px;
    margin-bottom: 8px;
}

.selectFlex {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-bottom: 2px solid var(--bgColor);
}

.selectFlex select {
    padding: 2px 0px 2px 6px;
    border: 2px solid var(--borderColor);
    background: var(--bgColor);
    box-shadow: 3px 3px 0px 0px var(--shadowColor);
    font-family: beaufort-pro;
    font-weight: 900;
    color: var(--textColor);
    outline: none;
    position: relative
}

.selectFlex select option {
    outline: none;
    appearance: none;
    border: 2px solid var(--borderColor);
    background: var(--bgColor);
    box-shadow: 3px 3px 0px 0px var(--shadowColor);
}

.selectFlex .selectFlexTitle {
    flex-grow: 1;
    font-weight: 900;
    font-family: beaufort-pro;
    font-size: 20px;
    line-height: 20px;
    text-transform: uppercase;
    font-style: italic;
    opacity: 0.5;
}

.plusButton {
    font-size: 24px;
    line-height: 24px;
    vertical-align: middle;
    height: 24px;
    cursor: pointer;
    transition: 0.2s;
    color: var(--buttonColor);
    opacity: 0.75;
}

.plusButton:hover {
    opacity: 1;
}

.editPassivesList,
.editActionsList {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    min-height: 12px;
}

.singleEdit {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 2px solid var(--bgColor);
    flex-wrap: wrap;
}

.singleEditName {
    width: 30%;
}

.singleEditDesc {
    width: 70%;
    flex-grow: 1;
}

.multiEdit {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    border-bottom: 2px solid var(--bgColor);
}

.multiEdit .multiEditDetails {
    display: flex;
    width: 100%;
    align-items: center;
}

.multiEditName {
    width: 20%;
}

.multiEditDesc {
    width: 80%;
    flex-grow: 1;
}

.multiEditAdd,
.editRemove,
.MeditRemove,
.moveUp,
.moveDown {
    color: var(--buttonColor);
    opacity: 0.5;
    cursor: pointer;
    transition: 0.2s;
    margin-left: 4px;
}

.multiEditAdd:hover,
.editRemove:hover,
.MeditRemove:hover,
.moveUp:hover,
.moveDown:hover {
    opacity: 1;
}

.multiEditSingles {
    padding-left: 32px;
}

.MsingleEdit {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    border-bottom: 2px solid var(--bgColor);
    align-items: center;
    flex-wrap: wrap;
}

.MsingleEditName {
    width: 30%;
}

.MsingleEditDesc {
    width: 100%;
    flex-grow: 1;
}

.multiEditSingles .MsingleEdit {
    border-bottom: 2px dashed var(--bgColor);
    padding: 2px 0px 2px 4px;
    border-left: 4px solid var(--bgColor);
}

.multiEditSingles .MsingleEdit:last-of-type {
    border-bottom: 2px dashed rgba(0, 0, 0, 0);
}

.buttonFlex {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    margin-bottom: 8px;
    row-gap: 8px;
    flex-wrap: wrap;
}

.buttonFlex.themeButtonFlex {
    justify-content: flex-start;
}

.buttonFlex .buttonStretch {
    flex-grow: 1;
}

.buttonFlex button {
    padding: 4px 8px;
    cursor: pointer;
    transition: 0.2s;
    font-family: beaufort-pro;
    font-weight: 900;
    border: 2px solid var(--borderColor);
    background: var(--bgColor);
    box-shadow: 3px 3px 0px 0px var(--shadowColor);
    color: var(--textColor);
    white-space: nowrap;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.buttonFlex button:hover {
    border: 2px solid var(--buttonColor2);
}

.buttonFlex button:active {
    transform: scale(0.95);
}

.buttonFlex #removeActions {
    border: 2px solid var(--removingRed1);
    box-shadow: 3px 3px 0px 0px var(--removingRed2);
}

.buttonFlex #removeActions:hover {
    border: 2px solid var(--removingRed1);
    color: var(--removingRed1);
}

.buttonFlex #removeActions:active,
.buttonFlex #removeActions.toggled {
    border: 2px solid var(--removingRed2);
    background: var(--removingRed1);
    color: var(--bgColor);
}

.singleEdit,
.multiEdit {
    outline: 2px dashed transparent;
}

.disabled {
    pointer-events: none;
    opacity: 0.25;
    filter: saturate(0);
}

.aName {
    font-weight: 900;
    white-space: nowrap;
    position: relative;
}

.multiSingleIndent .aName::before {
    display: flex;
    align-items: center;
    position: absolute;
    left: -16px;
    content: "•";
    font-size: 25px;
    top: 1px;
    vertical-align: top;
    padding-right: 8px;
    padding-left: 0px;
    line-height: 16px;
}

.mSIStatus {
    font-size: 12px;
    padding: 8px 12px;
    width: 100%;
}

.multiSingleIndent.mSIStatus .aName::before {
    display: none;
}

.multiSingleIndent {
    display: block;
    padding-left: 16px;
    width: 100%;
}

.inputFlexHolder {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    max-width: 450px;
}

.inputFlexHolder:not(:has(>.inputFlexHolder2)) {
    box-shadow: 1px 2px 2px var(--shadowColor);
    background: var(--borderColor);

}

.inputFlexHolder2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}

.inputFlexHolder2 .inputFlex {
    flex-basis: 45%;
}

.inputFlexHolder2 .inputFlex:first-of-type {
    flex-basis: 60%;
}

.inputFlex {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 1px 2px 2px var(--shadowColor);
    background: var(--borderColor);
    padding: 2px 8px;
    width: 100%;
    flex-basis: 25%;
    flex-grow: 1;
}

.inputFlex.column {
    flex-direction: column;
    align-items: stretch;
}

.inputFlex input,
.inputFlexHolder input {
    flex-grow: 2;
}

.inputFlexName {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 2px 8px;
    width: min-content;
    flex-basis: 100%;
    flex-grow: 1;
}

.inputFlexColumn {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 2px 8px;
    width: min-content;
    flex-basis: 100%;
    flex-grow: 1;
    max-width: 500px;
}

.inputLabel {
    font-weight: 900;
    font-family: beaufort-pro;
    font-style: italic;
    opacity: 0.5;
    user-select: none;
    white-space: nowrap;
    margin-right: 8px;
}


.themeTitle {
    flex-grow: 1;
    font-weight: 900;
    font-family: beaufort-pro;
    font-size: 20px;
    line-height: 20px;
    text-transform: uppercase;
    font-style: italic;
    opacity: 0.5;
}

.colPickFlex {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    max-width: fit-content;
    transition: 0.2s;
    border: 2px solid var(--borderColor);
    background: var(--bgColor);
    box-shadow: 3px 3px 0px 0px var(--shadowColor);
    gap: 8px;
    padding: 4px 8px;
}

.colPickFlex .colPickLabel {
    font-family: beaufort-pro;
    font-weight: 900;
    color: var(--textColor);
    white-space: nowrap;
    font-size: 14px;
    height: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.colPickFlex input[type="color"] {
    appearance: none;
    height: 18px;
    aspect-ratio: 1.5 / 1;
    border: 2px solid var(--shadowColor);
    padding: 0;
    background: none;
    outline: none;
    cursor: pointer;
}

.colPickFlex input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}


input[type="file"] {
    font-family: beaufort-pro;
    font-weight: 900;
    color: var(--shadowColor);
    white-space: nowrap;
    font-size: 14px;
}

input[type="file"]::file-selector-button {
    padding: 4px 8px;
    cursor: pointer;
    transition: 0.2s;
    font-family: beaufort-pro;
    font-weight: 900;
    outline: none;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
    font-size: 14px;
    border: 2px solid var(--shadowColor);
    color: var(--textColor);
    background: var(--bgColor);
}

input[type="file"]::file-selector-button:hover {
    border: 2px solid var(--buttonColor2);
}

input[type="file"]::file-selector-button:active {
    transform: scale(0.95);
}

input[type="number"] {
    cursor: pointer;
    height: 18px;
    width: 50px;
    transition: 0.2s;
    flex-grow: 0;
    font-family: beaufort-pro;
    font-weight: 900;
    outline: none;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
    font-size: 14px;
    border: 2px solid var(--shadowColor);
    color: var(--textColor);
    background: var(--borderColor);

}


.removeToggled {
    outline: 2px dashed var(--removingRed2);
    transition: 0.2s;
    position: relative;
}

.removeToggled::after {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    cursor:no-drop;
    background: transparent;
    opacity: 0.5;
    transition: 0.2s;
}

.removeToggled:hover::after {
    background: var(--removingRed1);
}