/* Chiến Thần Chatbot - Frontend Styles */

#npc-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2147483647;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
#npc-chat-widget,
#npc-chat-widget * {
    box-sizing: border-box;
}
#npc-chat-widget button,
#npc-chat-widget input {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Toggle Button (closed state) */
.npc-chat-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.npc-chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.5);
}

.npc-chat-toggle img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.npc-chat-toggle__fallback {
    display: none;
    font-size: 28px;
    line-height: 1;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.npc-chat-toggle__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #e74c3c;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: npc-pulse 2s infinite;
}

@keyframes npc-pulse {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

/* Chat Window */
.npc-chat-window {
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 520px;
    max-height: calc(100vh - 100px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: npc-slide-up 0.3s ease;
}

@keyframes npc-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.npc-chat-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
}

.npc-chat-header__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    object-fit: cover;
    margin-right: 12px;
}

.npc-chat-header__info {
    flex: 1;
}

.npc-chat-header__name {
    font-weight: 600;
    font-size: 15px;
}

.npc-chat-header__status {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.npc-chat-header__status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
}

.npc-chat-header__close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.npc-chat-header__close:hover {
    background: rgba(255,255,255,0.3);
}

/* Messages */
.npc-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f5f6fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.npc-chat-msg {
    display: flex;
    gap: 8px;
    max-width: 85%;
    animation: npc-fade-in 0.3s ease;
}

@keyframes npc-fade-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.npc-chat-msg--user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.npc-chat-msg--bot {
    align-self: flex-start;
}

.npc-chat-msg__bubble {
    padding: 10px 14px;
    border-radius: 16px;
    word-wrap: break-word;
    font-size: 14px;
}

.npc-chat-msg--user .npc-chat-msg__bubble {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.npc-chat-msg--bot .npc-chat-msg__bubble {
    background: #fff;
    color: #2d3436;
    border: 1px solid #e1e8ed;
    border-bottom-left-radius: 4px;
}

.npc-chat-msg__time {
    font-size: 11px;
    color: #b2bec3;
    margin-top: 3px;
    text-align: right;
}

/* Typing */
.npc-chat-typing {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
}

.npc-chat-typing.active {
    display: flex;
}

.npc-chat-typing__dot {
    width: 8px;
    height: 8px;
    background: #b2bec3;
    border-radius: 50%;
    animation: npc-bounce 1.4s infinite ease-in-out both;
}

.npc-chat-typing__dot:nth-child(1) { animation-delay: -0.32s; }
.npc-chat-typing__dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes npc-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Input Area */
.npc-chat-input-area {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #fff;
    border-top: 1px solid #e1e8ed;
    gap: 8px;
}

.npc-chat-input {
    flex: 1;
    border: 1px solid #dfe6e9;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.npc-chat-input:focus {
    border-color: #ff6b35;
}

.npc-chat-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.npc-chat-send:hover {
    transform: scale(1.1);
}

.npc-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Lead Form */
.npc-lead-form {
    background: #fff3e0;
    border: 1px solid #ffcc80;
    border-radius: 12px;
    padding: 14px;
    margin-top: 4px;
}

.npc-lead-form__title {
    font-weight: 600;
    color: #e65100;
    margin-bottom: 10px;
    font-size: 14px;
}

.npc-lead-form__input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ffcc80;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    box-sizing: border-box;
}

.npc-lead-form__input:focus {
    outline: none;
    border-color: #ff6b35;
}

.npc-lead-form__btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    transition: opacity 0.2s;
}

.npc-lead-form__btn:hover {
    opacity: 0.9;
}

.npc-lead-form__phone-hint {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #2e7d32;
}

.npc-lead-form__phone-hint strong {
    color: #1b5e20;
}

.npc-lead-form__success {
    color: #2e7d32;
    font-weight: 500;
    text-align: center;
    padding: 10px;
}

