.agcalc-landing-form{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem 1rem;
    box-sizing: border-box;
    width: min(39rem, 100%);
}

.agcalc-landing-form form {
    display: flex;
    flex-direction: column;
}

.agcalc-landing-form p{
    margin: 0;
    font-size: var(--s14);
    line-height: 1.55;
    color: rgba(255, 255, 255, .7);
}

.agcalc-landing-form__success{
    font-size: var(--s14);
    line-height: 1.5;
    color: rgba(255, 255, 255, .88);
}

.agcalc-landing-form__errors{
    padding: .9rem 1rem;
    border: 1px solid rgba(255, 139, 139, .28);
    border-radius: .875rem;
    background: rgba(255, 107, 107, .08);
    color: #ffb3b3;
    font-size: var(--s14);
    line-height: 1.4;
}

.agcalc-landing-form__field{
    margin-bottom: .7rem;
}

.agcalc-landing-form__field input,
.agcalc-landing-form__field select{
    width: 100%;
    min-height: 3.5rem;
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: .95rem 3.25rem .95rem 1.125rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 1rem;
    background-color: transparent;
    color: rgba(255, 255, 255, .92);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
    outline: none;
    box-shadow: none;
    transition:
        border-color .25s ease,
        background-color .25s ease,
        box-shadow .25s ease,
        color .25s ease;
}

.agcalc-landing-form__field input::placeholder{
    color: rgba(255, 255, 255, .48);
}

.agcalc-landing-form__field input:hover,
.agcalc-landing-form__field select:hover{
    border-color: rgba(255, 255, 255, .28);
}

.agcalc-landing-form__field input:focus,
.agcalc-landing-form__field select:focus{
    border-color: #65C5AA;
    box-shadow: 0 0 0 .2rem rgba(101, 197, 170, .16);
}

.agcalc-landing-form__field select{
    padding-right: 3.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4.5 6.75 9 11.25l4.5-4.5' stroke='rgba(255,255,255,0.72)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 1.125rem) center;
    background-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.agcalc-landing-form__field select:disabled{
    opacity: .55;
    cursor: not-allowed;
}

.agcalc-landing-form__field select option{
    color: #111;
    background: #fff;
}

.agcalc-landing-form__captcha{
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.agcalc-landing-form__error-text{
    color: #ff8d8d;
    font-size: var(--s14);
    line-height: 1.4;
}

.agcalc-landing-form .agcalc-landing-form__submit{
    margin-top: 1.2rem;
    min-height: 0;
    width: min(18rem, 100%);
    align-self: center;
    padding: 1rem 2.25rem;
    border-radius: .5rem;
    border: none;
    font-weight: 600;
    background: #5BAC96;
    color: black;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.agcalc-landing-form .agcalc-landing-form__submit:hover{
    transform: translateY(-1px);
    background: #79c9b0;
}

.agcalc-landing-form .agcalc-landing-form__submit:disabled{
    opacity: .7;
    cursor: wait;
}

.agcalc-landing-form__honeypot{
    display: none;
}

.agcalc-landing-form a{
    color: rgba(255, 255, 255, .92);
    text-decoration-color: rgba(255, 255, 255, .35);
    transition: color .2s ease, text-decoration-color .2s ease;
}

.agcalc-landing-form a:hover {
    color: #854385;
    text-decoration-color: currentColor;
}

.agcalc-landing-form .g-recaptcha {
    margin-top: 0;
}


@media (max-width: 767px){
    .agcalc-landing-form {
        gap: 1rem;
        padding: 1.25rem;
        width: 100%;
    }

    .agcalc-landing-form p {
        font-size: .95rem;
        line-height: 1.5;
    }

    .agcalc-landing-form form span {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: .75rem;
    }

    .agcalc-landing-form__field{
        margin-bottom: .7rem;
    }

    .agcalc-landing-form__field input,
    .agcalc-landing-form__field select {
        min-height: 3.25rem;
        font-size: .95rem;
        line-height: 1.35;
        border-radius: .875rem;
    }

    .agcalc-landing-form__field input {
        padding: .9rem 1rem;
    }

    .agcalc-landing-form__field select {
        padding: .9rem 3rem .9rem 1rem;
        background-position: calc(100% - 1rem) center;
        background-size: .95rem;
    }

    .agcalc-landing-form .agcalc-landing-form__submit {
        width: 100%;
        align-self: stretch;
        font-size: .95rem;
    }
}
