 
    
    /* Google Fonts @import removed 2026-11-19: IBM Plex Sans + Titillium Web are self-hosted via Cloudflare Fonts (avoids a render-blocking request chain). */

    #emailAnswerBtn { display: none !important; }

    #mastek-ai-widget .floating-search-shell {
        visibility: hidden;
        opacity: 0;
    }
    
    #mastek-ai-widget.widget-ready .floating-search-shell {
        visibility: visible;
        opacity: 1;
    }
    
    .homepage-search-shell .landing-send,
    #mastek-ai-widget .floating-search-shell .landing-send {
        all: unset;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex: 0 0 auto;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        outline: none !important;
        padding: 0;
        margin: 0;
    }

    .homepage-search-shell .landing-send img,
    #mastek-ai-widget .floating-search-shell .landing-send img {
        width: 27px !important;
        height: 27px !important;
        display: block !important;
        object-fit: contain;
    }
    
    /* Scoped CSS to protect Elementor/WordPress */
    #mastek-ai-widget {
        font-family: "IBM Plex Sans", sans-serif;
        color: #2d3549;
        max-width: 100vw;
    }

    /* Reveal class applied by JS to prevent the glitch */
    #mastek-ai-widget.widget-ready {
        opacity: 1 !important;
        visibility: visible !important;
    }

    #mastek-ai-widget *,
    #mastek-ai-widget *::before,
    #mastek-ai-widget *::after {
        box-sizing: border-box;
    }

    #mastek-ai-widget button,
    #mastek-ai-widget input {
        font: inherit;
    }

    #mastek-ai-widget {
        --floating-search-bottom: max(18px, env(safe-area-inset-bottom));
        --floating-search-height: 68px;
        --floating-search-gap: 16px;
    }

    .homepage-search-shell {
        position: relative;
        z-index: 1;
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: clamp(48px, 0, 140px) 20px;
        display: flex;
        justify-content: center;
        background: transparent;
    }

    #mastek-ai-widget.homepage-search-hidden .homepage-search-shell {
        display: none;
    }

    #mastek-ai-widget .floating-search-shell {
        position: fixed;
        left: 50%;
        bottom: var(--floating-search-bottom);
        z-index: 1000001;
        width: clamp(340px, 28vw, 420px);
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        background: transparent;
        transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
    
    @media (min-width: 1299px) and (max-width: 1450px) {
        #mastek-ai-widget .floating-search-shell { width: 325px; }
    }

    #mastek-ai-widget.floating-search-gated .floating-search-shell {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    #mastek-ai-widget .floating-search-shell:hover,
    #mastek-ai-widget .floating-search-shell:focus-within,
    #mastek-ai-widget.popup-open .floating-search-shell {
        width: min(640px, calc(100vw - 48px));
    }

    #mastek-ai-widget .landing-search,
    #mastek-ai-widget .composer-bar,
    .homepage-search-shell .landing-search {
        display: flex;
        align-items: center;
        gap: 16px;
        background: rgba(255, 255, 255, 0.96);
        border-radius: 18px;
        min-height: 68px;
        padding: 10px 16px;
        box-shadow: 0 18px 36px rgba(81, 95, 147, 0.12);
        margin: 0 auto;
        position: relative;
    }

    #mastek-ai-widget .landing-search {
        text-align: left;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    #mastek-ai-widget .composer-bar {
        width: 100%;
        max-width: 760px;
    }

    .homepage-search-shell .composer-badge img,
    #mastek-ai-widget .composer-badge img {
        width: 34px;
        height: 34px;
        display: block;
        object-fit: contain;
    }
    .homepage-search-shell .composer-badge img {
        width: 40px; 
        height: auto; 
    }

    #mastek-ai-widget .landing-input,
    #mastek-ai-widget .composer-input,
    .homepage-search-shell .landing-input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: none;
        font-family: "Titillium Web", sans-serif;
        color: #242a39;
        background: transparent;
        line-height: 1.7;
        letter-spacing: 0;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .homepage-search-shell .landing-input {
        font-size: 15px !important;
    }

    #mastek-ai-widget .landing-input::placeholder,
    #mastek-ai-widget .composer-input::placeholder {
        color: #242a39;
        opacity: 0.8;
    }

    #mastek-ai-widget .landing-send,
    #mastek-ai-widget .composer-send {
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 14px;
        background: transparent;
        color: #334989;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        cursor: pointer;
        flex: 0 0 auto;
        transition: color 0.22s ease;
        position: relative;
    }

    #mastek-ai-widget .landing-send img,
    #mastek-ai-widget .composer-send img {
        transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #mastek-ai-widget .landing-send:hover img,
    #mastek-ai-widget .composer-send:hover img {
        transform: translateY(-2px);
    }

    /* --- AUDIO / MIC UI STYLES --- */
    .homepage-search-shell .mic-button,
    #mastek-ai-widget .mic-button {
        position: relative;
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 14px;
        background: transparent;
        color: #334989;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        cursor: pointer;
        flex: 0 0 auto;
        transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease, color 0.22s ease;
    }

    .homepage-search-shell .mic-button svg,
    #mastek-ai-widget .mic-button svg {
        width: 24px;
        height: 24px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.85;
        stroke-linecap: round;
        stroke-linejoin: round;
        display: block;
        margin: 0;
    }

    .homepage-search-shell .mic-button .check-icon,
    #mastek-ai-widget .mic-button .check-icon { display: none; }
    
    .homepage-search-shell .mic-button.is-recording .mic-icon,
    #mastek-ai-widget .mic-button.is-recording .mic-icon { display: none; }
    
    .homepage-search-shell .mic-button.is-recording .check-icon,
    #mastek-ai-widget .mic-button.is-recording .check-icon { display: block; }
    
    .homepage-search-shell .mic-button:hover,
    #mastek-ai-widget .mic-button:hover { transform: translateY(-1px); }

    .homepage-search-shell .mic-button.is-recording,
    #mastek-ai-widget .mic-button.is-recording {
        color: #e0435c;
        background: rgba(224, 67, 92, 0.12);
        border-radius: 999px;
    }

    .homepage-search-shell .mic-button:disabled,
    #mastek-ai-widget .mic-button:disabled {
        opacity: 0.55;
        cursor: not-allowed;
        transform: none;
    }

    /* Tooltips */
    .homepage-search-shell .mic-tooltip,
    #mastek-ai-widget .mic-tooltip,
    .homepage-search-shell .send-tooltip,
    #mastek-ai-widget .send-tooltip {
        position: absolute;
        bottom: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%) translateY(4px);
        background: #20242f;
        color: #ffffff;
        font-family: "IBM Plex Sans", sans-serif;
        font-size: 12.5px;
        font-weight: 500;
        letter-spacing: -0.01em;
        white-space: nowrap;
        padding: 6px 12px;
        border-radius: 8px;
		box-shadow: none;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
        z-index: 5;
    }

    .homepage-search-shell .mic-tooltip::after,
    #mastek-ai-widget .mic-tooltip::after,
    .homepage-search-shell .send-tooltip::after,
    #mastek-ai-widget .send-tooltip::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-width: 5px;
        border-style: solid;
        border-color: #20242f transparent transparent transparent;
    }

    .homepage-search-shell .mic-button:hover .mic-tooltip,
    #mastek-ai-widget .mic-button:hover .mic-tooltip,
    .homepage-search-shell .landing-send:hover .send-tooltip,
    #mastek-ai-widget .landing-send:hover .send-tooltip,
    #mastek-ai-widget .composer-send:hover .send-tooltip {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .homepage-search-shell .mic-button.is-recording .mic-tooltip,
    .homepage-search-shell .mic-button:disabled .mic-tooltip,
    #mastek-ai-widget .mic-button.is-recording .mic-tooltip,
    #mastek-ai-widget .mic-button:disabled .mic-tooltip,
    .homepage-search-shell .landing-send:disabled .send-tooltip,
    #mastek-ai-widget .landing-send:disabled .send-tooltip,
    #mastek-ai-widget .composer-send:disabled .send-tooltip {
        opacity: 0;
        pointer-events: none;
    }

    .homepage-search-shell .mic-cancel-button,
    #mastek-ai-widget .mic-cancel-button {
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 999px;
        background: rgba(224, 67, 92, 0.12);
        color: #e0435c;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        cursor: pointer;
        flex: 0 0 auto;
        transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
    }

    .homepage-search-shell .mic-cancel-button svg,
    #mastek-ai-widget .mic-cancel-button svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        display: block;
        margin: 0;
    }

    .homepage-search-shell .mic-cancel-button:hover,
    #mastek-ai-widget .mic-cancel-button:hover {
        background: rgba(224, 67, 92, 0.2);
        transform: translateY(-1px);
    }

    .homepage-search-shell .mic-cancel-button.is-visible,
    #mastek-ai-widget .mic-cancel-button.is-visible { display: flex; } /* Fixed from grid */

    .homepage-search-shell .voice-waveform,
    #mastek-ai-widget .voice-waveform {
        flex: 0 0 auto;
        width: 84px;
        height: 30px;
        display: block;
        border-radius: 10px;
        background: rgba(21, 131, 255, 0.06);
        box-shadow: inset 0 0 0 1px rgba(21, 131, 255, 0.14);
        opacity: 0;
        transform: scaleY(0.4);
        transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .homepage-search-shell .voice-waveform:not([hidden]),
    #mastek-ai-widget .voice-waveform:not([hidden]) {
        opacity: 1;
        transform: scaleY(1);
    }

    .homepage-search-shell .voice-waveform[hidden],
    #mastek-ai-widget .voice-waveform[hidden] { display: none; }

    @keyframes mic-pulse {
        0%, 100% { box-shadow: 0 0 0 0 rgba(224, 67, 92, 0.45); }
        50% { box-shadow: 0 0 0 8px rgba(224, 67, 92, 0); }
    }
    /* --- END AUDIO / MIC UI STYLES --- */

    /* Floating results panel */
    #mastek-ai-widget .popup-modal {
        position: fixed;
        left: 50%;
        right: auto;
        top: auto;
        bottom: calc(var(--floating-search-bottom) + var(--floating-search-height) + var(--floating-search-gap));
        width: min(960px, calc(100vw - 48px));
        height: min(72vh, calc(100dvh - var(--floating-search-height) - var(--floating-search-bottom) - 56px));
        z-index: 1000000;
        background: transparent;
        display: flex;
        justify-content: center;
        align-items: stretch;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, 12px) scale(0.98);
        transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    }
    
    #mastek-ai-widget.popup-open .popup-modal {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0) scale(1);
        transition: opacity 0.3s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
    }

    /* Structural Wrapper */
    #mastek-ai-widget .popup-container-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        max-height: 100%;
        display: flex;
        flex-direction: column;
    }

    #mastek-ai-widget .popup-content {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    /* Close Button */
    #mastek-ai-widget .close-button {
        position: absolute;
        top: -18px;
        right: -18px;
        z-index: 9999999;
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.72);
        color: #314783;
        box-shadow: 0 8px 18px rgba(60, 75, 124, 0.16);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        cursor: pointer;
        backdrop-filter: blur(12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.3s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.3s;
    }

    #mastek-ai-widget.popup-open .close-button {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity 0.3s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
    }

    #mastek-ai-widget .close-button:hover {
        transform: translateY(-1px);
    }

    /* Shell / Assistant Layout */
    #mastek-ai-widget .shell {
        display: grid;
        grid-template-columns: 92px 1fr;
        grid-template-rows: 1fr;
        flex: 1;
        min-height: 0;
        background: linear-gradient(180deg, rgba(248, 248, 255, 0.85) 0%, rgba(235, 245, 255, 0.8) 100%);
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 22px;
        box-shadow: 0 32px 60px rgba(81, 95, 147, 0.14);
        overflow: hidden;
        transform: translateY(10px) scale(0.992);
        transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
        text-align: left;
    }

    #mastek-ai-widget.popup-open .shell {
        transform: translateY(0) scale(1);
    }

    #mastek-ai-widget .rail {
        background: rgba(255, 255, 255, 0.9);
        border-right: 1px solid rgba(187, 197, 229, 0.42);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 86px 12px 22px;
    }

    #mastek-ai-widget .rail-actions {
        display: flex;
        flex-direction: column;
        gap: 18px;
        width: 100%;
        align-items: center;
    }

    #mastek-ai-widget .rail-button {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        border: 0;
        background: transparent;
        color: #4a5974;
        cursor: pointer;
        transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease, color 0.22s ease;
    }

    #mastek-ai-widget .rail-button.active {
        background: #c8d5ff;
        color: #425895;
        box-shadow: inset 0 0 0 1px rgba(88, 108, 170, 0.08);
    }

    #mastek-ai-widget .toolbar-button {
        min-width: 42px;
        height: 42px;
        border-radius: 12px;
        color: #334989;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 0 10px;
        border: 0;
        background: transparent;
        cursor: pointer;
        transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease, color 0.22s ease;
    }

    #mastek-ai-widget .rail-button svg,
    #mastek-ai-widget .toolbar-button svg,
    #mastek-ai-widget .composer-send svg,
    #mastek-ai-widget .landing-send svg,
    #mastek-ai-widget .close-button svg {
        width: 24px;
        height: 24px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.85;
        stroke-linecap: round;
        stroke-linejoin: round;
        display: block;
        margin: 0;
        padding: 0;
    }

    #mastek-ai-widget .rail-button:hover,
    #mastek-ai-widget .toolbar-button:hover {
        transform: translateY(-1px);
    }

    #mastek-ai-widget .rail-spacer {
        flex: 1;
    }

    #mastek-ai-widget .workspace {
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 26px;
        min-height: 0;
        text-align: left;
    }

    #mastek-ai-widget .response-panel {
        flex: 1;
        background: linear-gradient(180deg, rgba(246, 246, 255, 0.88) 0%, rgba(220, 239, 255, 0.7) 100%);
        border-radius: 28px;
        padding: 30px 44px 24px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        min-height: 0;
        overflow: hidden;
    }

    #mastek-ai-widget .conversation-history,
    #mastek-ai-widget .saved-history-panel {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        scrollbar-gutter: stable;
    }

    #mastek-ai-widget .conversation-history {
        padding-right: 8px;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    #mastek-ai-widget [hidden] {
        display: none !important;
    }

    #mastek-ai-widget .conversation-scroll {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    #mastek-ai-widget .conversation-empty {
        margin: auto 0 0;
        color: #5a6478;
        font-size: 16px;
        line-height: 1.7;
        text-align: left;
    }

    #mastek-ai-widget .history-turn {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #mastek-ai-widget .saved-history-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    #mastek-ai-widget .saved-history-empty {
        margin: 0;
        color: #5a6478;
        font-size: 15px;
        line-height: 1.6;
    }

    #mastek-ai-widget .saved-history-item {
        width: 100%;
        border: 1px solid rgba(187, 197, 229, 0.5);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.9);
        padding: 16px 18px;
        text-align: left;
        color: inherit;
        cursor: pointer;
        transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease;
    }

    #mastek-ai-widget .saved-history-item:hover {
        transform: translateY(-1px);
        border-color: rgba(88, 108, 170, 0.28);
        box-shadow: 0 10px 20px rgba(84, 105, 150, 0.12);
    }

    #mastek-ai-widget .saved-history-meta {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 8px;
        color: #5a6478;
        font-size: 13px;
    }

    #mastek-ai-widget .saved-history-title {
        margin: 0 0 6px;
        color: #2d417d;
        font-family: "Titillium Web", sans-serif;
        font-size: 18px;
        font-weight: 600;
    }

    #mastek-ai-widget .saved-history-preview {
        margin: 0;
        color: #465063;
        font-size: 15px;
        line-height: 1.6;
    }

    #mastek-ai-widget .history-message {
        max-width: min(92%, 860px);
        border-radius: 18px;
        padding: 14px 16px;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.64);
        text-align: left;
    }

    #mastek-ai-widget .history-message.user {
        align-self: flex-end;
        background: linear-gradient(180deg, rgba(194, 207, 255, 0.96) 0%, rgba(174, 191, 255, 0.96) 100%);
        color: #202532;
    }

    #mastek-ai-widget .history-message.bot {
        align-self: flex-start;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(187, 197, 229, 0.5);
        color: #465063;
    }

    #mastek-ai-widget .message-feedback {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 10px;
    }

    #mastek-ai-widget .feedback-button {
        width: 30px;
        height: 30px;
        border: 1px solid rgba(187, 197, 229, 0.72);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.8);
        color: #64708a;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        cursor: pointer;
        transition:
            background 0.18s ease,
            border-color 0.18s ease,
            color 0.18s ease,
            transform 0.18s ease;
    }

    #mastek-ai-widget .feedback-button:hover:not(:disabled) {
        border-color: rgba(51, 73, 137, 0.42);
        color: #334989;
        transform: translateY(-1px);
    }

    #mastek-ai-widget .feedback-button.is-selected {
        background: #334989;
        border-color: #334989;
        color: #ffffff;
    }

    #mastek-ai-widget .feedback-button:disabled {
        cursor: not-allowed;
        opacity: 0.64;
        transform: none;
    }

    #mastek-ai-widget .feedback-button svg {
        width: 15px;
        height: 15px;
        display: block;
    }

    #mastek-ai-widget .feedback-button svg path {
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    #mastek-ai-widget .feedback-button.is-selected svg path {
        fill: none;
        stroke: #ffffff;
    }

    #mastek-ai-widget .history-label {
        display: block;
        margin-bottom: 6px;
        color: #2d3549;
        font-family: "Titillium Web", sans-serif;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        text-align: left;
    }

    #mastek-ai-widget .history-message.user .history-label {
        color: rgba(32, 37, 50, 0.72);
    }

    #mastek-ai-widget .answer-copy,
    #mastek-ai-widget .history-content,
    #mastek-ai-widget .follow-up-card p,
    #mastek-ai-widget .follow-up-card li {
        font-size: 17px;
        line-height: 1.7;
        letter-spacing: 0;
        text-align: left;
    }

    #mastek-ai-widget .history-content p {
        margin: 0 0 14px;
        color: #465063;
    }

    #mastek-ai-widget .answer-copy.is-streaming::after {
        content: "";
        display: inline-block;
        width: 8px;
        height: 1.1em;
        margin-left: 4px;
        background: #1583ff;
        vertical-align: -2px;
        animation: blink 0.8s steps(1) infinite;
    }

    #mastek-ai-widget .answer-copy ul,
    #mastek-ai-widget .answer-copy ol,
    #mastek-ai-widget .history-content ul,
    #mastek-ai-widget .history-content ol,
    #mastek-ai-widget .question-list {
        margin: 0;
        padding-left: 26px;
        text-align: left;
    }

    #mastek-ai-widget .answer-copy ul,
    #mastek-ai-widget .answer-copy ol,
    #mastek-ai-widget .history-content ul,
    #mastek-ai-widget .history-content ol,
    #mastek-ai-widget .history-content pre,
    #mastek-ai-widget .history-content h1,
    #mastek-ai-widget .history-content h2,
    #mastek-ai-widget .history-content h3 {
        margin: 0 0 0.8em;
    }

    #mastek-ai-widget .answer-copy li,
    #mastek-ai-widget .history-content li,
    #mastek-ai-widget .question-list li {
        margin: 0 0 6px;
        color: #4c5567;
    }

    #mastek-ai-widget .answer-copy li::marker,
    #mastek-ai-widget .history-content li::marker,
    #mastek-ai-widget .question-list li::marker {
        color: #4c5567;
    }

    #mastek-ai-widget .answer-copy strong,
    #mastek-ai-widget .history-content strong {
        color: #465063 !important;
        font-weight: 800;
    }

    #mastek-ai-widget .answer-copy a,
    #mastek-ai-widget .history-content a {
        color: #0d4cd3;
        text-decoration: underline;
    }

    #mastek-ai-widget .answer-copy code,
    #mastek-ai-widget .history-content code {
        font-family: monospace;
        font-size: 0.92em;
        background: rgba(19, 19, 22, 0.07);
        border-radius: 6px;
        padding: 0.08em 0.3em;
    }

    #mastek-ai-widget .answer-copy pre,
    #mastek-ai-widget .history-content pre {
        background: rgba(19, 19, 22, 0.06);
        border: 1px solid rgba(187, 197, 229, 0.5);
        border-radius: 10px;
        padding: 10px 12px;
        overflow-x: auto;
    }

    #mastek-ai-widget .answer-copy h1,
    #mastek-ai-widget .history-content h1 {
        color: #2d3549;
        font-size: 24px;
        margin: 0 0 0.8em;
    }

    #mastek-ai-widget .follow-up-card {
        padding: 0;
        margin-top: -2px;
        text-align: left;
    }

    #mastek-ai-widget .agentic-action-card {
        padding: 0;
        margin-top: 16px;
        display: flex;
        justify-content: flex-start;
        overflow: visible;
        text-align: left;
    }

    #mastek-ai-widget .agentic-action-button {
        border: 0;
        border-radius: 14px;
        background: linear-gradient(135deg, #2e447f 0%, #3a549a 50%, #2e447f 100%);
        background-size: 200% 200%;
        color: #ffffff;
        font-family: "Titillium Web", sans-serif;
        font-size: 15px;
        font-weight: 600;
        padding: 14px 28px;
        cursor: pointer;
        transition: box-shadow 0.2s ease, background-position 0.4s ease;
        box-shadow: none;
    }

    #mastek-ai-widget .agentic-action-button:hover {
        box-shadow: none;
        background-position: right center;
		color: #ffffff !important;
    }

    #mastek-ai-widget .agentic-action-button:active {
        box-shadow: none;
    }

    #mastek-ai-widget .question-list button {
        border: 0;
        background: transparent;
        padding: 0;
        color: inherit;
        text-align: left;
        cursor: pointer;
        font: inherit;
        transition: transform 0.2s ease;
    }

    #mastek-ai-widget .question-list button:hover {
        color: #2b3f7b;
        transform: translateX(4px);
    }

    #mastek-ai-widget .toolbar {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    #mastek-ai-widget .toolbar-group {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    #mastek-ai-widget .composer-wrap {
        display: none;
        margin-top: auto;
        background: #ccecff;
        border-radius: 22px;
        padding: 18px 18px 14px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }

    #mastek-ai-widget .composer-note {
        margin: 14px 6px 0;
        text-align: center;
        color: #4b5b73;
        font-size: 13px;
        line-height: 1.45;
    }

    #mastek-ai-widget .inline-status {
        display: inline-flex;
        align-items: baseline;
        white-space: nowrap;
        min-height: 22px;
        margin: 0 0 8px 0;
        color: #242a39;
        font-family: "Titillium Web", sans-serif;
        font-size: 15px;
        font-weight: 600;
    }

    #mastek-ai-widget .inline-status.is-thinking::after {
        content: "...";
        display: inline-block;
        width: 0;
        overflow: hidden;
        vertical-align: bottom;
        animation: thinking-dots 1.2s steps(4, end) infinite;
    }

    #mastek-ai-widget .flash-active {
        background: rgba(52, 73, 137, 0.08);
    }

    #mastek-ai-widget .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }

    @keyframes blink {
        50% { opacity: 0; }
    }

    @keyframes thinking-dots {
        from { width: 0; }
        to { width: 1.2em; }
    }

    #mastek-ai-widget .landing-send:disabled,
    #mastek-ai-widget .composer-send:disabled,
    #mastek-ai-widget .toolbar-button:disabled,
    #mastek-ai-widget .close-button:disabled {
        opacity: 0.55;
        cursor: not-allowed;
        transform: none;
    }

    /* Responsive Adjustments */
    @media (max-width: 1240px) {
        #mastek-ai-widget .close-button {
            top: 12px;
            right: 12px;
        }
    }

    @media (max-width: 960px) {
        #mastek-ai-widget {
            --floating-search-bottom: max(12px, env(safe-area-inset-bottom));
            --floating-search-gap: 12px;
        }

        #mastek-ai-widget .floating-search-shell {
            width: clamp(220px, 60vw, 260px);
        }

        #mastek-ai-widget .floating-search-shell:hover,
        #mastek-ai-widget .floating-search-shell:focus-within,
        #mastek-ai-widget.popup-open .floating-search-shell {
            width: calc(100vw - 24px);
        }

        #mastek-ai-widget .popup-modal {
            left: 50%;
            bottom: calc(var(--floating-search-bottom) + var(--floating-search-height) + var(--floating-search-gap));
            width: calc(100vw - 24px);
            height: min(72vh, calc(100dvh - var(--floating-search-height) - var(--floating-search-bottom) - 42px));
            padding: 0;
            align-items: stretch;
        }

        #mastek-ai-widget .popup-container-wrapper {
            height: 100%;
            max-height: 100%;
            overflow: hidden;
        }

        #mastek-ai-widget .shell {
            grid-template-columns: 1fr;
            grid-template-rows: auto 1fr;
            border-radius: 22px;
            transform: none;
        }

        #mastek-ai-widget .rail { 
            flex-direction: row; 
            justify-content: flex-start; 
            align-items: center;
            padding: 12px 64px 12px 16px; 
            border-right: 0; 
            border-bottom: 1px solid rgba(187, 197, 229, 0.42); 
            height: auto; 
            min-height: 68px;
        }

        #mastek-ai-widget .rail-actions { 
            flex-direction: row; 
            justify-content: flex-start; 
            width: auto; 
            gap: 12px;
        }

        #mastek-ai-widget .rail-spacer { display: none; }
        #mastek-ai-widget .response-panel { padding: 20px 16px 16px; border-radius: 0; }

        #mastek-ai-widget .close-button { 
            top: 12px; 
            right: 12px; 
            width: 44px; 
            height: 44px; 
        }
        #mastek-ai-widget .rail-button {
            width: 44px;
            height: 44px;
        }
    }

    @media (max-width: 720px) {
        #mastek-ai-widget .landing-search,
        #mastek-ai-widget .composer-bar {
            gap: 12px;
            min-height: 62px;
            padding: 9px 12px;
        }
        .homepage-search-shell {
            position: relative !important;
            width: calc(100% - 24px) !important;
            left: 0 !important;
            right: 0 !important;
            margin-left: auto !important;
            margin-right: auto !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

        #mastek-ai-widget .floating-search-shell {
            --floating-search-height: 62px;
        }

        #mastek-ai-widget .landing-input,
        #mastek-ai-widget .composer-input {
            font-size: 15px;
        }
    }

    /* HubSpot Form Modal */
    #mastek-ai-widget .hubspot-form-modal {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        z-index: 9999999;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    #mastek-ai-widget .hubspot-form-modal-overlay {
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    #mastek-ai-widget .hubspot-form-modal-container {
        position: relative;
        width: 100%;
        max-width: 520px;
        height: auto;
        max-height: 90vh !important;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 22px;
        box-shadow: 0 32px 60px rgba(81, 95, 147, 0.2);
        overflow: visible !important; /* <--- CHANGED TO VISIBLE */
        display: flex !important;
        flex-direction: column !important;
    }

    #mastek-ai-widget .hubspot-form-close {
        position: absolute;
        top: -18px;
        right: -18px;
        z-index: 9999999;
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.72);
        color: #314783;
        box-shadow: 0 8px 18px rgba(60, 75, 124, 0.16);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        cursor: pointer;
        backdrop-filter: blur(12px);
        transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, box-shadow 0.2s ease;
    }

    #mastek-ai-widget .hubspot-form-close:hover {
        transform: translateY(-1px);
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 10px 20px rgba(60, 75, 124, 0.2);
    }

    #mastek-ai-widget .hubspot-form-close:active {
        box-shadow: 0 2px 6px rgba(60, 75, 124, 0.1);
    }

    #mastek-ai-widget .hubspot-form-close svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        display: block;
    }
	
	@media (max-width: 1240px) {
        #mastek-ai-widget .hubspot-form-close {
            top: 12px;
            right: 12px;
        }
    }

    #mastek-ai-widget .hubspot-form-container {
        padding: 32px 28px 28px;
        overflow-y: auto;
    }

    

    #mastek-ai-widget .hubspot-form-loading-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(46, 68, 127, 0.25);
        animation: hubspot-loading-pulse 1.2s ease-in-out infinite;
    }

    #mastek-ai-widget .hubspot-form-loading-dot:nth-child(2) {
        animation-delay: 0.15s;
    }

    #mastek-ai-widget .hubspot-form-loading-dot:nth-child(3) {
        animation-delay: 0.3s;
    }

    @keyframes hubspot-loading-pulse {
        0%, 100% { opacity: 0.4; transform: scale(0.85); }
        50% { opacity: 1; transform: scale(1); }
    }
    
    .homepage-search-shell .landing-search,
    .homepage-search-shell .homepage-search-bar {
        display: flex;
        align-items: center;
        gap: 16px;
        background: rgba(255, 255, 255, 0.96);
        border-radius: 18px;
        min-height: 68px;
        padding: 10px 16px;
        box-shadow: 0 18px 36px rgba(81, 95, 147, 0.12);
        width: calc(100% - 24px);
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    #mastek-ai-widget .floating-search-shell:hover .landing-search,
    #mastek-ai-widget .floating-search-shell:focus-within .landing-search,
    #mastek-ai-widget.popup-open .floating-search-shell .landing-search {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    #mastek-ai-widget .popup-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.18);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 999999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    #mastek-ai-widget.popup-open .popup-backdrop {
        opacity: 1;
        visibility: visible;
    }
	
	/* 1. Red Cancel (X) Button */
    .homepage-search-shell .mic-cancel-button,
    #mastek-ai-widget .mic-cancel-button {
        color: #ff3b3b !important; /* Red icon color */
        background: rgba(255, 59, 59, 0.15) !important; /* Light red background */
    }

    .homepage-search-shell .mic-cancel-button:hover,
    #mastek-ai-widget .mic-cancel-button:hover {
        background: rgba(255, 59, 59, 0.25) !important; /* Slightly darker red on hover */
        /* !important forces the border and shadow to appear */
        box-shadow: 0 0 0 1px #ff3b3b, 0 4px 14px rgba(255, 59, 59, 0.4) !important;
        transform: translateY(-1px);
    }

   /* 2. Green Confirm (Check) Button */
    .homepage-search-shell .mic-button.is-recording,
    #mastek-ai-widget .mic-button.is-recording {
        color: #10b981 !important; /* Green icon color */
        background: rgba(16, 185, 129, 0.15) !important; /* Light green background */
    }

    .homepage-search-shell .mic-button.is-recording:hover,
    #mastek-ai-widget .mic-button.is-recording:hover {
        background: rgba(16, 185, 129, 0.25) !important; /* Slightly darker green on hover */
        /* !important forces the border and shadow to appear */
        box-shadow: 0 0 0 1px #10b981, 0 4px 14px rgba(16, 185, 129, 0.4) !important;
        transform: translateY(-1px);
    }
	
	.homepage-search-shell #homeMicBtn, #mastek-ai-widget #homeMicBtn {
        width: 40px !important;
        height: 40px !important;
    } 
	
	.homepage-search-shell #floatingMicBtn, #mastek-ai-widget #floatingMicBtn{
		width: 40px !important;
        height: 40px !important;
	}
	
	#mastek-ai-widget .answer-copy a:focus,
    #mastek-ai-widget .history-content a:focus,
    #mastek-ai-widget .answer-copy a:active,
    #mastek-ai-widget .history-content a:active {
        outline: none !important;
        box-shadow: none !important;
    }
	
	
	@media (max-width: 960px) {
    #mastek-ai-widget .close-button {
        top: 12px;   /* Brings it back inside on tablet/mobile */
        right: 12px; 
        width: 44px;
        height: 44px;
    }
}
	
