.elementor-1152 .elementor-element.elementor-element-26502ec8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1152 .elementor-element.elementor-element-122cc17{--display:flex;border-style:solid;--border-style:solid;border-width:0px 0px 0px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:0px;--border-left-width:0px;--border-radius:15px 15px 15px 15px;}.elementor-1152 .elementor-element.elementor-element-122cc17:not(.elementor-motion-effects-element-type-background), .elementor-1152 .elementor-element.elementor-element-122cc17 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(180deg, #E6E6E6 0%, #F1F1F1 100%);}@media(min-width:768px){.elementor-1152 .elementor-element.elementor-element-26502ec8{--content-width:688px;}}/* Start custom CSS for html, class: .elementor-element-28ccec2c *//* ==============================================================================
   CLICK TO CALL WIDGET — Full CSS
   Yealin Communications — Dark theme with gold accent
   
   HOW TO USE:
   Paste ALL of this into Appearance → Customize → Additional CSS
   Replace any previous click-to-call CSS you have added before.
   ============================================================================== */


/* ------------------------------------------------------------------------------
   OUTER CONTAINER BOX
   The dark box that wraps the entire widget
   ------------------------------------------------------------------------------ */
.ctc-widget {
    //background-color: #ffffff;
    border: 0px solid #2a2a2a;
    border-radius: 8px;
    padding: 36px;
    max-width: 560px;
    margin: 0 auto;
    box-sizing: border-box;
}


/* ------------------------------------------------------------------------------
   HEADING — "Talk to us now"
   ------------------------------------------------------------------------------ */
.ctc-title {
    color: #3B3664 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
}


/* ------------------------------------------------------------------------------
   SUBTITLE — smaller paragraph below the heading
   ------------------------------------------------------------------------------ */
.ctc-subtitle {
    color: #aaaaaa !important;
    font-size: 15px !important;
    margin: 0 0 24px 0 !important;
    line-height: 1.6 !important;
}


/* ------------------------------------------------------------------------------
   INPUT + BUTTON ROW
   Keeps the input and button on the same line
   ------------------------------------------------------------------------------ */
.ctc-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex-wrap: wrap;
}


/* ------------------------------------------------------------------------------
   PHONE NUMBER INPUT FIELD
   ------------------------------------------------------------------------------ */
.ctc-input {
    flex: 1;
    min-width: 160px;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    /* background-color: #f1f2f3 !important; */
    background-color: #ffffff !important;
    color: #aaaaaa !important;
    border: 0px solid #aaaaaa !important;
    border-radius: 5px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

/* Gold border when the user clicks into the field */
.ctc-input:focus {
    border-color: #111111 !important;
    box-shadow: none !important;
    outline: none !important;
    color: #111111 !important;
    background-color: #ffffff !important;
    border: 1px solid #aaaaaa !important;
    border-radius: 5px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
}

/* Placeholder text colour */
.ctc-input::placeholder {
    color: #555555 !important;
    opacity: 1;
}


/* ------------------------------------------------------------------------------
   CALL ME NOW BUTTON
   Gold background matching the site's accent colour
   ------------------------------------------------------------------------------ */
.ctc-button {
    padding: 14px 26px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    background-color: #c9a84c !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    letter-spacing: 0.3px !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    text-decoration: none !important;
    display: inline-block;
}

/* Slightly darker gold when hovering */
.ctc-button:hover {
    background-color: #b8943d !important;
    color: #111111 !important;
    text-decoration: none !important;
}

/* Slight press-down effect when clicking */
.ctc-button:active {
    transform: scale(0.98) !important;
}

/* Dimmed appearance while the call is being placed */
.ctc-button:disabled,
.ctc-button[disabled] {
    background-color: #8a6e2a !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 1 !important;
}

/* Phone icon inside the button */
.ctc-phone-icon {
    /* ← change this to any colour you want */
    color: #ffffff !important;          
    /* Aligns the icon with the button text */
    vertical-align: middle;
    /* Space between icon and text */
    margin-right: 6px;       
    flex-shrink: 0;
    transition: color 0.2s ease;
}

/* Icon colour when button is hovered */
.ctc-button:hover .ctc-phone-icon {
    color: #ffffff;          /* ← hover colour — can be different if you want */
}

/* Icon colour when button is disabled (call being placed) */
.ctc-button:disabled .ctc-phone-icon,
.ctc-button[disabled] .ctc-phone-icon {
    color: #666666;          /* ← dimmed colour while connecting */
}


/* ------------------------------------------------------------------------------
   STATUS MESSAGE — appears below the form
   
   This paragraph starts empty and gets text + a colour class added by JavaScript:
     .ctc-success → GREEN  (call placed successfully)
     .ctc-error   → RED    (something went wrong)
     .ctc-info    → GREY   (connecting, please wait)
   ------------------------------------------------------------------------------ */
.ctc-status {
    display: block !important;
    margin: 16px 0 0 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    min-height: 24px !important;
    transition: color 0.2s ease !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* ✅ GREEN — shown when the call is placed successfully */
/* "Calling you now on 0412345678! Answer your phone..." */
.ctc-status.ctc-success,
p.ctc-status.ctc-success,
#ctc-status.ctc-success {
    color: #4caf50 !important;
}

/* ❌ RED — shown when something goes wrong */
/* "Something went wrong. Please try again." */
.ctc-status.ctc-error,
p.ctc-status.ctc-error,
#ctc-status.ctc-error {
    color: #f44336 !important;
}

/* ⏳ GREY — shown while connecting */
/* "Placing your call, please wait..." */
.ctc-status.ctc-info,
p.ctc-status.ctc-info,
#ctc-status.ctc-info {
    color: #aaaaaa !important;
}


/* ------------------------------------------------------------------------------
   MOBILE — stacks input above button on screens narrower than 520px
   ------------------------------------------------------------------------------ */
@media (max-width: 520px) {

    .ctc-widget {
        padding: 24px 20px;
    }

    .ctc-title {
        font-size: 19px !important;
    }

    .ctc-row {
        flex-direction: column;
        gap: 12px;
    }

    .ctc-input,
    .ctc-button {
        width: 100% !important;
        min-width: unset !important;
    }

    .ctc-button {
        text-align: center !important;
    }

}/* End custom CSS */