/* Custom styles for the forms */
.ecc-custom-form {
    text-align: center;
    color: var(--main-color);
}

.ecc-custom-form label {
    font-weight: bold;
    padding: .5rem 0;
}

.ecf-label-text {
    display: none;
}

.ecc-custom-form input {
    border: 2px solid #CCCCCC !important;
    /* border-radius: .5rem; */
    padding: .6rem .7rem !important;
    font-size: 1em;
    display: inline-block;
    width: 100%;
}

.ecc-custom-form .ecf-gdpr-label input,
.ecc-custom-form .ecf-gdpr-label .ecf-label-text {
    display: inline !important;
    width: auto;
}

.ecc-custom-form button {
    background: var(--main-color);
    border: none;
    color: white;
    padding: 1rem 2rem;
    /* border-radius: 1rem; */
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.1em;
    transition: all .3s;
}

.ecc-custom-form button:hover {
    background-color: var(--secondary-color);
    color: white;
}

.ecc-custom-form .ecf-gdpr-label {
    display: block;
    padding: 1rem 0 1.5rem;
}

.ecc-custom-form .ecf-gdpr-label a {
    color: var(--link-color);
}

.ecc-custom-form .ecf-gdpr-label a:hover,
.ecc-custom-form .ecf-gdpr-label a:focus {
    color: var(--main-color);
}

.ecc-custom-form button:disabled {
    background-color: #666 !important;
    cursor: wait;
}

.ecc-custom-form label.ecf-gdpr-label .ecf-label-text {
    display: inline-block;
}

.ecc-custom-form .form-row {
    display: flex;
    gap: 1rem;
}

.ecc-custom-form .form-row label {
    width: 100%;
    display: inline-block;
}

.ecf-optin-form .form-row {
    display: block;
}

.ecf-optin-form {
    text-wrap: balance;
}

.ecf-optin-form .ecf-gdpr-label {
    font-size: 1rem;
    line-height: 1.1rem;
}

@media (max-width: 769px) {

    .ecc-custom-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .ecc-custom-form label {
        display: block;
        padding: 0 0 1rem;
    }

    .ecc-custom-form input {
        display: block;
        width: 100%;
    }

    .ecc-custom-form .ecf-gdpr-label {
        line-height: 1.3;
        font-size: .9em;
    }
}