/* Scrollbar */
.npc-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.npc-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.npc-chat-messages::-webkit-scrollbar-thumb {
    background: #dfe6e9;
    border-radius: 3px;
}

/* Proactive Tooltip */
.npc-proactive-tooltip {
    position: absolute;
    bottom: 74px;
    right: 0;
    background: #fff;
    color: #2d3436;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    font-size: 13px;
    max-width: 260px;
    animation: npc-slide-up 0.3s ease;
    z-index: 2147483647;
    border: 1px solid #e1e8ed;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.npc-proactive-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 24px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-right: 1px solid #e1e8ed;
    border-bottom: 1px solid #e1e8ed;
}

/* Segment Badge */
.npc-segment-badge {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
}

/* Exit Offer Bubble */
.npc-chat-msg__bubble--offer {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    border: none;
    padding: 14px 16px;
}

.npc-offer-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
}

.npc-offer-body {
    font-size: 13px;
    opacity: 0.95;
    margin-bottom: 8px;
}

.npc-offer-discount {
    display: inline-block;
    background: #fff;
    color: #ff6b35;
    font-weight: 700;
    font-size: 18px;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Mobile */
@media (max-width: 480px) {
    #npc-chat-widget {
        bottom: 10px;
        right: 10px;
    }
    .npc-chat-window {
        width: calc(100vw - 20px);
        height: calc(100vh - 90px);
        border-radius: 12px;
    }
    .npc-proactive-tooltip {
        max-width: 200px;
        font-size: 12px;
    }
}


/* === VISION & PHOTO UPLOAD EXTENSIONS === */
.np-chat-input-area {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-top: 1px solid #eef2f5;
    background: #fff;
    position: relative;
}

.np-chat-upload {
    background: none;
    border: none;
    padding: 6px;
    margin-right: 6px;
    cursor: pointer;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.np-chat-upload:hover {
    background: #f3f4f6;
    color: #ff6b35;
    transform: scale(1.1);
}

.np-chat-preview {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    gap: 10px;
    animation: np-fade-in 0.2s ease;
}

.np-preview-thumb {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #ff6b35;
    flex-shrink: 0;
}

.np-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.np-preview-remove {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.np-preview-label {
    font-size: 12px;
    color: #475569;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.np-user-thumb {
    max-width: 100%;
    max-height: 180px;
    border-radius: 8px;
    margin-bottom: 6px;
    display: block;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Gallery Grid for Completed Projects */
.np-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 6px;
}

.np-gallery-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.np-gallery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    border-color: #ff6b35;
}

.np-gallery-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
    background: #f1f5f9;
}

.np-gallery-title {
    padding: 5px 6px;
    font-size: 11px;
    line-height: 1.3;
    color: #1e293b;
    font-weight: 600;
    height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    background: #fafafa;
}

/* Lightbox Modal */
.np-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 2147483648;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}

.np-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
}

@keyframes np-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}


/* === VISION & PHOTO UPLOAD EXTENSIONS === */
.npc-chat-input-area {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-top: 1px solid #eef2f5;
    background: #fff;
    position: relative;
}

.npc-chat-upload {
    background: none;
    border: none;
    padding: 6px;
    margin-right: 6px;
    cursor: pointer;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.npc-chat-upload:hover {
    background: #f3f4f6;
    color: #ff6b35;
    transform: scale(1.1);
}

.npc-chat-preview {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    gap: 10px;
    animation: npc-fade-in 0.2s ease;
}

.npc-preview-thumb {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #ff6b35;
    flex-shrink: 0;
}

.npc-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.npc-preview-remove {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.npc-preview-label {
    font-size: 12px;
    color: #475569;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.npc-user-thumb {
    max-width: 100%;
    max-height: 180px;
    border-radius: 8px;
    margin-bottom: 6px;
    display: block;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Gallery Grid for Completed Projects */
.npc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 6px;
}

.npc-gallery-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.npc-gallery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    border-color: #ff6b35;
}

.npc-gallery-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
    background: #f1f5f9;
}

