.wpform-subscribe form{
    background-color: #fff;
    display: flex;
    padding: 3px;
    border-radius: 5px;
    width: 100%;
}

.wpform-subscribe .wpforms-field-container {
    width: 100%;
}
.wpform-subscribe .wpforms-submit-container{
    width: 162px;
    flex-shrink: 0;
}

.wpform-subscribe .email-field {
    padding: 0 !important;
    height: 100%;
    overflow: visible !important;
}
.wpform-subscribe .email-field input {
    height: 48px;
    width: 100% !important;
    border: 0 !important;
    outline: 0;
    padding: 10px 20px;
    max-width: 100% !important;
    font-family: 'SFPro-Display', sans-serif !important;
    color: #021639;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.wpform-subscribe .wpforms-field-label {
    display: inline-block !important;
    font-family: 'SFPro-Display', sans-serif !important;
    font-size: 16px;
    line-height: 24px;
    color: rgba(31, 34, 46, 0.64);
    background: transparent;
    width: auto !important;
    padding: 0px;
    font-weight: 400 !important;
    position: absolute;
    top: 13px;
    left: 20px;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    z-index: 5;
}

.wpform-subscribe .wpforms-submit {
    margin: 0px !important;
    border-radius: 3px !important;
    height: 48px;
    padding: 15px 10px !important;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    font-family: 'SFPro-Display', sans-serif !important;
    text-transform: unset !important;
    cursor: pointer;
    width: 100%;
    background: #F4062A;
    border: 0;
    -webkit-font-smoothing: antialiased;
}

.wpform-subscribe .wpforms-submit-spinner {
    position: absolute;
    right: 9px;
    top: 16px;
    width: 16px;
    margin: 0;
}

.wpform-subscribe .wpforms-field-label.floating {
    top: -6px;
    font-size: 12px;
    color: rgba(31, 34, 46, 1);
  }

.wpform-subscribe .wpforms-submit:hover {
    background: #CA0220;
}

.wpform-subscribe em.wpforms-error,
.wpform-subscribe .mailcheck-error {
    top: calc(100% + 6px);
    left: 20px;
    position: absolute;
    font-family: 'SFPro-Display', sans-serif !important;
}
.wpform-subscribe a.mailcheck-suggestion {
    color: inherit !important;
    text-decoration: underline !important;
    font-family: 'SFPro-Display', sans-serif !important;
}

/*Dark Style*/
.wpform-subscribe.dark form,
.wpform-subscribe.dark .email-field input  {
    background-color: #021639;
}
.wpform-subscribe.dark .email-field input {
    color: #fff;
}

.wpform-subscribe.dark .email-field input:-webkit-autofill,
.wpform-subscribe.dark .email-field input:-webkit-autofill:hover,
.wpform-subscribe.dark .email-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #021639 inset; /* or your desired color */
  box-shadow: 0 0 0 1000px #021639 inset;
  -webkit-text-fill-color: #fff; /* optional: change text color */
  transition: background-color 9999s ease-in-out 0s; /* optional trick to delay autofill style */
}

.wpform-subscribe.dark .email-field label {
    color: rgba(255, 255, 255, .64);
}
.wpform-subscribe.dark .wpforms-field-label.floating {
    color: #fff;
}


/*Video STYLE*/
.wpform-subscribe.video form {
    max-width: 100%;
}
.wpform-subscribe.video .wpforms-submit-container {
    width: 100%;
    max-width: 200px;
}

@media screen and (max-width: 767px) {
    .wpform-subscribe form {
        flex-direction: column;
        background-color: transparent !important;
        padding: 0;
        border-radius: 0;
        gap: 10px;
    }
    .wpform-subscribe .email-field input{
        border-radius: 5px;
        max-width: 100% !important;
    }
    .wpform-subscribe .wpforms-submit-container{
        max-width: 100% !important;
        width: 100% !important;
    }
    .wpform-subscribe em.wpforms-error {
        margin-top: 4px;
        position: static;
    }
}