/*
 Theme Name: Blocksy Child theme - Chainwave
 Template: blocksy
 Version: 1.0.0
*/

/* Basic modal styling */
.service-modal-backdrop{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.65);z-index:99998;}
.service-modal{display:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:90%;max-width:640px;background:#fff;padding:24px;border-radius:10px;box-shadow:0 10px 40px rgba(0,0,0,.3);z-index:99999;}
.close-service-modal{background:transparent;border:0;font-size:18px;cursor:pointer;}
.services-wrapper {display: flex; margin-bottom: 1.5em;}



/* --- WRAPPER FLEX LAYOUT --- */
.services-wrapper .wpcf7-form-control.wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
}

/* --- EACH CHECKBOX ITEM --- */
.services-wrap .wpcf7-list-item {
    display: flex;
    align-items: center;
    margin-left: 0;
}

.services-wrap .wpcf7-list-item label .wpcf7-list-item-label {
    display: flex;
    align-items: center;
}


/* --- HIDE ORIGINAL CHECKBOX --- */
.services-wrap input[type="checkbox"] {
    display: none !important;
}

/* --- CUSTOM CHECKBOX BOX --- */
.services-wrap .wpcf7-list-item-label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

/* THE BOX */
.services-wrap .wpcf7-list-item-label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-radius: 3px;
    background: #fff;
    transition: all 0.2s ease-in-out;
}

/* CHECKMARK */
.services-wrap input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
    content: "✓";
    position: absolute;
    left: 3px;
    top: -1px;
    font-size: 18px;
    color: #ff6600; /* your orange brand color – change if needed */
    font-weight: bold;
}

/* BOX COLOR WHEN CHECKED */
.services-wrap input[type="checkbox"]:checked + .wpcf7-list-item-label:before {
    border-color: #ff6600;
}

/* HOVER EFFECT */
.services-wrap .wpcf7-list-item-label:hover:before {
    border-color: #ff6600;
}

/* ------------------------------
   Service Selector (Shortcode)
   ------------------------------ */

#bsc-service-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 0;
}

/* Label styling */
#bsc-service-selector label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    line-height: 1.4;
    cursor: pointer;
}

/* Checkbox styling */
#bsc-service-selector input[type="checkbox"] {
    display: none !important;
}

/* Wrapper */
#bsc-service-selector .bsc-option {
    position: relative;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Hide original checkbox */
#bsc-service-selector .bsc-option input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    left: 0;
}

/* Label */
#bsc-service-selector .bsc-option label {
    padding-left: 28px;
    cursor: pointer;
    position: relative;
    font-size: 16px;
}

/* Checkbox box */
#bsc-service-selector .bsc-option label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-radius: 4px;
    background: #fff;
    transition: 0.2s;
}

/* Checkmark when checked */
#bsc-service-selector .bsc-option input[type="checkbox"]:checked + label:after {
    content: "✓";
    position: absolute;
    left: 3px;
    top: 0px;
    font-size: 18px;
    font-weight: bold;
    color: #ff6600; /* orange brand */
}

/* Orange border when checked */
#bsc-service-selector .bsc-option input[type="checkbox"]:checked + label:before {
    border-color: #ff6600;
}


/* Remove ugly <br> spacing effect */
#bsc-service-selector br {
    display: none;
}

/* Button styling */
#bsc-service-selector .open-get-started-modal {
    background-color: #1c1c1c;
    color: #fff;
    border: none;
    padding: 18px 30px;
    font-size: 15px;
    border-radius: 0;
    cursor: pointer;
    transition: 0.2s;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: Mulish, Sans-Serif;
}

#bsc-service-selector .open-get-started-modal:hover {
    background: #fa5000;
}
