.majtool-main {
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
    padding: 24px 12px 128px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 70px;
}

.majtool-body {
    background-color: #e5ebf1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 270px;
}

.tile {
    position: relative;
}

.tile-inner {
    position: absolute;
    user-drag: none;
    -webkit-user-drag: none;
}

.tile-selection {
    background-color: rgb(205 213 222);
    border-radius: 6px;
}

.tile-group {
    display: flex;
    flex-direction: row;
}

.winds {
    display: flex;
    flex-direction: column;
}

.doras {
    display: flex;
    flex-direction: row;
}

.condition-button {
    width: 100%;
}

.conditions-fill {
    width: 100%;
}

.mj-button {
    border: 1px solid black;
    border-radius: 6px;
    padding: 6px 12px 8px 12px;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    background-color: #f1f8ff;
    height: 36px;
    font-size: 16px;
    
    /* for the ellipsis overflow */
    min-width: 30px;
}

.mj-button-click-disabled {
    background-color: lightgrey;
}

.mj-button-click-enabled:hover {
    background-color: #fbfbff;
}

.mj-button-click-enabled:active {
    background-color: #c4d0de;
}

.mj-button-left {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding-right: 6px;
    align-items: center;
    flex-grow: 0;
    height: inherit;
    
    /* for the ellipsis overflow */
    min-width: 0;
}

.mj-button-info {
    height: 24px;
    width: 24px;
    min-width: 24px;
    border-radius: 100%;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mj-toggle-slider {
    width: 24px;
    border-radius: 16px;
    height: 16px;
    min-width: 16px;
    border: 1px solid black;
    margin-top: 2px;
    display: flex;
    padding-left: 4px;
    padding-right: 4px;
    align-items: center;
}

.mj-slider-dot-inner {
    border-radius: 100%;
    height: 10px;
    width: 10px;
    top: 0;
    left: 0;
    box-sizing: border-box;
    background-color: black;
}

.mj-slider-right {
    justify-content: right;
}

.mj-slider-left {
    justify-content: left
}

.mj-toggle-dot {
    border-radius: 100%;
    height: 16px;
    min-width: 16px;
    width: 16px;
    border: 1px solid black;
    margin-top: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mj-toggle-dot-inner {
    border-radius: 100%;
    height: 50%;
    width: 50%;
    top: 0;
    left: 0;
    box-sizing: border-box;
}

.mj-button-toggled {
    background-color: black;
    display: block;
}

.mj-button-untoggled {
    display: none;
}


.wind {
    min-width: 220px;
    display: flex;
    flex-direction: row;
}

.wind-bg {
    border-radius: 0px 6px 6px 0px;
    border-left: none;
    width: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 24px;
    box-sizing: border-box;
    position: absolute;
    left: 0px;
}

.tiles-select-mobile {
    max-width: 350px;
}

.tile-modal {
    position: fixed;
    border-radius: 0px;
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    background-color: #00003322;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.tile-modal-body {
    border-radius: 6px;
    padding: 40px 45px;
    background-color: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maj-points {
    border-radius: 6px;
    border: 1px solid black;
    background-color: #f1f8ff;
}

.text-subtext {
    font-size: 14px;
}

.mj-group-buttons {
    min-width: 100px;
}

.control-group {
    background-color: rgb(205 213 222);
    border-radius: 6px;
}

.mj-button-icon {
    height: 100%;
    width: auto;
    box-sizing: border-box;
    padding: 10px 0px;
    margin-bottom: -1px;
}

.control-button {
    max-width: 120px;
}

.hand-shape {
    background-color: rgb(205 213 222);    
}
