/* Visitor Browser call UI: Components/Pages/Home.razor and Components/Call/*.
   Telerik components are styled through vc-* classes; tokens come from root.css. */

.vc-app {
    position: relative;
    width: 100%;
    height: calc(100%);
    max-width: 1757px;
    margin: 0 auto;
    padding: 12px 24px 0;
    color: var(--text-color);
    font-family: var(--primary-font);
    box-sizing: border-box;
}

.vc-app *,
.vc-app *::before,
.vc-app *::after {
    box-sizing: border-box;
}

    .vc-app > * {
        height: 100%;
        position: relative;
        align-content: center;
    }

    .vc-app h1,
    .vc-app h2,
    .vc-app h3,
    .vc-app p {
        margin: 0;
    }

/* ----- Hero ----- */
.vc-hero {
    text-align: center;
    margin-bottom: 15px;
}

.vc-hero h1 {
    color: #030A15;
    font-family: var(--primary-font);
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.8px;
}

.vc-accent {
    background: linear-gradient(90deg, #5E84F7 50%, #01A3F4 60.58%, #9035DB 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--primary-font);
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.8px;
}

.vc-hero-sub {
    color: #4C4E51;
    font-family: var(--secondary-font);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.32px;
}

/* ----- Cards and text ----- */

.vc-card {
    background: #FFFFFF;
    border: 1px solid #C3D9FF;
    border-radius: 16px;
    box-shadow: 0 0 24px rgba(27, 40, 73, 0.35);
}

.vc-panel-title {
    color: var(--text-color, #FFF);
    font-family: var(--primary-font);
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.64px;
}

.vc-panel-sub {
    margin-top: 4px !important;
    color: #4C4E51;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.vc-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(80, 111, 156, 0.56), rgba(80, 111, 156, 0));
}

/* ----- Benefits ----- */

.vc-benefits {
    display: grid;
    gap: 16px;
}

.vc-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vc-benefits--horizontal .vc-benefit div {
    font-family: var(--primary-font);
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 2%;
    min-width: 100%;
    max-width: 130px;
}

.vc-benefit-icon {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 35% 30%, rgba(135, 71, 255, 0.35), rgba(14, 26, 45, 0.95));
}

.vc-benefit-icon.user-icon {
    background: rgba(0, 140, 255, 0.15);
}
.vc-benefit-icon.fast-icon {
    background: rgba(144, 53, 219, 0.20);
}
.vc-benefit-icon.lock-icon {
    background: rgba(13, 186, 91, 0.20);
}

.vc-benefit-icon svg {
    width: 22px;
    height: 22px;
}

.vc-benefit span:first-child {
    color: var(--text-color);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.32px;
}

.vc-benefit-text {
    color: #4C4E51;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.28px;
}

/* ----- Landing ----- */

.vc-landing {
    position: relative;
    height: 100%;
}

.vc-landing .vc-hero--mobile {
    display: none;
}

.vc-landing-layout {
    position: relative;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(300px, 1fr) minmax(0, 650px);
    align-items: center;
}

.vc-landing-left {
    display: grid;
    align-content: start;
    gap: 22px;
    min-width: 0;
    padding: 8px 8px 16px;
}

.vc-landing .vc-hero {
    text-align: left;
    margin: 0;
}

.vc-landing .vc-hero h1,
.vc-landing .vc-accent {
    font-size: 52px;
    letter-spacing: 1px;
}

.vc-landing .vc-hero-sub {
    margin-top: 8px;
    text-transform: none;
    font-size: 17px;
    letter-spacing: 0.1px;
}

.vc-speed-note {
    color: #00D0FF;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
}

.vc-landing-right {
    min-width: 0;
    padding: 24px;
}

.vc-landing-card {
    min-width: 0;
    margin-top: 8px;
}

.vc-landing .vc-panel-sub {
    margin-top: 6px !important;
}

.vc-landing .vc-actions {
    margin-top: 14px;
}

.vc-landing .vc-field--phone,
.vc-landing .vc-field--address {
/*    grid-column: auto;*/
}

.vc-landing .vc-or--line::before,
.vc-landing .vc-or--line::after {
    background: rgba(96, 119, 165, 0.38);
}

/* ----- Lead form ----- */

.vc-lead-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 15px;
}

