#livechat-widget-container {
    max-height: 100%;
    position: fixed;
    bottom: 0;
    z-index: 999999;
    display: flex;
    flex-direction: column;
}
#livechat-widget-container.left {
    padding: 20px 0 20px 20px;
    left: 0;
    align-items: flex-start;
}
#livechat-widget-container.right {
    padding: 20px 20px 20px 0;
    right: 0;
    align-items: flex-end;
}

#livechat-widget-container > iframe {
    border: none;
}

.heyo-bubble-button {
    width: 60px;
    height: 60px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    color: white;
    transition: all 0.1s ease-in-out;
}

.heyo-bubble-button:hover {
    scale: 1.1;
}

.heyo-unread-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    background-color: red;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    padding: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
}

.heyo-bubble-button--small {
    width: 48px;
    height: 48px;
}
.heyo-bubble-button--small svg {
    width: 24px;
    height: 24px;
}

.heyo-bubble-button--medium {
    width: 60px;
    height: 60px;
}
.heyo-bubble-button--medium svg {
    width: 32px;
    height: 32px;
}

.heyo-bubble-button--large {
    width: 72px;
    height: 72px;
}
.heyo-bubble-button--large svg {
    width: 40px;
    height: 40px;
}

.heyo-card {
    font-family: 'Inter', sans-serif;
    background-color: #252627;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    position: relative;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.1s ease-in-out;
}

.heyo-card:hover {
    scale: 1.03;
}

.heyo-card--small {
    gap: 10px;
    padding: 8px 12px;
    border-radius: 12px;
}
.heyo-card--small .heyo-chat-now {
    padding: 3px 7px;
    margin-left: 6px;
}
.heyo-card--small .heyo-avatar {
    width: 32px;
    height: 32px;
}

.heyo-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.heyo-name {
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
}
.heyo-name-row {
    line-height: 1;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}
.heyo-role {
    font-size: 12px;
    opacity: 0.8;
}

.heyo-card--small .heyo-name-row {
    margin-bottom: 2px;
}

.heyo-card--small .heyo-role {
    opacity: 0.5;
}

.heyo-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.heyo-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #9ca3af;
}
.heyo-status-text {
    font-size: 12px;
    opacity: 0.5;
    line-height: 1;
}

.heyo-chat-now {
    background-color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 24px;
}

/* Light background styles */
.heyo-bubble-button.heyo-light-bg {
    color: black;
}

.heyo-card.heyo-light-bg {
    color: black;
}

.heyo-card.heyo-light-bg .heyo-role,
.heyo-card.heyo-light-bg .heyo-status-text {
    opacity: 0.7;
}

.heyo-card.heyo-light-bg .heyo-chat-now {
    background-color: black;
    color: white !important;
}
