/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
.elementor-field.elementor-field-textual {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ===== Elementor Checkbox Styling (Full Box Highlight, No Animation) ===== */

/* Default option box */
.elementor-field-option {
    display: flex;
    align-items: center;
    border: 1px solid #1E1E1E;      /* default border */
    border-radius: 12px;
    padding: 10px 15px;
    background: #f8f6f1;            /* default background */
    cursor: pointer;
    margin-bottom: 10px;
}

/* Round checkbox circle */
.elementor-field-option input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #666;
    border-radius: 50%;
    background: transparent;        /* transparent by default */
    cursor: pointer;
    position: relative;
    margin-right: 10px;
}

/* When checked → circle border + background */
.elementor-field-option input[type="checkbox"]:checked {
    border: 4px solid #22DB22;   /* green border */
    background-color: #E3E3E3;   /* gray background */
}

/* Inner green circle */
.elementor-field-option input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22DB22;
    transform: translate(-50%, -50%); /* perfectly centered */
}

/* Inner black dot */
.elementor-field-option input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #000;
    transform: translate(-50%, -50%); /* perfectly centered */
}

/* ✅ Full box changes when checked */
.elementor-field-option:has(input[type="checkbox"]:checked) {
    border: 2px solid #22DB22 !important; /* green border */
    background-color: #E3E3E3 !important; /* gray background */
}

/* Label styling */
.elementor-field-option label {
    cursor: pointer;
    font-size: 16px;
    color: #333;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Highlight label when checked */
.elementor-field-option input[type="checkbox"]:checked + label {
    font-weight: 300;
    color: #000;
}

.elementor-field-subgroup {
    display: flex;
    flex-direction: column; /* stack vertically */
    gap: 6px;              /* 16px gap between each item */
}

#form-field-field_baf6747 {
    height: 35px !important;
    min-height: 35px !important;
    max-height: 35px !important;
    resize: none; /* optional: disable resizing */
}

/* Button rotate anime*/
.button-with-green-icon .elementor-button-icon svg {
  transition: transform 0.3s ease;
  transform: rotate(0deg); /* default state */
}

.button-with-green-icon:hover .elementor-button-icon svg {
  transform: rotate(-90deg); /* or rotate(90deg) for clockwise */
}

/* ===== Force all underlines in Elementor to #1E1E1E ===== */

/* Standard links */
a,
a:visited,
a:hover,
a:focus {
    text-decoration-color: #1E1E1E !important;
}

/* Manually underlined text (<u>) */
u,
ins {
    text-decoration-color: #1E1E1E !important;
}

/* Elementor Heading underline styles (Decoration style: underline) */
.elementor-heading-title.elementor-size-default,
.elementor-heading-title {
    text-decoration-color: #1E1E1E !important;
}

/* Elementor "animated underline" effects (pseudo elements) */
.elementor-widget-heading .elementor-heading-title:after,
.elementor-widget-heading .elementor-heading-title:before,
.elementor-widget-text-editor a:after,
.elementor-widget-text-editor a:before {
    background-color: #1E1E1E !important;
    border-color: #1E1E1E !important;
}
