/* MiniCRM-es Elementor-urlapok: a regi dynamic-form kinezete szerint (2026-10) */
.rr-minicrm-form {
    --rr-minicrm-red: #ff645f;
    --rr-minicrm-error: #f44336;
}

/* jelolonegyzet: piros negyzet, feher pipa (mint a regi Material checkbox); az Elementor display:inline szabalyat (0,3,1) felul kell irni */
.rr-minicrm-form .elementor-field-subgroup .elementor-field-option input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    display: inline-block;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0 8px 0 2px;
    padding: 0;
    border: 2px solid rgba(0, 0, 0, .54);
    border-radius: 2px;
    background: #fff no-repeat center / 12px 12px;
    vertical-align: middle;
    cursor: pointer;
}
.rr-minicrm-form .elementor-field-subgroup .elementor-field-option input[type="checkbox"]:checked {
    border-color: var(--rr-minicrm-red);
    /* az elfogadas mezo "elementor-field" is, arra az Elementor widget-szintu mezo-hattere (0,6,0+) vonatkozik */
    background-color: var(--rr-minicrm-red) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.5' d='M4.1 12.7 9 17.6 20.3 6.3'/%3E%3C/svg%3E");
}
.rr-minicrm-form .elementor-field-subgroup .elementor-field-option input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--rr-minicrm-red);
    outline-offset: 2px;
}

/* kotelezo elfogadas: piros csillag a szoveg utan (a mezo-cimkeket az Elementor "Mark required" jeloli) */
.rr-minicrm-form .elementor-field-type-acceptance.elementor-field-required .elementor-field-option label::after {
    content: "*";
    color: var(--rr-minicrm-error);
    padding-left: .1em;
}

/* bekuldes gomb: piros, nyillal; ervenytelen urlapnal halvany */
.rr-minicrm-form .elementor-button[type="submit"],
.rr-minicrm-form .elementor-button[type="submit"]:hover,
.rr-minicrm-form .elementor-button[type="submit"]:focus {
    background-color: var(--rr-minicrm-red);
    color: #fff;
}
.rr-minicrm-form .elementor-button[type="submit"] {
    min-height: 52px;
    min-width: 270px;
    font-size: 20px;
    font-weight: 500;
    border-radius: 4px;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    transition: opacity .15s ease-in-out;
}
.rr-minicrm-form .elementor-button[type="submit"]:hover {
    filter: brightness(.95);
}
.rr-minicrm-form .elementor-button[type="submit"] .elementor-button-text::after {
    content: "\00a0\00bb";
}
.rr-minicrm-form .rr-form-invalid .elementor-button[type="submit"] {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none;
    filter: none;
}

/* hibas mezo: piros keret, cimke es uzenet; az uzenet helye mindig fenn van tartva, igy semmi nem mozdul el */
.rr-minicrm-form .rr-invalid .elementor-field-textual,
.rr-minicrm-form .rr-invalid .elementor-field-option input[type="checkbox"] {
    border-color: var(--rr-minicrm-error);
}
.rr-minicrm-form .rr-invalid .elementor-field-label,
.rr-minicrm-form .rr-invalid .elementor-field-option label {
    color: var(--rr-minicrm-error);
}
.rr-minicrm-form .rr-field-error {
    flex-basis: 100%;
    width: 100%;
    min-height: 16px;
    margin-top: 2px;
    color: var(--rr-minicrm-error);
    font-size: 12px;
    line-height: 16px;
}

/* telefon: a fix elotag a mezon belul, keret nelkul (a bal belso margot a JS allitja a merete szerint) */
.rr-minicrm-form .rr-phone-wrap {
    position: relative;
    width: 100%;
}
.rr-minicrm-form .rr-phone-prefix {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 12px;
    display: flex;
    align-items: center;
    pointer-events: none;
    white-space: nowrap;
}