/* 	Hubspot form styling */
	
/* --- Modern Form Styles with Icons --- */

/* Form Header */
.custom-form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    text-align: left;
}
.custom-form-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e447f;
    flex-shrink: 0;
}
.custom-form-header-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}
.custom-form-header-text h2 {
    margin: 0 0 4px 0;
    font-family: 'Titillium Web', sans-serif;
    font-size: 22px;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.2;
}
.custom-form-header-text p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Step progress */
.custom-form-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.custom-form-progress-meta {
    display: flex;
    align-items: center;
    color: #64748b;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12px;
    line-height: 1.4;
}
#customFormStepLabel {
    color: #2e447f;
    font-weight: 700;
    white-space: nowrap;
}
.custom-form-progress-track {
    width: 100%;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8edf8;
}
.custom-form-progress-track span {
    display: block;
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: #2e447f;
    transition: width 0.28s ease;
}

/* Individual form steps */
.custom-form-step {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: custom-form-step-in 0.28s ease both;
}
.custom-form-step[hidden] {
    display: none !important;
}
.custom-form-question {
    margin: 0;
    color: #1e293b;
    font-family: 'Titillium Web', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}
.custom-form-field-row {
    display: flex;
    gap: 16px;
}
.custom-form-field {
    flex: 1;
    min-width: 0;
}
.custom-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 4px;
}
.custom-form-actions-forward {
    justify-content: flex-end;
}
.custom-form-back,
.custom-form-next {
    min-height: 46px;
    border-radius: 8px;
    padding: 11px 24px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.custom-form-back {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #2e447f;
}
.custom-form-back:hover {
    border-color: #2e447f;
    background: #f8faff;
}
.custom-form-next {
    min-width: 132px;
    border: 0;
    background: linear-gradient(135deg, #2e447f 0%, #3a549a 100%);
    box-shadow: 0 8px 16px rgba(46, 68, 127, 0.15);
    color: #ffffff;
}
.custom-form-next:hover {
    background: linear-gradient(135deg, #1e3163 0%, #2e447f 100%);
    box-shadow: 0 10px 20px rgba(46, 68, 127, 0.22);
    transform: translateY(-1px);
    color: #ffffff !important; 
}
	.custom-form-next:active {
    color: #ffffff !important;
}
.custom-form-back:focus-visible,
.custom-form-next:focus-visible {
    outline: 2px solid #2e447f;
    outline-offset: 3px;
}
.custom-form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 2px;
}
.custom-form-privacy input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    flex-shrink: 0;
    accent-color: #2e447f;
    cursor: pointer;
}
.custom-form-privacy label {
    color: #4a5974;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}
.custom-form-privacy a {
    color: #2e447f;
    text-decoration: underline;
}

@keyframes custom-form-step-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input Fields & Icons */
.custom-form-label {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #4a5974;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 8px;
    text-align: left;
}
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.input-with-icon .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #2e447f;
    pointer-events: none;
    z-index: 10 !important; /* Forces the icon to ALWAYS stay above the input */
    stroke-width: 1.8;
}
.textarea-with-icon .input-icon {
    top: 24px; /* Aligns the icon perfectly with the first line of the textarea */
}
.custom-form-input {
    width: 100%;
    padding: 12px 16px 12px 42px !important; /* !important prevents your theme from overriding the left gap */
    border: 1px solid #e2e8f0;
    border-radius: 6px; 
    background-color: #ffffff;
    font-size: 14px;
    color: #0f172a;
    box-sizing: border-box;
    transition: all 0.25s ease;
    font-family: 'IBM Plex Sans', sans-serif;
    position: relative;
    z-index: 1; /* Keeps the input field below the icon */
}
.custom-form-input::placeholder {
    color: #64748b;
    opacity: 0.9;
}
.custom-form-input:hover {
    border-color: #cbd5e1;
}
.custom-form-input:focus {
    outline: none !important;
    border: 1px solid #2e447f !important; /* Forces a solid line, killing the dotted theme border */
    box-shadow: 0 0 0 3px rgba(46, 68, 127, 0.1) !important;
    z-index: 1;
}

/* --- Fix: Keeps the Close Button fixed and forces internal scrolling --- */
#mastek-ai-widget .hubspot-form-modal-container {
    display: flex !important;
    flex-direction: column !important;
    max-height: 90vh !important; 
    height: fit-content !important; /* Forces the white box to perfectly wrap the form */
}

