
#action-and-info {
    width: 33%;
}

#grid {
    width: 64%; 
    float: right;
}

.axis-label {
    text-align: center; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    background-color: lightgray;
    margin: .3rem;
}

.quadrant {
    position: relative;
    background: transparent; 
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    border: solid 2px black;
    margin: 2px;
    /* overflow: hidden; */
}

.quadrant-label {
    position: absolute;
    width: 100%;
    text-align: center;
    text-decoration: underline;
    font-size: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
}

.rotate-270 {
    -moz-transform: rotate(270deg);  /* FF3.5+ */
    -o-transform: rotate(270deg);  /* Opera 10.5 */
    -webkit-transform: rotate(-90deg);
}

#bank {
    width: 97%;
    float: left;
    min-height: 200px;
    background: transparent; 
    border-radius: 15px;
    border: solid 2px black;
    margin-top: 2px;
    margin-bottom: 1rem;
    padding: .5rem;
    padding-bottom: 100px;
    position: relative;
}

#trash-can {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-image: url('/img/icons8-trash-100.png');
}

.item {
    position: relative;
    display: inline-block;
    margin: .2rem;
    background: salmon;
    border-radius: 50px;
    padding: 0 .5rem .2rem;
    cursor: grab;
    z-index: 100;
    font-size: .875rem;
    white-space: nowrap;
}

#matrix-drop-area {
    z-index: 50;
}

.placed-item {
    position: absolute;
    margin: 0;
}

form {
    display: inline-block;
}

input, select {
    padding: .25rem .5rem;
    border: 1px solid black;
    border-radius: 5px;
    
    /* margin-right: .25rem; */
}

button {
    background: transparent;
    border: 1px solid black;
    padding: .25rem .5rem;
    border-radius: 5px;
}

button:hover {
    cursor: pointer;
    background-color: lightgrey;
}

#help-text p { margin: 0; }
#help-text {
    position: absolute;
    bottom: 0;
    width: 75%;
    margin-bottom: .5rem;
    font-size: .875rem;
}

#actions button {
    margin-bottom: .25rem;
}

.info-callout {
    background-color: black;
    color: white;
    border-radius: 50px;
    aspect-ratio: 1/1;
    text-align: center;

}

.text-danger {color: firebrick}
.text-success {color: green}

/* utils */
.w-100 {width:100%}
.p-1 {padding:.25rem}
.p-2 {padding:.5rem}
.mb-1 {margin-bottom: .25rem}
.mb-2 {margin-bottom: .5rem}
.mb-3 {margin-bottom: .75rem}
.mb-4 {margin-bottom: 1rem}
.mt-1 {margin-top: .25rem}
.mt-2 {margin-top: .5rem}
.mt-3 {margin-top: .75rem}
.mt-4 {margin-top: 1rem}
.ml-1 {margin-left: .25rem}
.ml-2 {margin-left: .5rem}
.ml-3 {margin-left: .75rem}
.ml-4 {margin-left: 1rem}

/* mobile */
@media (max-width: 800px) {
    #grid { width: 100%; }
    #action-and-info { width: 100%; margin-top: 1rem; float: left; }
    #settings-form tr td { display: block; }
    #settings-form, #settings-form input, #settings-form select  { width: 100%; }
}