.vc-lead-form--compact {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.vc-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vc-field--phone,
.vc-field--address {
    grid-column: 1 / -1;
}

.vc-label {
    display: block;
    color: #4C4E51;
    font-family: var(--primary-font);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.2px;
    margin-bottom: 4px;
}

.vc-required {
    color: #FF6347;
    margin-left: 2px;
}

.vc-phone-labels {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 8px;
}

.vc-field-error {
    margin-top: 4px;
    color: #ff7680;
    font-size: 0.74rem;
}

.vc-privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #4C4E51;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.vc-app .k-input,
.vc-app .k-picker,
.vc-app .k-textarea {
    border-radius: 8px;
    border: 1px solid #D8D8D8;
    background: linear-gradient(90deg, rgba(213, 228, 255, 0.20) 55.29%, rgba(255, 255, 255, 0.20) 100%);
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}

.vc-app .k-input:not(.k-textarea),
.vc-app .k-picker {
    min-height: 42px;
}

.vc-app .k-input.k-focus,
.vc-app .k-picker.k-focus,
.vc-app .k-input:focus-within {
    border-color: rgba(0, 168, 255, 0.7);
    box-shadow: 0 0 0 2px rgba(0, 168, 255, 0.18);
}

.vc-app .k-input-inner,
.vc-app .k-input-value-text {
    color: var(--text-color);
}

.vc-app .k-input-inner::placeholder {
    color: #7d8697;
}

.vc-app .k-textarea .k-input-inner {
    min-height: 40px;
    padding-block: 8px;
    padding-inline: 8px;
}

.vc-app .vc-field--invalid .k-input,
.vc-app .vc-field--invalid .k-picker {
    border-color: #ff5f67;
    box-shadow: 0 0 0 1px rgba(255, 65, 72, 0.2);
}

/* Telerik popups render outside .vc-app. */
.di-dropdownlist.k-popup,
.k-popup.di-dropdownlist {
    background: #0b1626;
    border: 1px solid #30425f;
    color: var(--text-primary);
}

.di-dropdownlist .k-list,
.di-dropdownlist .k-list-content {
    color: var(--text-primary);
}

.di-dropdownlist .k-list-item:hover,
.di-dropdownlist .k-list-item.k-focus,
.di-dropdownlist .k-list-item.k-selected {
    background: rgba(0, 168, 255, 0.18);
    color: #4C4E51;
    box-shadow: none;
}

/* ----- Buttons ----- */

.vc-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.vc-or {
    color: #4C4E51;
    font-family: var(--primary-font);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.25px;
    text-align: center;
    margin: 10px 0;
}

.vc-or--line {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.vc-or--line::before,
.vc-or--line::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.vc-status {
    color: rgb(217 176 11);
    font-family: var(--primary-font);
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 140%;
    text-align: center;
    margin-top: 8px;
}

.vc-status.vc-ready {
    color: #0DBA5B;
}

.vc-app .k-button.vc-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #030A15;
    background: transparent;
    box-shadow: none;
    transition: filter 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vc-app .k-button.vc-btn::before,
.vc-app .k-button.vc-btn::after {
    display: none;
}

.vc-app .k-button.vc-btn .k-button-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.vc-app .k-button.vc-btn-primary {
    color: #FFF;
    background: linear-gradient(90deg, #01A3F4 0%, #5E84F7 50%, #9035DB 100%);
    box-shadow: 0 0 0 1px #6938EF;
}

.vc-app .k-button.vc-btn-primary:hover {
    filter: brightness(1.08);
}

.vc-app .k-button.vc-btn-primary .k-button-text {
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.1px;
}

.vc-app .k-button.vc-btn-neon {
    color: #0DBA5B;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.1px;
    border: 1.5px solid #0DBA5B;
    box-shadow: 0 0 10px 0 #00D475;
}

.vc-app .k-button.vc-btn-neon:hover {
    box-shadow: 0 0 20px #00D475;
}

.vc-app .k-button.vc-btn-warning {
    border-color: rgba(255, 65, 72, 0.6);
    color: #FF6347;
    background: #FF634726;
    box-shadow: 0 0 14px var(--glow-green);
}

.vc-app .k-button.vc-btn-warning:hover {
    border-color: rgba(255, 65, 72, 0.6);
    box-shadow: 0 0 20px rgba(255, 65, 72, 0.6);
}

.vc-app .k-button.vc-btn-outline {
    border-color: #030A15;
    background: transparent;
}

.vc-app .k-button.vc-btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
}

.vc-app .k-button.vc-btn-glow-outline {
    border: 1px solid var(--gradient, #01A3F4);
    box-shadow: 0 0 10px 0 #A75EFF;
}

.vc-app .k-button.vc-btn.k-disabled,
.vc-app .k-button.vc-btn:disabled {
    background: #d1d1d1;
    color: #6f7686;
    box-shadow: none;
    opacity: 1;
    filter: none;
    cursor: not-allowed;
}

.vc-btn.k-disabled .k-button-text path {
    fill: #6f7686;
}

.vc-app .k-button.vc-btn-small {
    width: auto;
    min-height: 34px;
    padding: 6px 14px;
    font-size: 0.82rem;
}

/* ----- Waiting / Connected layout ----- */

.vc-waiting .vc-hero {
    margin-bottom: 50px;
}

.vc-call-layout {
    display: grid;
    grid-template-columns: minmax(400px, 425px) minmax(0, 1fr) minmax(400px, 425px);
    gap: 16px;
    align-items: start;
}

.vc-side-card {
    padding: 12px;
}

.vc-side-benefits {
    margin-top: 8px;
}

.vc-side-divider {
    height: 1px;
    margin: 10px 0;
    background: var(--border);
}

.vc-side-note {
    color: #4C4E51;
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 12px;
    line-height: 160%;
    letter-spacing: 0%;
}

.vc-wait-estimate {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 10px;
    background: #FFFFFF;
    color: var(--text-color);
    font-size: 0.85rem;
    line-height: 1.4;
}

.vc-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px;
    min-width: 0;
}

.vc-stage::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -40px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 120, 200, 0.14) 0%, rgba(0, 120, 200, 0.05) 45%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

.vc-participants {
    display: grid;
    grid-template-columns: auto minmax(40px, 1fr) auto;
    align-items: center;
    width: 100%;
    max-width: 680px;
}

.vc-link-line {
    align-self: start;
    margin-top: 76px;
    border-top: 2px dotted rgba(120, 150, 200, 0.55);
}

.vc-participant {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: flex-start;
    gap: 12px;
    min-width: 50px;
    max-width: 150px
}

.vc-avatar {
    width: 152px;
    height: 152px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #FFFFFF;
}

.vc-avatar--visitor {
    border: 2px solid #BE88FF;
    background: linear-gradient(135deg, rgba(167, 94, 255, 0.25) 0.23%, rgba(213, 179, 255, 0.25) 99.77%);
    box-shadow: 0 0 100px 0 rgba(166, 59, 255, 0.50);
}

.vc-avatar--expert {
    border: 2px solid #69BCFF;
    background: linear-gradient(135deg, #69BCFF 0.23%, #008CFF 99.77%);
    box-shadow: 0 0 100px 0 rgba(65, 169, 255, 0.60);
}

.vc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vc-avatar-initials {
    font-family: Ubuntu;
    font-weight: 700;
    font-size: 44.1px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    color: #A75EFF;
}

/* The expert circle is a solid blue fill: the purple of the visitor initials would not read on it. */
.vc-avatar--expert .vc-avatar-initials {
    color: #FFFFFF;
}

/* An expert shown by name only takes the chat panel's avatar look (.vc-chat__avatar): the same neutral grey
   circle, so the same person reads the same way on the stage and in the chat. */
.vc-avatar--chat {
    border: 1px solid #d1d1d1;
    background: #F1F1F1;
    box-shadow: none;
}

.vc-avatar--chat .vc-avatar-initials {
    color: #4C4E51;
    font-weight: 600;
}

.vc-avatar--chat.is-speaking,
.vc-avatar--chat.is-pulsing {
    box-shadow: none;
    animation: none;
}

.vc-avatar.is-pulsing {
    animation: vc-avatar-pulse 1.8s ease-in-out infinite;
}

@keyframes vc-avatar-pulse {
    0%, 100% {
        box-shadow: 0 0 24px rgba(0, 168, 255, 0.35);
    }

    50% {
        box-shadow: 0 0 60px rgba(0, 168, 255, 0.75);
    }
}

.vc-participant-name {
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 2%;
    text-align: center;
}
.vc-participant-expert-name {
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 2%;
    word-break: break-word;
}

.vc-participant-title {
    margin-top: -8px;
    color: #98A2B3;
    font-family: var(--primary-font);
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 2%;
    text-align: center;
}

/* ----- Pills ----- */

.vc-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
}

.vc-pill--connecting {
    color: #0EB6DB;
    background: #C2F1FF;
    box-shadow: 0 0 20px 0 rgba(0, 208, 255, 0.25);
}

.vc-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid #09C872;
    color: #5EFFA6;
    font-family: Ubuntu;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
}