.npc-gallery-title {
    padding: 5px 6px;
    font-size: 11px;
    line-height: 1.3;
    color: #1e293b;
    font-weight: 600;
    height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    background: #fafafa;
}

/* Lightbox Modal */
.npc-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 2147483648;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}

.npc-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
}

@keyframes npc-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- Enhanced Modern Pulsing Toggle (npc) --- */
#npc-chat-toggle {
    animation: npc-chat-pulse 2.8s infinite !important;
}

@keyframes npc-chat-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6), 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    60% {
        box-shadow: 0 0 0 16px rgba(249, 115, 22, 0), 0 6px 24px rgba(0, 0, 0, 0.25);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0), 0 4px 20px rgba(0, 0, 0, 0.2);
    }
}

/* --- Floating Teaser Balloon (npc) --- */
.npc-teaser-bubble {
    position: absolute;
    bottom: 78px;
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid #fed7aa;
    width: 270px;
    cursor: pointer;
    z-index: 2147483646;
    animation: npc-teaser-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.npc-teaser-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.npc-teaser-bubble::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 28px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    transform: rotate(45deg);
    border-bottom: 1px solid #fed7aa;
    border-right: 1px solid #fed7aa;
}

.npc-teaser-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.npc-teaser-close:hover {
    background: #e2e8f0;
    color: #475569;
}

.npc-teaser-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.npc-teaser-avatar-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.npc-teaser-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ea580c;
}

.npc-teaser-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

.npc-teaser-text {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.35;
    color: #1e293b;
}

.npc-teaser-text strong {
    font-size: 13px;
    color: #0f172a;
    margin-bottom: 2px;
}

.npc-teaser-text span {
    font-size: 12px;
    color: #475569;
}

#npc-chat-window:not([style*="none"]) ~ .npc-teaser-bubble,
.npc-chat-window:not([style*="none"]) ~ .npc-teaser-bubble {
    display: none !important;
}

@keyframes npc-teaser-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --- Quick Suggestion Chips (npc) --- */
.npc-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 8px 12px 14px 12px;
    animation: npc-fade-in 0.3s ease;
}

.npc-quick-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.npc-quick-chip-btn:hover {
    background: #fff7ed;
    border-color: #f97316;
    color: #c2410c;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(249, 115, 22, 0.15);
}

.npc-quick-chip-btn:active {
    transform: translateY(0);
}

.npc-chip-icon {
    font-size: 13px;
}


/* ==========================================================================
   PROMINENT BEAUTIFUL AVATAR & GLOWING TOGGLE (npc)
   ========================================================================== */
#npc-chat-toggle,
.npc-chat-toggle {
    width: 66px !important;
    height: 66px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%) !important;
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.45) !important;
    padding: 3px !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease !important;
    animation: npc-chat-pulse 2.6s infinite !important;
}

#npc-chat-toggle[style*="none"],
.npc-chat-toggle[style*="none"] {
    display: none !important;
}

#npc-chat-toggle:hover,
.npc-chat-toggle:hover {
    transform: scale(1.1) translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.6) !important;
}

#npc-chat-toggle img,
.npc-chat-toggle img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2.5px solid #ffffff !important;
    display: block !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

.npc-chat-toggle__badge {
    position: absolute !important;
    bottom: 2px !important;
    right: 2px !important;
    width: 16px !important;
    height: 16px !important;
    background: #22c55e !important;
    border: 2.5px solid #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 0 10px #22c55e !important;
    z-index: 10 !important;
    display: block !important;
}

.npc-chat-header__avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2.5px solid #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
    flex-shrink: 0 !important;
}

.npc-teaser-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2.5px solid #dc2626 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

#npc-chat-toggle[style*="display: none"],
#npc-chat-toggle[style*="display:none"],
.npc-chat-toggle[style*="display: none"],
.npc-chat-toggle[style*="display:none"] {
    display: none !important;
}
