@tailwind base;
@tailwind components;
@tailwind utilities;

.otc {
    position: relative;
    width: 320px;
    margin: 0 auto;
    font-size: 2.65em;
}

    .otc fieldset {
        border: 0;
        padding: 0;
        margin: 0;
    }

    .otc div {
        align-items: center;
    }

    .otc legend {
        margin: 0 auto 1em;
        color: #5555FF;
    }

input[type="number"] {
    width: 1.4em;
    line-height: 0.4;
    font-size: 25px;
    margin: 2px;
    text-align: center;
    appearance: textfield;
    -webkit-appearance: textfield;
    border: 2px solid #BBBBFF;
    color: purple;
    border-radius: 4px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"]:nth-of-type(n+4) {
    order: 2;
}