/************************************
 To overwrite css properties, uncomment/edit them.
 If you decide to change the size of elements,
 please keep in mind both mobile and desktop layouts (media queries)
************************************/

/*******************************
        Input
*******************************/
.flashlight-textbox textarea.generic-textarea{
    /*border: 2px dashed #1b6d85;*/
}
/************************************
        Labels
*************************************/
.flashlight-textbox .prefix,
.flashlight-textbox .suffix {
    /*color: #da5124;*/
    /*background-color: transparent;*/
    /*border-color: transparent;*/
}
/************************************
        Opt Out
*************************************/
.flashlight-textbox table.generic-table thead tr th.optOutLabelWrapper{
    /*color: #da5124;*/
}
.flashlight-textbox table .optOutWrapper .shown-when-not-selected {
    /*color: #7e7e7e;*/
}
.flashlight-textbox table .optOutWrapper .shown-when-selected{
    /*color: #EC5D2F;*/
}

/************************************
        Custom question CSS rules

It is not recommended to edit this part.
*************************************/
.flashlight-textbox {
    display: block;
}
.flashlight-textbox table{
    width: 100%;
}
.flashlight-textbox table td{
    text-align: center;
}
.flashlight-textbox  textarea, .flashlight-textbox  input{
    width: 100%;
}

.flashlight-textbox input {
    max-width: 250px;
    float: left;
}

.flashlight-textbox .prefix,
.flashlight-textbox .suffix {
    font-size: 1.2em;
}

@media (min-width:768px) {
    .flashlight-textbox .prefix,
    .flashlight-textbox .suffix{
        font-size: 1.4em;
    }
}

@media (min-width:992px) {
    .flashlight-textbox .prefix,
    .flashlight-textbox .suffix{
        font-size: 1.6em;
    }

}

@media (min-width:1200px) {
    .flashlight-textbox .prefix,
    .flashlight-textbox .suffix{
        font-size: 14px;
    }
    .flashlight-textbox  textarea, .flashlight-textbox  input{
        font-size: 14px;
    }
}

/************************************
        AI Probe (Smart Followup)
        Two-state animated loader: loading (default) and .is-static
        applied to .ai_loader_container. Safe to inject via jQuery .html().
************************************/
.ai-probe-container {
    margin: 0px 0 12px 0;
    --ai-primary: #FF2E90;
    --ai-primary-light: #FF62AC;
    --ai-primary-mid: #FF8CC2;
    --ai-primary-dark: #B22065;
    /* --ai-glow: rgba(255, 46, 144, 0.25); */
}

.ai-probe {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.ai-probe-blob {
    position: relative;
    flex: 0 0 auto;
    display: block;
    width: 52px;
    height: 56px;
    margin-top: 1px;
    align-self: flex-start;
    overflow: visible;
}

.ai-probe-blob .ai_loader_container {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: -5px;
    transform: scale(0.32);
    transform-origin: 0 0;
    transition: transform 1000ms ease;
}

.ai-probe-blob .ai_loader_container.is-static {
    transform: scale(0.275);
}

.ai-probe-blob .ai_sphere {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        var(--ai-glow) 0 0 90px 33px,
        inset 20px 6px 20px 13px rgba(255, 255, 255, 0.11);
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -80px 0 0 -80px;
    z-index: 2;
}

.ai-probe-blob .ai_blob {
    width: 150px;
    height: 144px;
    background-image: linear-gradient(120deg, var(--ai-primary-light), var(--ai-primary));
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    animation: aiLoaderMorph 2s linear infinite;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        var(--ai-glow) 0 0 90px 33px,
        inset 20px 6px 20px 13px rgba(255, 255, 255, 0.11);
    transform: scale(1);
    transition: transform 1000ms ease;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -72px 0 0 -75px;
}

.ai-probe-blob .ai_loader_container.is-static .ai_blob {
    transform: scale(0.96);
}

.ai-probe-blob .ai_blob::before,
.ai-probe-blob .ai_blob::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    background-image: linear-gradient(120deg, var(--ai-primary-mid), var(--ai-primary-dark));
    transition: opacity 1000ms ease;
}

.ai-probe-blob .ai_blob::before {
    width: 80%;
    animation: aiLoaderMorph 1.5s linear infinite;
    opacity: 0.21;
    filter: blur(2px);
    box-shadow: 19px -20px 10px rgba(255, 255, 255, 0.5);
    mix-blend-mode: multiply;
}

.ai-probe-blob .ai_blob::after {
    animation: aiLoaderMorph 2s linear infinite;
    opacity: 0.89;
    filter: blur(2px);
    box-shadow: 10px 10px 10px var(--ai-primary);
}

.ai-probe-blob .ai_loader_container.is-static .ai_blob::before {
    opacity: 0.12;
}

.ai-probe-blob .ai_loader_container.is-static .ai_blob::after {
    opacity: 0.45;
}

@keyframes aiLoaderMorph {
    0%, 100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: translate3d(0, 0, 0);
    }
    34% {
        border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
        transform: translate3d(0, 5px, 0);
    }
    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
        transform: translate3d(0, -3px, 0);
    }
}

.ai-probe-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    max-width: 520px;
    overflow-wrap: anywhere;
}

.ai-probe-heading {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
}

.ai-probe-message {
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.5;
}

@media (max-width: 576px) {
    .ai-probe { gap: 10px; }
    .ai-probe-blob { width: 54px; height: 54px; }
    .ai-probe-blob .ai_loader_container { transform: scale(0.27); }
    .ai-probe-blob .ai_loader_container.is-static { transform: scale(0.232); }
    .ai-probe-body { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ai-probe-blob .ai_blob,
    .ai-probe-blob .ai_blob::before,
    .ai-probe-blob .ai_blob::after { animation: none; }
    .ai-probe-blob .ai_loader_container { transition: none; }
}