#nakkkim-bot-button {
    position: fixed;
    right: 22px;
    bottom: 42px;
    z-index: 999999;
    border: 0;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
    cursor: pointer;
    font-size: 28px;
    background: #173b73;
    color: #fff;
}

#nakkkim-bot-window {
    position: fixed;
    right: 22px;
    bottom: 126px;
    z-index: 999999;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 540px;
    max-height: calc(100vh - 130px);
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(0, 0, 0, .28);
    display: none;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

#nakkkim-bot-header {
    background: #173b73;
    color: #fff;
    padding: 14px 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#nakkkim-bot-header small {
    display: block;
    font-weight: 400;
    opacity: .9;
    margin-top: 2px;
}

#nakkkim-bot-close {
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 22px;
    cursor: pointer;
}

#nakkkim-bot-messages {
    padding: 14px;
    overflow-y: auto;
    flex: 1;
    background: #f6f8fb;
}

.nakkkim-msg {
    margin: 8px 0;
    padding: 10px 12px;
    border-radius: 14px;
    line-height: 1.35;
    font-size: 14px;
    white-space: pre-wrap;
}

.nakkkim-bot {
    background: #fff;
    color: #1b1b1b;
    border: 1px solid #e3e8f0;
}

.nakkkim-user {
    background: #173b73;
    color: #fff;
    margin-left: 46px;
}

#nakkkim-bot-quick {
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #e7e7e7;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.nakkkim-chip {
    border: 1px solid #173b73;
    color: #173b73;
    background: #fff;
    border-radius: 999px;
    padding: 7px 10px;
    cursor: pointer;
    font-size: 13px;
}

#nakkkim-bot-form {
    display: flex;
    padding: 10px;
    gap: 8px;
    border-top: 1px solid #e7e7e7;
    background: #fff;
}

#nakkkim-bot-input {
    flex: 1;
    border: 1px solid #cfd7e6;
    border-radius: 12px;
    padding: 10px;
    font-size: 14px;
}

#nakkkim-bot-send {
    border: 0;
    border-radius: 12px;
    background: #173b73;
    color: #fff;
    padding: 0 14px;
    cursor: pointer;
}

#nakkkim-bot-footer {
    font-size: 11px;
    color: #777;
    padding: 0 12px 10px;
    background: #fff;
}

#nakkkim-bot-footer a {
    color: #173b73;
}

@media (max-width: 480px) {
    #nakkkim-bot-window {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 86px;
    }

    #nakkkim-bot-button {
        right: 16px;
        bottom: 16px;
    }
}