.vc-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #09C872;
}

.vc-health--good {
    color: #09C872;
    background: #C5EFE8;
    border: unset;
}

.vc-health--poor {
    color: #D8A500;
    background: #F6EFC7;
    border: unset;
}

.vc-health--lost {
    color: #FF3C3C;
    background: #F1D9DF;
    border: unset;
}
.vc-live-duration {
    color: #4C4E51;
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 2%;
}
/* ----- Stepper ----- */
.vc-stepper {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 580px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vc-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #4C4E51;
}

.vc-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 26px;
    left: calc(50% + 32px);
    right: calc(-50% + 32px);
    height: 1px;
    background: #2a3a52;
}

.vc-step--done:not(:last-child)::after {
    background: #1fb6d6;
}

.vc-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #4C4E51;
    background: rgba(17, 27, 43, 0.20);
}

.vc-step--done .vc-step-icon,
.vc-step--active .vc-step-icon {
    color: #2fd3ff;
    border: 2px solid #1fb6d6;
    background: rgba(0, 168, 255, 0.12);
    box-shadow: 0 0 14px rgba(0, 168, 255, 0.35);
}

.vc-step--active .vc-step-icon {
    animation: vc-step-pulse 1.4s ease-in-out infinite;
}

.vc-step--done .vc-step-label,
.vc-step--active .vc-step-label {
    color: #4C4E51;
}

