.product-form {
    position: fixed;
    z-index: 1002;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 200ms ease-in-out;
    opacity: 0%;
    pointer-events: none;
    background-color: white;
    box-shadow: 0px 0px 32px rgb(0 0 0 / 0.2);
}

.form-backdrop {
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    z-index: 1001;
    background-color: rgb(0, 0, 0, 0.5);
    transition: 200ms ease-in-out;
    opacity: 0%;
    pointer-events: none;
}

.noscroll {
    overflow: hidden;
}

.input-wrapper {
    margin: 6px 0px;
}

.input-inline {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    width: 200px;
}

.full-width {
    width: 100%;
}

textarea {
    resize: none;
    font-family: "Inter";
}

label {
    font-size: 1.6rem;
    font-weight: 400;
    margin-left: 6px;
}

.red-highlight {
    color: red;
}

input {
    width: 400px;
    max-width: 100%;
}

input, textarea, select {
    border-radius: 8px;
    border: 1px solid lightgrey;
    font-size: 2.0rem;
    display: block;
    margin: 4px 0px;
    padding: 6px;
    transition: ease-in-out 100ms;

}

input:focus,
textarea:focus {
    outline: none;
    border: 1px solid black;
    background-color: rgb(250, 250, 250);
}



textarea {
    width: 100%;
    height: 150px;
}


#submit-button {
    background-color: transparent;
    font-size: 2.6rem;
    border: 2px solid var(--company-color);
    cursor: pointer;
    font-weight: 600;
    border-radius: 8px;
    transition: ease-in-out 100ms;
    padding: 8px 16px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 0px;
    display: block;
    box-shadow: 0px 0px 2px var(--company-color);
}

.close-form-button {
    display: block;
    margin-right: 0;
    margin-left: auto;
    width: 32px;
    height: 32px;
    transition: 100ms ease-in-out;
    background-color: #FFFFFF;
    padding: 0;
    border: none;
    border-radius: 50%;
}
.close-form-button > img {
    width:100%;
    height: 100%;
    display: block;
}
.close-form-button:hover {
    background-color: #DDDDDD;
}

#submit-button:hover {
    background-color: #FAFAFA;
    transform: scale(102%);
}

#submit-button.button-disabled {
    color: #555555; 
    background-color: #FAFAFA;
    border-color: #AAAAAA;
    box-shadow: none;
    pointer-events: none;
}
#submit-button.button-disabled:hover {
    background-color: inherit;
    transform: none;
}

form {
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 2px rgb(0, 0, 0, 0.5);
    width: 80%;
    max-width: 1200px;
    max-height: 90%;
    overflow:auto;
}

.status-box-error {
    color: red;
}
.status-box-success {
    color: green;
}
#form-status {
    font-size: 1.8rem;
}


@media only screen and (max-width: 950px) {
    input, textarea, select {
        font-size: 1.8rem;
    }
    label {
        font-size: 1.4rem;
    }
    #submit-button {
        font-size: 2rem;
    }

}