.input-container {
    position: relative;

    & label {
        display: inline-block;
        margin-bottom: 4px;            
    }

    .input {
        position: relative;
        display: block;
        width: 100%;
        max-width: 90vw;

        & input {
            width: 100%;
            height: 40px;
            border-radius: 10px;
            border: 1px solid var(--bg-color);
            box-sizing: border-box;
            padding-left: 12px;
            font-size: 17px; 
            /* border: 1px solid green; */
            /* border: none; */
        }

        & input[readonly] {
            cursor: text;
            background: #fff;
        }   
        
        & input[disabled] {
            background: whitesmoke;
        }

        & input.success {
            border: 2px solid mediumseagreen;
        }

        .icon {
            position: absolute;
            right: 0px;
            width: 40px;
            height: 100%;
            border-bottom-right-radius: 10px;
            border-top-right-radius: 10px;
            background: lightgray;
            box-sizing: border-box;
            border: 1px solid gray;
            color: darkslategray;
            top: 0px;
            display: grid;
            place-content: center;
            cursor: pointer;
        }   
        .icon.disabled {
            pointer-events: none;
            color: darkgray;
        }
        
        v-icon {
            width: 20px;
        }
    }

    .save {
        display: none;
        position: absolute;
        box-sizing: border-box;
        height: 40px;
        bottom: 0px;
        right: 0px;
        padding-inline: 16px;
        padding-top: 4px;
        border: 2px solid gray;
        color: var(--bg-color);
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        background: lightgoldenrodyellow;
        cursor: pointer;
    }

    .save.show {
        display: block;
    }

    input.invalid {
        border: 2px solid red;
    }    

    & .input.switch {
        display: grid;
        grid-template-columns: 80px 120px;
        grid-template-rows: 1fr;
    }        

    & .input.switch.disabled > input {
        user-select: none;
        pointer-events: none;
        background: gainsboro;
    }    
}