.lyas-ai-chatbot {
    --lyas-ai-bg: #ffffff;
    --lyas-ai-text: #111827;
    --lyas-ai-muted: #6b7280;
    --lyas-ai-border: #e5e7eb;
    --lyas-ai-soft: #f8fafc;
    --lyas-ai-bot: #f3f4f6;
    --lyas-ai-user: var(--lyas-ai-primary, #2563eb);
    width: min(100%, 430px);
    margin: 24px auto;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px !important;
    background: var(--lyas-ai-bg);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    font-family: inherit;
}

.lyas-ai-chatbot * {
    box-sizing: border-box;
}

.lyas-ai-chatbot__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 18px 16px;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.18), transparent 26%),
        linear-gradient(135deg, color-mix(in srgb, var(--lyas-ai-primary, #2563eb) 90%, #ffffff 10%), color-mix(in srgb, var(--lyas-ai-primary, #2563eb) 58%, #0f172a 42%));
}

.lyas-ai-chatbot__avatar,
.lyas-ai-chatbot__message-avatar {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.lyas-ai-chatbot__avatar {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    font-size: 13px;
}

.lyas-ai-chatbot__avatar img,
.lyas-ai-chatbot__message-avatar img,
.lyas-ai-chatbot-float__launcher-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.lyas-ai-chatbot__title {
    min-width: 0;
    flex: 1 1 auto;
}

.lyas-ai-chatbot__header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
}

.lyas-ai-chatbot__header span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.lyas-ai-chatbot__header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.lyas-ai-chatbot__header-btn {
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    height: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 12px;
    color: color-mix(in srgb, var(--lyas-ai-primary, #2563eb) 86%, #111827 14%) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255,255,255,0.85);
    appearance: none;
    -webkit-appearance: none;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.lyas-ai-chatbot__header-btn:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255,255,255,0.9);
}

.lyas-ai-chatbot__header-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.24), 0 12px 26px rgba(15, 23, 42, 0.22);
}

.lyas-ai-chatbot__header-btn--minimize {
    font-size: 20px;
    padding-bottom: 2px;
}

.lyas-ai-chatbot__header-btn--end {
    font-size: 18px;
    color: #e11d48 !important;
}

.lyas-ai-chatbot__header-btn--end:hover {
    background: #fff1f2 !important;
}

.lyas-ai-chatbot__messages {
    height: 410px;
    overflow-y: auto;
    padding: 16px 16px 18px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--lyas-ai-primary, #2563eb) 10%, transparent 90%), transparent 34%),
        linear-gradient(180deg, #fafafa 0%, #ffffff 18%);
}

.lyas-ai-chatbot__message-row {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin-bottom: 12px;
}

.lyas-ai-chatbot__message-row--bot {
    justify-content: flex-start;
}

.lyas-ai-chatbot__message-row--user {
    justify-content: flex-end;
}

.lyas-ai-chatbot__message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--lyas-ai-primary, #2563eb) 92%, #ffffff 8%), color-mix(in srgb, var(--lyas-ai-primary, #2563eb) 68%, #0f172a 32%));
    border: 0;
    color: #ffffff;
    font-size: 10px;
}

.lyas-ai-chatbot__message {
    width: fit-content;
    max-width: 86%;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
    text-align: left;
}

.lyas-ai-chatbot__message--bot {
    color: var(--lyas-ai-text);
    background: #f3f4f6;
    border-bottom-left-radius: 6px;
    margin-right: auto;
}

.lyas-ai-chatbot__message--user {
    color: #ffffff;
    background: var(--lyas-ai-user);
    border-bottom-right-radius: 6px;
}

.lyas-ai-chatbot__message a {
    color: var(--lyas-ai-primary, #2563eb);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lyas-ai-chatbot__message a.lyas-ai-chatbot__phone-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.lyas-ai-chatbot__message a.lyas-ai-chatbot__phone-link::before {
    content: '☎';
    font-size: 0.95em;
    line-height: 1;
}

.lyas-ai-chatbot__message--user a {
    color: #ffffff;
}

.lyas-ai-chatbot__message--typing {
    color: var(--lyas-ai-muted);
    font-style: italic;
}

.lyas-ai-chatbot__lead-cta {
    margin: 0 14px 12px;
    padding: 12px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.06);
}

.lyas-ai-chatbot__lead-cta[hidden],
.lyas-ai-chatbot__lead-form[hidden],
.lyas-ai-chatbot__finish-bar[hidden] {
    display: none !important;
}

.lyas-ai-chatbot__lead-cta p {
    margin: 0 0 10px;
    color: var(--lyas-ai-text);
    font-size: 13px;
    line-height: 1.45;
}

.lyas-ai-chatbot__lead-cta button,
.lyas-ai-chatbot__finish-bar button,
.lyas-ai-chatbot__lead-actions button,
.lyas-ai-chatbot__form button {
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background: var(--lyas-ai-primary, #2563eb);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.lyas-ai-chatbot__lead-cta button {
    min-height: 38px;
    padding: 0 14px;
}

.lyas-ai-chatbot__finish-bar {
    padding: 10px 14px 0;
    border-top: 1px solid var(--lyas-ai-border);
    background: #ffffff;
}

.lyas-ai-chatbot__finish-bar button {
    width: 100%;
    min-height: 42px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--lyas-ai-primary, #2563eb) 94%, #ffffff 6%), color-mix(in srgb, var(--lyas-ai-primary, #2563eb) 74%, #0f172a 26%));
}

.lyas-ai-chatbot__lead-form {
    display: grid;
    gap: 9px;
    padding: 14px;
    border-top: 1px solid var(--lyas-ai-border);
    background: var(--lyas-ai-soft);
}

.lyas-ai-chatbot__lead-head strong {
    display: block;
    margin-bottom: 4px;
    color: var(--lyas-ai-text);
    font-size: 14px;
}

.lyas-ai-chatbot__lead-head p {
    margin: 0 0 4px;
    color: var(--lyas-ai-muted);
    font-size: 13px;
    line-height: 1.45;
}

.lyas-ai-chatbot__lead-form input,
.lyas-ai-chatbot__lead-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--lyas-ai-border);
    border-radius: 13px;
    padding: 10px 12px;
    color: var(--lyas-ai-text);
    background: #ffffff;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.lyas-ai-chatbot__lead-form textarea {
    resize: vertical;
    min-height: 78px;
    line-height: 1.45;
}


