.cpf-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 34px;
}

.cpf-form-input {
    border: 2px solid #F098B6 !important;
    padding: 12px 20px;
    font-family: "Ubuntu";
    font-size: 16px;
    background: transparent;
    color: white !important;
}

.cpf-form-input::placeholder {
    color: white;
}

.cpf-form-textarea {
    grid-row: span 2;
    border: 2px solid #F098B6 !important;
    padding: 8px 12px;
    font-family: "Ubuntu";
    font-size: 16px;
    background: transparent;
    color: white;
    line-height: 100%;
}

.cpf-form-select {
    border: 2px solid #F098B6;
    padding: 12px 20px;
    font-family: "Ubuntu";
    font-size: 16px;
    background: transparent;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.cpf-form-select-selected {
    display: grid;
    grid-template-columns: 1fr auto;
    line-height: 1;
}

.cpf-form-select-options {
    display: none;
}

.cpf-form-select-options--active {
    display: block;
    position: absolute;
    top: 40px;
    background: white;
    color: #0F4040;
    width: 100%;
    left: 0;
    padding: 10px 0;
}

.cpf-form-select-option {
    padding: 0 20px;
}

.cpf-form-select-option:hover {
    color: white;
    background: #0F4040;
}

.cpf-form-submit {
    background: #F4DF46;
    padding: 10px;
    width: 100%;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #F4DF46;
    font-family: Ubuntu;
    font-size: 17px;
    color: #0F4040;
    font-weight: 500;
    transition: 250ms;
}

.cpf-form-submit:hover {
    background: transparent;
    color: #F4DF46;
}

.cpf-form-submit:disabled, .cpf-form-submit:disabled:hover  {
    background: #A0A0A0;
    border: 2px solid #A0A0A0;
    color: #0F4040;
	pointer-events: none;
	cursor: pointer;
}

.cpf-form-select-selected-icon--active img {
    transform: rotate(180deg);
}

.cpf-form-error,
.cpf-form-success {
    color: white;
    padding: 10px 20px;
    grid-column: 1 / 3;
    display: none;
}

.cpf-form-error {
    background: #D22F27;
}

.cpf-form-success {
    background: #2D8080;
}

.cpf-form-message--active {
    display: block;
}

.cpf-loader {
    width: 30px;
    height: 30px;
    border: 5px solid white;
    border-bottom-color: #2D8080;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

.cpf-form-submit .cpf-loader {
    display: none;
}

.cpf-form-submit--loading .cpf-loader {
    display: inline-block;
}

.cpf-form-submit--loading .cpf-form-submit-text {
    display: none;
}

@media (max-width: 767px) {
    .cpf-form {
        grid-template-columns: 1fr;
    }
}