.window-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    z-index: 1024;
    background-color: black;
}

.window {
    
    user-select: none;
    display: grid;
    grid-template-rows: 20px auto;

    border: solid 2px rgb(250, 250, 250);
    border-right-color: rgb(100, 100, 100);
    border-bottom-color: rgb(60, 60, 60);

    background-color: rgb(190, 190, 190);

    grid-template-areas: "topbar" "content";

    height: fit-content;

    width: fit-content;

    min-height: 20px;
    min-width: 200px;
}

.window-topbar {
    background: linear-gradient(90deg,rgb(0, 19, 145), rgb(0, 8, 71));
    grid-area: topbar;
    position: relative;
}

.window-x {
    display: block;
    position: absolute;
    right: 3px;
    top: 3px;
    image-rendering: pixelated;
}

.window-topbar-text {
    user-select: none;
    font-size: 14px;
    color: white;
    font-weight: 100;
    position: absolute;
    left: 3px;
    top: 3px;
    bottom: 3px;
    width: fit-content;
}

.window-content {
    grid-area: content;
    overflow: hidden;
}


.button {
    border: solid 2px rgb(250, 250, 250);
    border-right-color: rgb(100, 100, 100);
    border-bottom-color: rgb(60, 60, 60);

    background-color: rgb(190, 190, 190);
}


.warning-window-content {
    display: grid;
    grid-template-rows: 30px auto 30px;
    grid-template-columns: auto 100px;
    grid-template-areas: "title title" "text text" "space button";
    padding: 10px;
    gap: 10px;
}

.warning-window-textarea {
    grid-area: text;
    background-color: transparent;
    resize: none;
    border: none;
    outline: none;
    font-size: 15px;
    overflow: hidden;
    user-select: none !important;
}

.window-warning-title {
    grid-area: title;
    font-size: 30px;
    font-family: serif;
    font-weight: 900;
}