.lyas-ai-chatbot__lead-form input:focus,
.lyas-ai-chatbot__lead-form textarea:focus {
    border-color: var(--lyas-ai-primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.lyas-ai-chatbot__lead-form [data-lead-website] {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.lyas-ai-chatbot__lead-form small {
    display: block;
    color: var(--lyas-ai-muted);
    font-size: 11px;
    line-height: 1.4;
}

.lyas-ai-chatbot__kvkk-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 11px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 12px;
    background: #ffffff;
    color: var(--lyas-ai-muted);
    font-size: 11px;
    line-height: 1.45;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
}

.lyas-ai-chatbot__lead-form .lyas-ai-chatbot__kvkk-consent input[type="checkbox"] {
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    flex: 0 0 16px;
    padding: 0 !important;
    margin: 2px 0 0 !important;
    border-radius: 4px;
    accent-color: var(--lyas-ai-primary, #2563eb);
}

.lyas-ai-chatbot__kvkk-consent span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: 100%;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.lyas-ai-chatbot__kvkk-consent a,
.lyas-ai-chatbot__kvkk-footer a {
    color: var(--lyas-ai-primary, #2563eb);
    font-weight: 700;
    text-decoration: none;
}

.lyas-ai-chatbot__kvkk-consent a:hover,
.lyas-ai-chatbot__kvkk-footer a:hover {
    text-decoration: underline;
}

.lyas-ai-chatbot__lead-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.lyas-ai-chatbot__lead-actions button {
    min-height: 42px;
    padding: 0 14px;
}

.lyas-ai-chatbot__lead-actions button[data-lead-cancel] {
    color: var(--lyas-ai-text);
    background: #ffffff;
    border: 1px solid var(--lyas-ai-border);
}

.lyas-ai-chatbot__form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid var(--lyas-ai-border);
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.lyas-ai-chatbot__form textarea {
    width: 100%;
    min-height: 46px;
    max-height: 140px;
    resize: none;
    border: 1px solid #d1d5db;
    border-radius: 16px;
    padding: 12px 14px;
    color: var(--lyas-ai-text);
    background: #ffffff;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    outline: none;
}

.lyas-ai-chatbot__form textarea:focus {
    border-color: var(--lyas-ai-primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.lyas-ai-chatbot__form button {
    min-width: 90px;
    padding: 0 18px;
    border-radius: 16px;
}

.lyas-ai-chatbot__kvkk-footer {
    padding: 0 16px 14px;
    margin-top: -4px;
    color: var(--lyas-ai-muted);
    background: #ffffff;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.lyas-ai-chatbot__lead-cta button:hover,
.lyas-ai-chatbot__finish-bar button:hover,
.lyas-ai-chatbot__lead-actions button:hover,
.lyas-ai-chatbot__form button:hover {
    transform: translateY(-1px);
}

.lyas-ai-chatbot__lead-actions button:disabled,
.lyas-ai-chatbot__form button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}

.lyas-ai-chatbot--inline {
    margin: 24px auto;
}

.lyas-ai-chatbot-float {
    position: fixed;
    right: var(--lyas-ai-float-offset-x, 24px);
    bottom: var(--lyas-ai-float-offset-y, 24px);
    z-index: 2147483000;
    font-family: inherit;
}

.lyas-ai-chatbot-float--bottom-right {
    right: var(--lyas-ai-float-offset-x, 24px);
    bottom: var(--lyas-ai-float-offset-y, 24px);
    left: auto;
    top: auto;
}

.lyas-ai-chatbot-float--bottom-left {
    left: var(--lyas-ai-float-offset-x, 24px);
    bottom: var(--lyas-ai-float-offset-y, 24px);
    right: auto;
    top: auto;
}

.lyas-ai-chatbot-float--top-right {
    right: var(--lyas-ai-float-offset-x, 24px);
    top: var(--lyas-ai-float-offset-y, 24px);
    left: auto;
    bottom: auto;
}

.lyas-ai-chatbot-float--top-left {
    left: var(--lyas-ai-float-offset-x, 24px);
    top: var(--lyas-ai-float-offset-y, 24px);
    right: auto;
    bottom: auto;
}

.lyas-ai-chatbot-float__launcher {
    position: relative;
    isolation: isolate;
    min-width: 74px;
    min-height: 74px;
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px;
    padding: 11px 15px 11px 11px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--lyas-ai-launcher-radius, 999px) !important;
    color: #ffffff !important;
    background:
        radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.26), transparent 24%),
        linear-gradient(135deg, color-mix(in srgb, var(--lyas-ai-primary, #2563eb) 82%, #f59e0b 18%) 0%, #1f2937 100%);
    box-shadow:
        0 18px 50px rgba(15, 23, 42, 0.30),
        0 8px 20px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    text-decoration: none !important;
    text-align: left;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lyas-ai-chatbot-float__launcher::before {
    content: '';
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: var(--lyas-ai-launcher-radius, 999px) !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02) 45%, rgba(255,255,255,0.08));
    pointer-events: none;
}

.lyas-ai-chatbot-float__launcher::after {
    content: '';
    position: absolute;
    top: -54%;
    left: -42%;
    width: 38%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: rotate(20deg);
    animation: lyas-ai-shine 5.2s ease-in-out infinite;
    pointer-events: none;
}

.lyas-ai-chatbot-float__launcher:hover {
    transform: translateY(-2px) scale(1.015);
}

.lyas-ai-chatbot-float__launcher--icon-only {
    width: 64px;
    min-width: 64px;
    height: 64px;
    min-height: 64px;
    padding: 0 !important;
    justify-content: center !important;
    gap: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.lyas-ai-chatbot-float__launcher--icon-only::before,
.lyas-ai-chatbot-float__launcher--icon-only::after {
    display: none !important;
}

.lyas-ai-chatbot-float__launcher--icon-only .lyas-ai-chatbot-float__launcher-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.lyas-ai-chatbot-float__launcher--icon-only .lyas-ai-chatbot-float__launcher-icon img {
    border-radius: 999px;
}

.lyas-ai-chatbot-float__launcher-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 50px;
    border-radius: 999px;
    font-size: 19px;
    line-height: 1;
    border: 3px solid rgba(255, 255, 255, 0.96);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.lyas-ai-chatbot-float__launcher-icon::after {
    content: '';
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 2px solid #ffffff;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.lyas-ai-chatbot-float__launcher-icon img {
    border-radius: 999px;
}

.lyas-ai-chatbot-float__launcher-text {
    position: relative;
    z-index: 1;
    display: inline-flex !important;
    align-items: center;
    min-height: 32px;
    max-width: 164px;
    padding: 8px 13px;
    border-radius: 999px !important;
    background: color-mix(in srgb, var(--lyas-ai-primary, #2563eb) 72%, #0f172a 28%);
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.10);
}

.lyas-ai-chatbot-float__launcher-text,
.lyas-ai-chatbot-float__launcher-text * {
    color: #ffffff !important;
    text-decoration: none !important;
}

@keyframes lyas-ai-shine {
    0%, 58% { transform: translateX(0) rotate(20deg); opacity: 0; }
    66% { opacity: 1; }
    100% { transform: translateX(470%) rotate(20deg); opacity: 0; }
}

.lyas-ai-chatbot-float__notice {
    position: absolute;
    right: 0;
    bottom: 94px;
    width: min(312px, calc(100vw - 32px));
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lyas-ai-chatbot-float__notice::after {
    content: '';
    position: absolute;
    right: 26px;
    bottom: -7px;
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.98);
    border-right: 1px solid rgba(17, 24, 39, 0.08);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    transform: rotate(45deg);
}

.lyas-ai-chatbot-float__notice-main,
.lyas-ai-chatbot-float__notice-close {
    border: 0 !important;
    background: transparent;
    font: inherit;
    margin: 0;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
}

.lyas-ai-chatbot-float__notice-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 16px;
    color: #111827 !important;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.lyas-ai-chatbot-float__notice-main::before {
    content: '💬';
    flex: 0 0 auto;
    margin-right: 8px;
}

.lyas-ai-chatbot-float__notice-close {
    width: 32px;
    height: 32px;
    min-width: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    border-radius: 10px;
    color: #6b7280 !important;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    background: color-mix(in srgb, var(--lyas-ai-primary, #2563eb) 12%, #ffffff 88%) !important;
}

.lyas-ai-chatbot-float__notice-main,
.lyas-ai-chatbot-float__notice-close {
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.lyas-ai-chatbot-float__notice-main:hover {
    opacity: 1;
    background: rgba(15, 23, 42, 0.05);
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.lyas-ai-chatbot-float__notice-close:hover {
    opacity: 1;
    background: color-mix(in srgb, var(--lyas-ai-primary, #2563eb) 18%, #ffffff 82%) !important;
    transform: scale(1.04);
}

.lyas-ai-chatbot-float__panel {
    position: absolute;
    right: 0;
    bottom: 78px;
    width: min(430px, calc(100vw - 32px));
}

.lyas-ai-chatbot-float--bottom-left .lyas-ai-chatbot-float__panel,
.lyas-ai-chatbot-float--top-left .lyas-ai-chatbot-float__panel {
    left: 0;
    right: auto;
}

.lyas-ai-chatbot-float--top-right .lyas-ai-chatbot-float__panel,
.lyas-ai-chatbot-float--top-left .lyas-ai-chatbot-float__panel {
    top: 78px;
    bottom: auto;
}

.lyas-ai-chatbot-float--bottom-left .lyas-ai-chatbot-float__notice,
.lyas-ai-chatbot-float--top-left .lyas-ai-chatbot-float__notice {
    left: 0;
    right: auto;
}

.lyas-ai-chatbot-float--top-right .lyas-ai-chatbot-float__notice,
.lyas-ai-chatbot-float--top-left .lyas-ai-chatbot-float__notice {
    top: 94px;
    bottom: auto;
}

.lyas-ai-chatbot-float--bottom-left .lyas-ai-chatbot-float__notice::after,
.lyas-ai-chatbot-float--top-left .lyas-ai-chatbot-float__notice::after {
    left: 26px;
    right: auto;
}

.lyas-ai-chatbot-float--top-right .lyas-ai-chatbot-float__notice::after,
.lyas-ai-chatbot-float--top-left .lyas-ai-chatbot-float__notice::after {
    top: -7px;
    bottom: auto;
    border-left: 1px solid rgba(17, 24, 39, 0.08);
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    border-right: 0;
    border-bottom: 0;
}

.lyas-ai-chatbot-float__panel[hidden] {
    display: none !important;
}

.lyas-ai-chatbot--floating {
    width: 100%;
    margin: 0;
    border-radius: 24px !important;
}

.lyas-ai-chatbot--floating .lyas-ai-chatbot__messages {
    height: min(410px, calc(100vh - 320px));
    min-height: 260px;
}

.lyas-ai-chatbot--floating.is-lead-open .lyas-ai-chatbot__messages {
    height: min(280px, calc(100vh - 430px));
    min-height: 190px;
}

.lyas-ai-chatbot-float.is-open .lyas-ai-chatbot-float__launcher {
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.22);
}

@media (max-width: 520px) {
    .lyas-ai-chatbot {
        width: 100%;
        border-radius: 20px !important;
    }

    .lyas-ai-chatbot__messages {
        height: 360px;
    }

    .lyas-ai-chatbot__form {
        grid-template-columns: 1fr;
    }

    .lyas-ai-chatbot__form button {
        min-height: 44px;
    }

    .lyas-ai-chatbot-float {
        right: var(--lyas-ai-float-offset-x, 16px);
        bottom: var(--lyas-ai-float-offset-y, 16px);
        left: auto;
        top: auto;
    }

    .lyas-ai-chatbot-float--bottom-right {
        right: var(--lyas-ai-float-offset-x, 16px);
        bottom: var(--lyas-ai-float-offset-y, 16px);
        left: auto;
        top: auto;
    }

    .lyas-ai-chatbot-float--bottom-left {
        left: var(--lyas-ai-float-offset-x, 16px);
        bottom: var(--lyas-ai-float-offset-y, 16px);
        right: auto;
        top: auto;
    }

    .lyas-ai-chatbot-float--top-right {
        right: var(--lyas-ai-float-offset-x, 16px);
        top: var(--lyas-ai-float-offset-y, 16px);
        left: auto;
        bottom: auto;
    }

    .lyas-ai-chatbot-float--top-left {
        left: var(--lyas-ai-float-offset-x, 16px);
        top: var(--lyas-ai-float-offset-y, 16px);
        right: auto;
        bottom: auto;
    }

    .lyas-ai-chatbot-float__launcher {
        min-width: 62px;
        min-height: 62px;
        padding: 8px;
        justify-content: center !important;
        border-radius: var(--lyas-ai-launcher-radius, 999px) !important;
    }

    .lyas-ai-chatbot-float__launcher-text {
        display: none !important;
    }

    .lyas-ai-chatbot-float__launcher--icon-only,
    .lyas-ai-chatbot-float__launcher--icon-only .lyas-ai-chatbot-float__launcher-icon {
        width: 62px;
        height: 62px;
        min-width: 62px;
        min-height: 62px;
        flex-basis: 62px;
    }

    .lyas-ai-chatbot-float__notice {
        right: 0;
        bottom: 74px;
        width: min(280px, calc(100vw - 32px));
    }

    .lyas-ai-chatbot-float--bottom-left .lyas-ai-chatbot-float__notice,
    .lyas-ai-chatbot-float--top-left .lyas-ai-chatbot-float__notice {
        left: 0;
        right: auto;
    }

    .lyas-ai-chatbot-float--top-right .lyas-ai-chatbot-float__notice,
    .lyas-ai-chatbot-float--top-left .lyas-ai-chatbot-float__notice {
        top: 74px;
        bottom: auto;
    }

    .lyas-ai-chatbot-float__panel {
        right: 0;
        bottom: 74px;
        width: min(430px, calc(100vw - 32px));
    }

    .lyas-ai-chatbot-float--bottom-left .lyas-ai-chatbot-float__panel,
    .lyas-ai-chatbot-float--top-left .lyas-ai-chatbot-float__panel {
        left: 0;
        right: auto;
    }

    .lyas-ai-chatbot-float--top-right .lyas-ai-chatbot-float__panel,
    .lyas-ai-chatbot-float--top-left .lyas-ai-chatbot-float__panel {
        top: 74px;
        bottom: auto;
    }

    .lyas-ai-chatbot--floating .lyas-ai-chatbot__messages {
        height: min(330px, calc(100vh - 310px));
    }

    .lyas-ai-chatbot--floating.is-lead-open .lyas-ai-chatbot__messages {
        height: min(230px, calc(100vh - 430px));
        min-height: 160px;
    }
}


/* Strong theme override: keep notification text area neutral even if the theme styles button:hover globally. */
.lyas-ai-chatbot-float .lyas-ai-chatbot-float__notice .lyas-ai-chatbot-float__notice-main,
.lyas-ai-chatbot-float .lyas-ai-chatbot-float__notice .lyas-ai-chatbot-float__notice-main:visited,
.lyas-ai-chatbot-float .lyas-ai-chatbot-float__notice .lyas-ai-chatbot-float__notice-main:active,
.lyas-ai-chatbot-float .lyas-ai-chatbot-float__notice .lyas-ai-chatbot-float__notice-main:focus {
    background: transparent !important;
    background-color: transparent !important;
    color: #111827 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.lyas-ai-chatbot-float .lyas-ai-chatbot-float__notice .lyas-ai-chatbot-float__notice-main:hover {
    background: rgba(15, 23, 42, 0.05) !important;
    background-color: rgba(15, 23, 42, 0.05) !important;
    color: #111827 !important;
    border: 0 !important;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
}

.lyas-ai-chatbot-float .lyas-ai-chatbot-float__launcher .lyas-ai-chatbot-float__launcher-icon:only-child {
    margin: 0;
}
