/*
Theme Name: WattMaestro
Description: Child theme for Hello Elementor.
Template: hello-elementor
Version: 1.0.0
Text Domain: wattmaestro
*/
body {
    font-family: "Outfit", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.wm-form {
    max-width: 550px;
}

/* ===== INPUTS ===== */
.wm-field input {
    border: none;
}

.wm-field {
    margin-bottom: 18px;
    width: 100%;
    height: 60px;
    padding: 19px 22px;
    border: 2px solid #3b4cca !important;
    border-radius: 6px;
    font-size: 20px;
    color: #3b4cca;
    background: #fff !important;
    outline: none;
    transition: 0.25s;
}

.wm-field::placeholder {
    color: #8f92d9;
    font-size: 18px;
}

.wm-field:focus {
    border-color: #2f3db5;
    background: #ffffff;
}

/* ===== CHECKBOX ===== */
.wm-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.wpcf7-list-item {
    margin-left: 0;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.wpcf7-list-item-label {
    padding-left: 40px;
    text-transform: none;
    font-size: 18px;
    color: #3838BB;
    font-family: "Outfit", sans-serif;
    position: relative;
    display: flex;
}

.wpcf7-list-item-label span {
    display: block;
}

.wpcf7-list-item-label::before {
    display: inline-block;
    content: '';
    width: 30px;
    height: 30px;
    border: 2px solid #3b3bb388;
    position: absolute;
    left: 0;
    top: 0;
    transition: 0.2s;
}

.wm-checkbox:checked+.wpcf7-list-item-label::before {
    border-color: #3b3bb3;
}

/* галочка */
.wm-checkbox:checked+.wpcf7-list-item-label::after {
    content: '✔';
    left: 6px;
    top: 5px;
    position: absolute;
    color: #22D380;
    font-size: 24px;
}

/* ===== BUTTON ===== */
.wm-submit {
    margin-top: 10px;
}

.wm-btn {
    position: relative;
    background: #3b3bb3;
    color: #fff;
    border: none;
    padding: 10px 21px;
    font-size: 16px !important;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.25s;
    display: inline-block;
    text-transform: unset !important;
    font-family: "Outfit"sans-serif;
    line-height: 1;
}

.wm-btn:hover {
    background: #2f2f99;
}

.nb-form p {
    width: 100%;
}

.nb-form .wm-btn {
    background: #ffffff;
    color: #3838BB;
}

.nb-form .wm-field {
    border: 2px solid #3E3ED0 !important;
    background: #fff !important;
}

/* иконка уголок */
.wm-btn-icon {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 8px;
    height: 8px;
    background: white;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.nb-form .wm-btn .wm-btn-icon {
    background: #3838BB;
}

.footer-form .wm-field {
    border-color: #ffffff6a !important;
    background: #ffffff6a !important;
    padding: 16px;
}

.footer-form .wm-field::placeholder {
    color: #fff;
}

.footer-form .wm-btn-icon {
    background: white;
}

.footer-form .gradien-btn {
    background: linear-gradient(90deg, #FF3C5D 0%, #FA2593 100%);
}

.popup-form {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

@media screen and (max-width: 768px) {
    .popup-form {
        flex-direction: column;
    }

}

.popup-form p {
    margin: 0;
    width: 100%;
}

.popup-form .wm-field {
    border-width: 0 !important;
    border-bottom: 1px solid #3838BB !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 15px 0;
    margin-bottom: 0;
    max-width: 1340px;
    height: 45px;
    width: 100%;
}

.popup-form .wm-field::placeholder {
    font-size: 16px !important;
}

.popup-form .wm-submit {
    margin-top: 0;
    flex-shrink: 0;
}

.wpcf7-response-output {
    opacity: 0;
    height: 0;
    width: 0;
    padding: 0 !important;
    margin: 0 !important;
    visibility: hidden;
    overflow: hidden;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

.invalid .wm-field {
    border-color: rgba(161, 3, 3, 0.918) !important;
}

.menu-open .top-menu-wrap {
    display: flex;
}

.bottom-header-wrap {
    left: -150% !important;
    opacity: 0;
    transition: 0.3s;
}

.menu-open .bottom-header-wrap {
    left: 0 !important;
    opacity: 1;
    transition: 0.3s;
}