/* Hide Scrollbar completely & enforce internal scrolling */
#customContactFormContainer {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    min-height: 0 !important;
    flex: 0 1 auto !important; /* '0' prevents the form from stretching to create empty space below the button */
    overflow-y: auto;
    padding-bottom: 24px !important; /* Ensures a perfect, clean gap below the submit button */
}
#customContactFormContainer::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

/* Submit Button */
.custom-form-submit {
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #2e447f 0%, #3a549a 100%);
    color: #ffffff;
    font-family: 'Titillium Web', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 28px;
    cursor: pointer;
    width: 100%;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 8px 16px rgba(46, 68, 127, 0.15);
}
.custom-form-submit svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform 0.2s ease;
}
.custom-form-submit:hover:not(:disabled) {
    box-shadow: 0 10px 20px rgba(46, 68, 127, 0.25);
    background: linear-gradient(135deg, #1e3163 0%, #2e447f 100%);
}
	
	.custom-form-submit:hover:not(:disabled) {
    box-shadow: 0 10px 20px rgba(46, 68, 127, 0.25);
    background: linear-gradient(135deg, #1e3163 0%, #2e447f 100%);
    color: #ffffff !important; /* Forces the text to stay white on hover */
}

/* Add this right below it to protect the click (active) state as well */
.custom-form-submit:active:not(:disabled) {
    color: #ffffff !important; /* Forces the text to stay white while clicking */
}
.custom-form-submit:hover:not(:disabled) svg {
    transform: translateX(4px); /* Arrow moves right on hover */
}
.custom-form-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}
.custom-form-actions-submit .custom-form-submit {
    width: auto;
    min-height: 46px;
    margin-top: 0;
    flex: 1;
}

@media (prefers-reduced-motion: reduce) {
    .custom-form-step {
        animation: none;
    }
    .custom-form-progress-track span,
    .custom-form-back,
    .custom-form-next {
        transition: none;
    }
}
	


/* --- Mobile & Tablet Responsiveness --- */
@media (max-width: 768px) {
    #mastek-ai-widget .hubspot-form-modal {
        padding: 80px 16px 24px 16px !important; /* Protects your site menu */
        align-items: flex-start !important; 
    }
    
    #mastek-ai-widget .hubspot-form-modal-container {
        max-height: calc(100vh - 100px) !important; /* Safely calculates height avoiding the header */
        height: fit-content !important; /* Fixes mobile blank space */
        width: 100%;
    }

    #customContactFormContainer {
        padding: 24px 20px 24px !important; /* Removes bottom gap on mobile */
    }
    
    /* Stack paired fields vertically */
    .custom-form-field-row {
        flex-direction: column !important;
        gap: 18px !important;
    }

    .custom-form-step {
        min-height: 0;
    }

    .custom-form-question {
        font-size: 22px;
    }

    .custom-form-actions {
        margin-top: 4px;
    }

    .custom-form-back,
    .custom-form-next {
        padding-right: 20px;
        padding-left: 20px;
    }

    /* Slightly reduce header size to save space */
    .custom-form-header {
        margin-bottom: 20px;
        gap: 12px;
    }
    .custom-form-header-icon {
        width: 40px;
        height: 40px;
    }
    .custom-form-header-icon svg {
        width: 20px;
        height: 20px;
    }
    .custom-form-header-text h2 {
        font-size: 19px;
    }
    .custom-form-header-text p {
        font-size: 12px;
    }
	
	.g-recaptcha {
        transform: scale(0.85);
        transform-origin: center top;
        align-self: center; /* Centers the rectangle perfectly */
        margin-bottom: -10px; /* Cleans up the scaled spacing */
    }
}
	
	select.custom-form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    /* Add a custom dropdown arrow on the right side */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%232e447f%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

