.cuf-full-width-background
{
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 1.04vw;
    overflow: hidden;
}

.cuf-full-width-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.9) blur(0.26vw) brightness(0.7) contrast(0.85);
    z-index: 0;
}

.cuf-form-container h3
{
    margin: 0;
}
.cuf-form-container
{
    position: relative;
    z-index: 1;
    max-width: 50vw;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.04vw;
    border-radius: 0.42vw;
}

.cuf-form
{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.28vw;
}

.cuf-form p
{
    margin: 0;
}

.cuf-form .form-field
{
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
}

.cuf-form .form-field {
    position: relative;
    display: grid;
}

.cuf-form .form-field label {
    position: absolute;
    left: 0.73vw;
    top: 0.73vw;
    font-size: 1.1vw;
    line-height: 0.94vw;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 0.2vw;
}

.cuf-form .form-field:focus-within label {
    top: -0.3vw;
    font-size: 0.78vw;
    line-height: 0.78vw;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.3vw;
    padding: 0 0.2vw;
}

.cuf-form input[type="text"],
.cuf-form input[type="email"],
.cuf-form textarea {
    width: 100%;
    font-family: inherit !important;
    padding: 1.5vw 0.52vw 0.52vw 0.52vw;
    border: 0.05vw solid #ccc;
    border-radius: 0.21vw;
    background: white;
    font-size:1.3vw;
}
.cuf-form input[type="text"],
.cuf-form input[type="email"]
{
    height: 4vw;
}
.cuf-form input[type="submit"]
{
    border: none;
    padding: 0.52vw 1.04vw;
    border-radius: 0.21vw;
    cursor: pointer;
    font-size:1.2vw;
}
.cuf_button_row
{
    justify-self:end;
}
.cuf-success
{
    color: green;
    background: #d4edda;
    padding: 0.52vw;
    border: 0.05vw solid #c3e6cb;
    border-radius: 0.21vw;
    text-align: center;
}

.cuf-error {
    color: red;
    background: #f8d7da;
    padding: 0.52vw;
    border: 0.05vw solid #f5c6cb;
    border-radius: 0.21vw;
    text-align: center;
}

.cuf-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.cuf-popup-content {
    background: white;
    max-width: 20.83vw;
    margin: 5.21vw auto;
    padding: 1.04vw;
    border-radius: 0.42vw;
    position: relative;
    text-align: center;
}

.cuf-popup-close {
    position: absolute;
    top: 0.52vw;
    right: 0.52vw;
    font-size: 1.04vw;
    cursor: pointer;
}
input:is(:-webkit-autofill, :autofill)
{
    border: 1px dotted orange!important;
}
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important; /* background */
    -webkit-text-fill-color: #000 !important;             /* text color */
    font-size: 1.4vw !important;                           /* prevent jump */
    font-family: inherit !important;
    padding: 1.5vw 0.5vw 0.5vw 0.5vw !important;          /* match normal */
    transition: all 0.3s ease;
}
