/*
 Theme Name:   Grillino Child
 Theme URI:    http://vecurosoft.com/products/wordpress/grillino/
 Description:  This is a child theme for Grillino WordPress Theme
 Author:       Vecurosoft
 Template:     grillino
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         two-columns, three-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, theme-options, editor-style, featured-images, microformats, post-formats,  sticky-post, threaded-comments, translation-ready
 Text Domain:  grillino-child
*/

/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */

/* ===== MiniCRM checkbox override ===== */

/* 1. Checkboxok biztos láthatósága */
form.TurnKeyCRM input[type="checkbox"] {
    display: inline-block !important;
    opacity: 1 !important;
    width: 16px !important;
    height: 16px !important;
    position: static !important;
    appearance: checkbox !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
}

/* 2. Checkbox + label sorok szépen egymás mellett */
form.TurnKeyCRM .SetLabel {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* 3. Checkbox felirat színe */
form.TurnKeyCRM .CheckBoxLabel {
    color: #000 !important;
}

/* 4. Ha a parent theme valahol display:none-t, opacity:0-t vagy visibility:hidden-et használ
   a checkboxokra, akkor ezt is felülírjuk minden lehetséges kombinációban */
form.TurnKeyCRM input[type="checkbox"] {
    visibility: visible !important;
    pointer-events: auto !important;
}

/* 5. Extra: a teljes form stílusa, hogy ne torzuljon */
form.TurnKeyCRM {
    max-width: 590px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
}

/* Label színek */
form.TurnKeyCRM label,
form.TurnKeyCRM legend {
    color: #000 !important;
}


form.TurnKeyCRM select {
    all: unset !important;          /* minden öröklődő stílust töröl */
    display: inline-block !important;
    width: 100% !important;         /* teljes szélesség, ha kell */
    max-width: 100% !important;
    padding: 6px 8px !important;
    font-family: inherit !important;
    font-size: 16px !important;
    color: #000 !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;  /* Safari/Chrome */
    -moz-appearance: none !important;     /* Firefox */
    appearance: none !important;
}