@keyframes vc-step-pulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(0, 168, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 22px rgba(0, 168, 255, 0.7);
    }
}

/* ----- Call controls ----- */

.vc-call-controls {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.vc-call-controls .k-button-text {
    display: flex;
}

.vc-mic-call,
.vc-end-call {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.vc-app .k-button.vc-end-call-btn {
    width: 80px;
    height: 80px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #4C4E51;
    background: #FF3C3C;
    box-shadow: 0 0 22px rgba(255, 65, 72, 0.5);
    transition: transform 0.2s ease, background 0.2s ease;
}

.vc-app .k-button.vc-end-call-btn:hover {
    background: #ff2f37;
    transform: scale(1.04);
}

.vc-app .k-button.vc-end-call-btn::before,
.vc-app .k-button.vc-end-call-btn::after,
.vc-app .k-button.vc-mute-btn::before,
.vc-app .k-button.vc-mute-btn::after {
    display: none;
}

.vc-mic-label,
.vc-end-call-label,
.vc-chat-btn__label {
    color: #030A15;
    font-family: var(--primary-font);
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.32px;
}

.vc-app .k-button.vc-mute-btn {
    width: 80px;
    height: 80px;
    padding: 0;
    border-radius: 50%;
    color: #030A15;
    background: transparent;
    border: 2px solid #4C4E51;
}

.vc-app .k-button.vc-mute-btn.is-muted {
    color: #030A15;
    background: transparent;
    border-color: #4C4E51;
}

.vc-mic-warning {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 560px;
    padding: 10px 14px;
    color: #ffd6d8;
    background: rgba(255, 65, 72, 0.08);
    border: 1px solid rgba(255, 65, 72, 0.6);
    border-radius: 12px;
    font-size: 0.85rem;
    text-align: center;
}

/* Keep-screen-awake reminder: a note, not an error - the call is unaffected. */
.vc-keep-awake-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 560px;
    padding: 8px 12px;
    color: #e6eefc;
    background: rgba(120, 160, 255, 0.08);
    border: 1px solid rgba(120, 160, 255, 0.45);
    border-radius: 12px;
    font-size: 0.85rem;
    text-align: center;
}

/* The lock is held: informational, quieter than the reminder. */
.vc-keep-awake-note.is-active {
    color: #b9c6dd;
    background: transparent;
    border-color: rgba(120, 160, 255, 0.25);
}

.vc-keep-awake-dismiss {
    flex: none;
    width: 28px;
    height: 28px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.vc-keep-awake-dismiss:hover,
.vc-keep-awake-dismiss:focus-visible {
    background: rgba(255, 255, 255, 0.1);
}

/* ----- Waveform ----- */

/* Canvas center line sits on the avatar center (152px avatar -> 21px + 110px / 2 = 76px). */
.vc-wave {
    align-self: start;
    width: 100%;
    min-width: 0;
    margin-top: 21px;
    height: 110px;
    padding: 0 8px;
    transition: opacity 0.2s ease;
}

.vc-wave-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.vc-wave.is-paused {
    opacity: 0.35;
}

.vc-avatar {
    transition: box-shadow 0.15s ease-in-out;
}

.vc-avatar--visitor.is-speaking {
    box-shadow: 0 0 70px rgba(135, 71, 255, 0.8);
}

.vc-avatar--expert.is-speaking {
    box-shadow: 0 0 70px rgba(0, 168, 255, 0.8);
}

/* ----- Ended / Connection Lost ----- */

.vc-finished-card {
    max-width: 1172px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vc-finished-left {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: unset;
    text-align: center;
    border-right: 1px solid #C3D9FF;
    gap: 10px;
}

.vc-finished-left .vc-finished-note{
    margin-bottom: 8px;
}

.vc-finished-right {
    padding: 24px;
    min-width: 0;
}

.vc-finished-title {
    font-weight: 500;
    font-family: var(--primary-font);
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 2%;
}

.vc-finished-message {
    max-width: 380px;
    color: #4C4E51;
    text-align: center;
    font-family: var(--primary-font);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    white-space: pre-line;
}

.vc-finished-note {
    color: #4C4E51;
    text-align: center;
    font-family: var(--primary-font);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
}

.vc-summary {
    width: 100%;
    max-width: 325px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #D8D8D8;
    background: rgba(195, 217, 255, 0.40);
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    text-align: left;
}

.vc-summary-title {
    margin-bottom: 10px;
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 2%;
}

.vc-summary-row {
    display: grid;
    grid-template-columns: 22px 80px minmax(0, 1fr);
    gap: 12px;
    color: #4C4E51;
    font-family: var(--primary-font);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: -1%;
}

.vc-summary-row svg{
    line-height: 160%;
}

.vc-summary-value {
    color: #4C4E51;
    overflow-wrap: anywhere;
    font-family: var(--primary-font);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0%;
    vertical-align: middle;
}

.vc-summary-sub {
    display: block;
    color: #4C4E51;
    font-family: var(--primary-font);
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: -1%;
}

.vc-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.vc-illustration img {
    max-width: 100%;
    max-height: 100%;
}

.vc-illustration-blob {
    height: 100%;
    display: grid;
    place-items: center;
    color: #b9a8ff;
    border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%;
    background: unset;
    box-shadow: unset;
}

.vc-illustration-badge {
    position: absolute;
    top: 12px;
    right: 18px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #4C4E51;
    background: #ff4148;
    box-shadow: 0 0 14px rgba(255, 65, 72, 0.5);
}

.vc-illustration-badge--alert {
    background: #ff5a3c;
}

/* ----- No Experts Available ----- */

.vc-no-expert-card {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.vc-no-expert-left {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    border-right: 1px solid #C3D9FF;
}

.vc-no-expert-title {
    max-width: fit-content;
    color: #000;
    text-align: center;
    font-family: var(--primary-font);
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.64px;
}

.vc-no-expert-right {
    padding: 24px;
    min-width: 0;
}

.vc-label[for='no-expert-phone']{
    margin-left: 3px;
}

.vc-illustration--no-expert .vc-illustration-blob {
    color: #8fc2ff;
    border-radius: 50%;
    background: unset;
    box-shadow: unset;
}

.vc-actions--row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.vc-benefits--horizontal {
    width: 100%;
    margin-top: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.vc-benefits--horizontal .vc-benefit {
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.vc-benefits--horizontal .vc-benefit div {
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 2%;
}

.vc-benefits--horizontal .vc-benefit strong {
    font-size: 0.88rem;
}

.vc-benefits--horizontal .vc-benefit-text {
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 2%;
}

/* ----- Dialogs (TelerikDialog renders outside .vc-app) ----- */

.k-dialog.vc-dialog {
    max-width: 95%;
    color: var(--text-color);
    background: #FFF;
    border: 1px solid #C3D9FF;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.30), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
    font-family: var(--primary-font);
}

.vc-dialog .k-dialog-titlebar {
    padding: 16px 16px 4px;
    color: #4C4E51;
    background: transparent;
    border-bottom: 0;
}

.vc-dialog .k-dialog-title {
    color: var(--text-color);
    font-family: var(--secondary-font);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.vc-dialog .k-dialog-titlebar-action,
.vc-dialog .k-dialog-titlebar-action .k-icon {
    color: #4C4E51;
}

.vc-dialog .k-dialog-content {
    padding: 24px 16px;
    color: var(--text-color);
    background: transparent;
    line-height: 1.55;
}

.vc-dialog .k-dialog-content p {
    color: var(--text-color);
    font-family: var(--primary-font);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    margin: 0;
}

.vc-dialog .vc-dialog-detail {
    margin-top: 8px;
    color: #ffb4b7;
}

.vc-dialog .k-dialog-actions {
    gap: 10px;
    padding: 8px 16px 16px;
    background: transparent;
    border-top: 0;
}

.vc-dialog .k-button.vc-dialog-btn {
    min-width: 88px;
    min-height: 40px;
    padding: 6px 16px;
    border-radius: 999px;
    color: #4C4E51;
    font-weight: 500;
    box-shadow: none;
}

.vc-dialog .k-button.vc-dialog-btn::before,
.vc-dialog .k-button.vc-dialog-btn::after {
    display: none;
}

.vc-dialog .k-button.vc-dialog-btn--secondary {
    background: transparent;
    border: 1px solid #030A15;
    color: #030A15;
}

.vc-dialog .k-button.vc-dialog-btn--primary {
    background: linear-gradient(90deg, #01A3F4 0%, #5E84F7 50%, #9035DB 100%);
    border: 0;
    color: #FFFFFF;
}

/* ----- Responsive ----- */

@media (max-width: 1440px) {
    .vc-call-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .vc-stage {
        grid-column: 1 / -1;
        order: -1;
    }
}

@media (max-width: 1060px) {
    .vc-finished-card,
    .vc-no-expert-card,
    .vc-call-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .vc-landing .vc-hero--mobile {
        display: block;
        text-align: center;
        margin: 0 0 10px;
    }

    .vc-landing .vc-hero--desktop {
        display: none;
    }

    .vc-landing .vc-hero--mobile h1,
    .vc-landing .vc-hero--mobile .vc-accent {
        font-size: 40px;
        letter-spacing: 0.8px;
    }

    .vc-landing .vc-hero--mobile .vc-hero-sub {
        margin-top: 6px;
    }

    .vc-landing-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .vc-landing-right {
        order: 1;
        padding: 20px;
    }

    .vc-landing-left {
        order: 2;
        gap: 16px;
        padding: 2px 6px 8px;
    }

    .vc-landing .vc-benefits {
        gap: 14px;
    }

    .vc-landing .vc-landing-card {
        margin-top: 0;
    }

    .vc-call-layout--waiting .vc-stage {
        order: 1;
    }

    .vc-call-layout--waiting .vc-side-card--form {
        order: 2;
    }

    .vc-call-layout--waiting .vc-side-card--intro {
        order: 3;
    }

    .vc-connected .vc-call-layout .vc-stage {
        order: 1;
    }

    .vc-connected .vc-call-layout .vc-side-card--form {
        order: 2;
    }

    .vc-connected .vc-call-layout .vc-side-card--intro {
        order: 3;
    }

    .vc-finished-left,
    .vc-no-expert-left {
        border-right: 0;
        border-bottom: 1px solid #C3D9FF;
    }
}

@media (max-width: 640px) {
    .vc-app {
        padding: 10px 12px 24px;
    }

    .vc-waiting .vc-hero,
    .vc-hero {
        margin-bottom: 8px;
    }

    .vc-hero h1,
    .vc-accent {
        font-size: 24px;
    }

    .vc-landing-right{
        padding: 16px 0;
    }

    .vc-landing .vc-landing-right {
        padding: 16px;
    }

    .vc-landing .vc-hero--mobile h1,
    .vc-landing .vc-hero--mobile .vc-accent {
        font-size: 28px;
    }

    .vc-lead-form {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 10px;
    }

    .vc-landing .vc-or {
        margin: 8px 0;
    }

    .vc-panel-title {
        font-size: 18px;
    }

    .vc-panel-sub {
        font-size: 14px;
    }

    .vc-participant {
        min-width: 0;
        min-width: 0;
        max-width: 100px;
        align-items: center;
        align-self: flex-start;
    }

    .vc-participant-expert-name {
        font-size: 20px;
    }

    .vc-avatar {
        width: 104px;
        height: 104px;
    }

    .vc-link-line {
        margin-top: 52px;
    }

    .vc-wave {
        margin-top: 16px;
        height: 72px;
    }

    .vc-stepper {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 16px;
    }

    .vc-phone-labels {
        grid-template-columns: minmax(0, 1fr);
    }

    .vc-phone-labels .vc-label:first-child {
        display: none;
    }

    .vc-finished-left,
    .vc-finished-right,
    .vc-no-expert-left,
    .vc-no-expert-right {
        padding: 16px;
        gap: 12px;
    }

    .vc-actions--row {
        grid-template-columns: minmax(0, 1fr);
    }

    .vc-no-expert-title {
        font-size: 20px;
    }

    .vc-stage{
        padding: 10px;
    }

    .vc-panel-sub,
    .vc-finished-note,
    .vc-illustration {
        display: none;
    }
}

.vs-finished_main-content{
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 16px;
}

@media (min-width: 1024px) and (max-width:2560px){
    .vc-phone-labels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }
/*    .phone-input-wrap {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }*/
    .vc-lead-form  .vc-field--phone .phone-input-wrap {
        gap: 4px;
    }
}
.vc-status-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items:center;
}
/* ----- Conversation chat (CHA-7130 redesign) ----- */
/* Chat control: Components/Call/ChatControlButton.razor, same round style as Mute, with the unread badge. */

.vc-chat-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.vc-chat-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    padding: 0;
    border: 2px solid #5E84F7;
    border-radius: 50%;
    color: #4C4E51;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.vc-chat-btn:hover {
    transform: scale(1.04);
}

.vc-chat-btn.is-open {
    border-color: #5E84F7;
    background: #5E84F7;
}

.vc-chat-btn:focus-visible {
    outline: 2px solid #33A3FF;
    outline-offset: 3px;
}

.vc-chat-btn__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border: 1px solid red;
    border-radius: 50%;
    background: red;
    color: white;
    font-family: var(--primary-font);
    font-size: 13px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
}

/* Floating chat window: Components/Call/ConversationChatPanel.razor. js/floating-chat.js sets left/top/width/height
   (bottom-right by default); the values below are the fallback before the script runs. */
.vc-chat-window {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 900;
    min-width: 340px;
    display: flex;
    flex-direction: column;
    width: min(380px, calc(100vw - 16px));
    height: min(520px, calc(100vh - 32px));
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #D8D8D8;
    background: #FFF;
    box-shadow: 0 0 15.6px 0 rgba(0, 0, 0, 0.10);
    color: #4C4E51;
    font-family: var(--primary-font);
    box-sizing: border-box;
}

.vc-chat-window *,
.vc-chat-window *::before,
.vc-chat-window *::after {
    box-sizing: border-box;
}

.vc-chat-window[hidden] {
    display: none;
}

.vc-chat-window.is-moving {
    user-select: none;
    -webkit-user-select: none;
}

/* Resize handles on every edge and corner: invisible strips that take the pointer (touch included). */
.vc-chat-window__resize {
    position: absolute;
    z-index: 2;
    touch-action: none;
}

.vc-chat-window__resize--n,
.vc-chat-window__resize--s {
    left: 12px;
    right: 12px;
    height: 8px;
    cursor: ns-resize;
}

.vc-chat-window__resize--n { top: 0; }
.vc-chat-window__resize--s { bottom: 0; }

.vc-chat-window__resize--e,
.vc-chat-window__resize--w {
    top: 12px;
    bottom: 12px;
    width: 8px;
    cursor: ew-resize;
}

.vc-chat-window__resize--e { right: 0; }
.vc-chat-window__resize--w { left: 0; }

.vc-chat-window__resize--ne,
.vc-chat-window__resize--nw,
.vc-chat-window__resize--se,
.vc-chat-window__resize--sw {
    width: 16px;
    height: 16px;
}

.vc-chat-window__resize--ne { top: 0; right: 0; cursor: nesw-resize; }
.vc-chat-window__resize--nw { top: 0; left: 0; cursor: nwse-resize; }
.vc-chat-window__resize--se { bottom: 0; right: 0; cursor: nwse-resize; }
.vc-chat-window__resize--sw { bottom: 0; left: 0; cursor: nesw-resize; }

.vc-chat__header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 6px 8px 6px 14px;
    background: #5E84F7;
    cursor: move;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.vc-chat__minimize {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #4C4E51;
    cursor: pointer;
}

.vc-chat__minimize:hover {
    background: rgba(255, 255, 255, 0.16);
}

.vc-chat__minimize:focus-visible {
    outline: 2px solid #4C4E51;
    outline-offset: 1px;
}

.vc-chat__header-icon {
    display: inline-flex;
    color: #4C4E51;
}

.vc-chat__title {
    flex: 1 1 auto;
    color: #FFF;
    font-family: var(--primary-font);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.36px;
}

/* Visually hidden, still read by screen readers. */
.vc-chat__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.vc-chat__list {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #FFFFFF;
}

.vc-chat__state {
    margin: auto !important;
    color: #4C4E51;
    font-size: 14px;
    text-align: center;
}

.vc-chat__state--error {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #FF8A8A;
}

/* One message row: [avatar][bubble][time] for the expert, [time][bubble] on the right for the visitor. */
.vc-chat__item {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.vc-chat__item--theirs {
    align-self: flex-start;
}

.vc-chat__item--mine {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.vc-chat__avatar {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    align-self: flex-start;
    overflow: hidden;
    border: 1px solid #d1d1d1;
    border-radius: 50%;
    background: #F1F1F1;
    color: #4C4E51;
    font-size: 11px;
    font-weight: 600;
}

.vc-chat__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vc-chat__avatar--spacer {
    background: transparent;
    border: unset;
}

.vc-chat__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    max-width: min(78%, 420px);
}

.vc-chat__item--mine .vc-chat__content {
    align-items: flex-end;
}

/* Sender name above the bubble (CHA-7198 parity with the Admin Chat History). The visitor page is light, so the
   chips are tinted versions of the same blue / purple the stage avatars use. */
.vc-chat__sender {
    width: fit-content;
    max-width: 100%;
    padding: 2px 8px;
    border-radius: 50px;
    font-family: var(--primary-font);
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vc-chat__sender--theirs {
    color: #0B6BBF;
    background: rgba(94, 132, 247, 0.15);
}

.vc-chat__sender--mine {
    color: #7636C9;
    background: rgba(167, 94, 255, 0.15);
}

.vc-chat__time {
    flex: 0 0 auto;
    color: #98A2B3;
    font-family: var(--primary-font);
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.25px;
    white-space: nowrap;
}

.vc-chat__bubble {
    padding: 8px 12px;
    border-radius: 8px;
    background: #F1F1F1;
    color: #4C4E51;
    font-family: var(--primary-font);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.25px;
    line-height: 1.4;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.vc-chat__item--mine .vc-chat__bubble {
    background: rgba(94, 134, 255, 0.15);
}

.vc-chat__bubble--muted {
    color: #BCBCBC;
    font-style: italic;
}

.vc-chat__item--mine .vc-chat__bubble--error,
.vc-chat__bubble--error {
    background: rgba(255, 90, 90, 0.18);
    border: 1px solid rgba(255, 90, 90, 0.55);
}

.vc-chat__thumb {
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
}

.vc-chat__thumb img {
    display: block;
    max-width: 200px;
    max-height: 160px;
    object-fit: cover;
}

.vc-chat__file {
    display: block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vc-chat__progress {
    display: block;
    width: 180px;
    max-width: 100%;
    height: 4px;
    margin-top: 6px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.vc-chat__progress-bar {
    display: block;
    height: 100%;
    background: #26FF80;
    transition: width 0.2s ease;
}

.vc-chat__pending-error,
.vc-chat__error {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #FF8A8A;
    font-size: 13px;
}

.vc-chat__error {
    margin: 0 12px 6px !important;
}

.vc-chat__link {
    padding: 0;
    border: 0;
    background: none;
    color: #7FC8FF;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

.vc-chat__older {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-bottom: 4px;
}

.vc-chat__older-error {
    color: #FF8A8A;
    font-size: 13px;
}

/* Composer: image button on the left, the input with the send arrow inside it on the right. */
.vc-chat__composer {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
    align-items: flex-end;
    padding: 10px 12px;
    background: #FFF;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.25);
}

.vc-chat__composer.is-disabled {
    opacity: 0.6;
}

/* Visually hidden but still in the layout and focusable: the label next to it opens it (a display:none file input
   is not reliably opened by its label on every mobile browser), and keyboard users reach it with Tab. */
.vc-chat__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

.vc-chat__attach {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 50%;
    background: rgba(94, 134, 255, 0.10);
    color: #5E86FF;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.vc-chat__attach.is-disabled {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.vc-chat__file-input:focus-visible + .vc-chat__attach {
    outline: 2px solid #33A3FF;
    outline-offset: 2px;
}

.vc-chat__field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
}

/* One line to start; js/floating-chat.js grows it to at most three lines (20px line height), then it scrolls.
   The max-height keeps the three-line cap even before the script runs. */
.vc-chat__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    min-height: 42px;
    max-height: 82px;
    padding: 10px 44px 10px 12px;
    border-radius: 8px;
    border: 1px solid #EDEDED;
    background: linear-gradient(90deg, rgba(226, 226, 226, 0.20) 55.29%, rgba(255, 255, 255, 0.20) 100%);
    color: #4C4E51;
    font-family: var(--secondary-font, inherit);
    font-size: 14px;
    line-height: 20px;
    overflow-y: auto;
    resize: none;
}

.vc-chat__input:focus-visible {
    outline: none;
    border-color: #5E84F7;
}

.vc-chat__input::placeholder {
    color: #7D8BA3;
    font-style: italic;
}

.vc-chat__send {
    position: absolute;
    right: 4px;
    bottom: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #5E86FF;
    cursor: pointer;
}

.vc-chat__send:hover:not(:disabled) {
    background: rgba(94, 132, 247, 0.18);
}

.vc-chat__send:focus-visible {
    outline: 2px solid #33A3FF;
}

.vc-chat__send:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

@media (max-width: 640px) {
    .vc-chat__content {
        max-width: 82%;
    }

    /* 16px keeps iOS Safari from zooming the page when the composer gets focus. */
    .vc-chat__input {
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .vc-call-controls {
        gap: 20px;
    }

    .vc-app .k-button.vc-mute-btn,
    .vc-app .k-button.vc-end-call-btn,
    .vc-chat-btn {
        width: 72px;
        height: 72px;
    }
}


/* Full-size image preview created by js/conversation-chat.js (shared with the Expert host). */
.lr-chat-lightbox {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.85);
    cursor: zoom-out;
}

.lr-chat-lightbox__image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 32px rgba(0, 0, 0, 0.6);
    cursor: default;
}

.lr-chat-lightbox__close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #FFF;
    font-size: 28px;
    line-height: 40px;
    cursor: pointer;
}
