.pgco-calculator {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.pgco-calculator-form {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
}
.pgco-calculator-form label {
            position: relative;
            display: flex;
            flex-grow: 1;
}
.pgco-calculator-form label input {
                position: relative;
                background: transparent;
                border-radius: 0px;
                padding: 8px 12px;
                border: 1px solid #CBCBCB;
                flex-grow: 1;
				height: 100%;
				

                &:focus {
                    outline: none;
                    border-color: #D71A20;
                }
}
.pgco-calculator-form span {
                text-wrap: nowrap;
                height: 100%;
                border: 1px solid #CBCBCB;
                display: flex;
                padding: 12px 16px;
                -webkit-transition: all 100ms linear;
                -moz-transition: all 100ms linear;
                transition: all 100ms linear;
                font-size: 14px;
				height: 100%;
				border-radius: 8px
					
					&:has(input:focus) {
                span {
                    color: #D71A20;
                    border-color: #D71A20;
				} 
    }
}
span.field_label {
                border-left: 0;
				border-radius: 0px 8px 8px 0px;
}
span.field_unit {
                border-right: 0;
                font-size: 12px;
				border-radius: 8px 0px 0px 8px;
}

            

    .pgco-calculator-result {
        display: flex;
        justify-content: center;
        background: #D71A20;
        width: fit-content;
        margin-inline: auto;
        padding: 8px 12px;
        color: #FFF;
        align-items: end;
        line-height: 1;
        gap: 4px;
		border-radius: 8px;

        .counter {
            font-size: 20px;
        }

        .unit{
                font-size: 12px;
    opacity: 1;
    line-height: 2;
        }
    }
}
