/* iCheck plugin Square skin, customized with #519274 theme
---------------------------------------------------------- */
:root {
     --green:#419b62;
}

.icheckbox_square-blue,
.iradio_square-blue {
    display: inline-block;
    *display: inline;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    width: 22px;
    height: 22px;
/*    background-color: #ffffff !important; */
    border: 1px solid #d3cfc8 !important; 
    border-radius: 3px;
    cursor: pointer;
    background-image: none !important;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;

}

/* Checkbox states */
.icheckbox_square-blue {
    background-color: #ffffff !important;
}
/*.icheckbox_square-blue.checked {
    background-color: var(--green) !important;
    border-color: var(--green) !important;
}*/
.icheckbox_square-blue.hover {
    background-color: #e6f2ec !important; /* light green tint on hover */
}
/*.icheckbox_square-blue.checked {
    background-color: #519274 !important; 
    border-color: #519274 !important;
}*/
.icheckbox_square-blue.checked:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #ffffff; /* white tick */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.icheckbox_square-blue.disabled {
    background-color: #e0e0e0 !important; /* gray background for disabled */
    border-color: #bdbdbd !important;
    cursor: default;
}
.icheckbox_square-blue.checked.disabled {
    background-color: #bdbdbd !important;
    border-color: #a5a5a5 !important;
}

/* Radio button states */
.iradio_square-blue {
    background-color: #ffffff !important;
    border: 2px solid #519274 !important;
    border-radius: 50%;
    position: relative;
}
.iradio_square-blue.hover {
    background-color: #e6f2ec !important;
}
.iradio_square-blue.checked {
    background-color: #519274 !important;
    border-color: #417a5f !important;
}
.iradio_square-blue.checked:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    width: 8px;
    height: 8px;
    background: #ffffff; /* white dot inside */
    border-radius: 50%;
}
.iradio_square-blue.disabled {
    background-color: #e0e0e0 !important;
    border-color: #bdbdbd !important;
    cursor: default;
}
.iradio_square-blue.checked.disabled {
    background-color: #bdbdbd !important;
    border-color: #a5a5a5 !important;
}

/* Retina support */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (-moz-min-device-pixel-ratio: 1.5),
       only screen and (-o-min-device-pixel-ratio: 3/2),
       only screen and (min-device-pixel-ratio: 1.5) {
    .icheckbox_square-blue,
    .iradio_square-blue {
        background-image: none !important;
        -webkit-background-size: 22px 22px;
        background-size: 22px 22px;
    }
}
