#aavi-widget-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#aavi-launcher {
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.aavi-widget-closed #aavi-chat-card {
    display: none;
}

#aavi-chat-card {
    width: 380px;
    max-width: 90vw;
    height: 480px;
    background: #e8f4f8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.aavi-avatar-bg {
    position: relative;
    flex-grow: 1;
    background-size: cover;
    background-position: center top;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
}

.aavi-header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aavi-chip {
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
}

.aavi-header-controls button {
    background: rgba(0, 0, 0, 0.55);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aavi-bubble-wrapper {
    margin-bottom: 8px;
}

.aavi-bubble {
    background: rgba(40, 40, 40, 0.78);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.45;
}

.aavi-input-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 30px;
    margin: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.aavi-input-bar input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 8px;
    font-size: 14px;
}

.aavi-input-bar button {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
}