.sinem-helpbot {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 99990;
    font-family: 'Inter', sans-serif;
    --helpbot-blue: #2a6392;
    --helpbot-blue-dark: #214f75;
    --helpbot-blue-soft: #eef6fc;
    --helpbot-ink: #17324c;
}

.sinem-helpbot * {
    box-sizing: border-box;
}

.sinem-helpbot__launcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    border: 0;
    border-radius: 999px;
    padding: 12px 16px 12px 13px;
    background: var(--helpbot-blue);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(42, 99, 146, 0.28);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sinem-helpbot__launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(42, 99, 146, 0.34);
}

.sinem-helpbot__launcher i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.sinem-helpbot__launcher i,
.sinem-helpbot__launcher span:not(.sinem-helpbot__launcher-glow) {
    position: relative;
    z-index: 1;
}

.sinem-helpbot__launcher-glow {
    display: none;
}

.sinem-helpbot__panel {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(368px, calc(100vw - 32px));
    max-height: min(620px, calc(100vh - 104px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(42, 99, 146, 0.16);
    border-radius: 28px;
    background: #f5f9fc;
    box-shadow: 0 28px 76px rgba(17, 54, 84, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.sinem-helpbot.is-open .sinem-helpbot__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.sinem-helpbot.is-open .sinem-helpbot__launcher {
    transform: translateY(4px) scale(0.92);
    opacity: 0;
    pointer-events: none;
}

.sinem-helpbot__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 74px;
    padding: 18px 18px 15px;
    background: var(--helpbot-blue);
    color: #ffffff;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.sinem-helpbot__identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sinem-helpbot__avatar {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.sinem-helpbot__eyebrow {
    margin: 0 0 3px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sinem-helpbot__header h3 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #ffffff;
}

.sinem-helpbot__close {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sinem-helpbot__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(4deg);
}

.sinem-helpbot__body {
    padding: 14px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
    background: #f5f9fc;
}

.sinem-helpbot__message {
    display: flex;
    margin-bottom: 14px;
}

.sinem-helpbot__message--bot {
    justify-content: flex-start;
}

.sinem-helpbot__bubble {
    max-width: 92%;
    padding: 13px 14px;
    border-radius: 18px 18px 18px 5px;
    background: #ffffff;
    color: var(--helpbot-ink);
    border: 1px solid #dce9f3;
    box-shadow: 0 12px 28px rgba(22, 50, 79, 0.07);
    font-size: 0.9rem;
    line-height: 1.5;
}

.sinem-helpbot__categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
}

.sinem-helpbot__category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    border: 1px solid #dce8f1;
    border-radius: 999px;
    padding: 9px 12px;
    background: #ffffff;
    color: var(--helpbot-blue);
    font-weight: 900;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.sinem-helpbot__category:hover,
.sinem-helpbot__category.is-active {
    background: var(--helpbot-blue);
    color: #ffffff;
    border-color: var(--helpbot-blue);
    transform: translateY(-1px);
}

.sinem-helpbot__questions-wrap {
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(42, 99, 146, 0.1);
}

.sinem-helpbot__section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.sinem-helpbot__section-title span {
    color: var(--helpbot-ink);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
}

.sinem-helpbot__section-title small {
    color: #7b8ba0;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sinem-helpbot__questions {
    display: grid;
    gap: 8px;
}

.sinem-helpbot__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e1ebf3;
    border-radius: 16px;
    padding: 11px 12px;
    background: #ffffff;
    color: #20354e;
    font-weight: 800;
    font-size: 0.83rem;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(22, 50, 79, 0.04);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.sinem-helpbot__question:hover {
    border-color: rgba(42, 99, 146, 0.36);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(22, 50, 79, 0.07);
}

.sinem-helpbot__question i {
    color: var(--helpbot-blue);
}

.sinem-helpbot__answer {
    margin-top: 14px;
}

.sinem-helpbot__answer-card {
    border-radius: 22px;
    padding: 15px;
    background: linear-gradient(135deg, #ffffff, var(--helpbot-blue-soft));
    border: 1px solid #dce8f1;
    box-shadow: 0 14px 30px rgba(22, 50, 79, 0.08);
}

.sinem-helpbot__answer-question {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 0 0 9px;
    color: var(--helpbot-ink);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.35;
}

.sinem-helpbot__answer-question i {
    margin-top: 2px;
    color: var(--helpbot-blue);
}

.sinem-helpbot__answer-text {
    margin: 0;
    color: #52657c;
    font-size: 0.88rem;
    line-height: 1.58;
}

.sinem-helpbot__typing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 18px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e1ebf3;
    color: #627086;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(22, 50, 79, 0.06);
}

.sinem-helpbot__dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sinem-helpbot__dots span {
    width: 6px;
    height: 6px;
    display: block;
    border-radius: 999px;
    background: var(--helpbot-blue);
    animation: sinemTypingDot 0.9s infinite ease-in-out;
}

.sinem-helpbot__dots span:nth-child(2) {
    animation-delay: 0.14s;
}

.sinem-helpbot__dots span:nth-child(3) {
    animation-delay: 0.28s;
}

.sinem-helpbot__footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(42, 99, 146, 0.1);
    background: rgba(255, 255, 255, 0.86);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.sinem-helpbot__cta,
.sinem-helpbot__ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border-radius: 999px;
    padding: 10px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
}

.sinem-helpbot__cta {
    background: var(--helpbot-blue);
    color: #ffffff;
    box-shadow: 0 14px 24px rgba(42, 99, 146, 0.22);
}

.sinem-helpbot__ghost {
    background: #edf4f8;
    color: var(--helpbot-blue);
}

@keyframes sinemTypingDot {
    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .sinem-helpbot {
        right: 10px;
        bottom: 10px;
        left: auto;
    }

    .sinem-helpbot__launcher {
        margin-left: auto;
        padding: 11px 14px 11px 12px;
    }

    .sinem-helpbot__panel {
        right: 0;
        bottom: 0;
        width: min(354px, calc(100vw - 20px));
        max-height: min(610px, calc(100vh - 92px));
        border-radius: 24px;
        background: #f5f9fc;
    }

    .sinem-helpbot__header {
        min-height: 86px;
        align-items: center;
        padding: 18px 14px 17px;
    }

    .sinem-helpbot__identity {
        min-width: 0;
        gap: 10px;
    }

    .sinem-helpbot__avatar {
        width: 42px;
        height: 42px;
        border-radius: 16px;
    }

    .sinem-helpbot__eyebrow {
        font-size: 0.58rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .sinem-helpbot__header h3 {
        font-size: 1rem;
        line-height: 1.15;
        white-space: nowrap;
    }

    .sinem-helpbot__close {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .sinem-helpbot__footer {
        grid-template-columns: 1fr;
    }
}
