html {
    background-color: transparent !important;
    overflow:hidden;
    user-select: none;
}
body {
    background-color: transparent !important;
}

/**
Slack
*/

.action-preview-slack {
    background-color: #fff;
    padding:20px;
    padding-top: 0px;
    font-family: 'Lato';
}

.action-preview-slack .left-bar {
    width:30px;
    height:100vh;
    position:absolute;
    left:0px;
    top:0px;
    background-color: #591f59;
    z-index:1000000;
}

.action-preview-slack .messages {
    position:relative;
    top:10px;
}

.action-preview-slack .message-wrapper {
    position: relative;
    left: -10px;
    width: calc(100% + 30px);
}

.action-preview-slack .message {
    background-color:#fff;
    position:relative;
    margin-left:20px;
    min-height:43px;
    padding-left:20px;
    padding-right:10px;
    padding-top:10px;
    padding-bottom:10px;
    white-space: nowrap;
}

.action-preview-slack .inactive .message {
    filter: blur(3px);
}

.action-preview-slack .active .message {
    background-color: #f8f8f8
}

.action-preview-slack .message .avatar {
    position:absolute;
    top:10px;
    left:20px;
    width:36px;
    height:36px;
    margin-right:10px;
    border-bottom-left-radius: clamp(0% + 4px, min(22.222% + 0px, 0% + 12px), 0% + 12px);
    border-bottom-right-radius: clamp(0% + 4px, min(22.222% + 0px, 0% + 12px), 0% + 12px);
    border-top-left-radius: clamp(0% + 4px, min(22.222% + 0px, 0% + 12px), 0% + 12px);
    border-top-right-radius: clamp(0% + 4px, min(22.222% + 0px, 0% + 12px), 0% + 12px);
    box-sizing: border-box;
}

.action-preview-slack .message .cursor {
    position: absolute;
    top: 12px;
    left: 95px;
    z-index: 10000;
    width: 24px;
    height: 24px;
    filter: drop-shadow(2px 2px 2px #22222299);
}

.action-preview-slack .message .content {
    position: absolute;
    top: 3px;
    left: 63px;
    width: calc(100% - 60px);
    line-height:22px;
}

.action-preview-slack .message .content .top-line {
    position:relative;
    margin-top:3px;
}

.action-preview-slack .message .content .top-line .name {
    display:inline-block;
    font-weight:900;
    font-size:15px;
    color: rgb(29, 28, 29);
    line-height:22px;
    white-space: nowrap;
}
.action-preview-slack .message .content .top-line .icon {
    display:inline-block;
    font-weight: 400;
    font-size:15px;
    color: rgb(29, 28, 29);
    margin-left:3px;
    position:relative;
    top:-1px;
    white-space: nowrap;
}
.action-preview-slack .message .content .top-line .icon img.custom-emoji {
    width: 16px;
    height: 16px;
    position: relative;
    top: 4px;
}
.action-preview-slack .message .content .top-line .time {
    display:inline-block;
    font-size:12px;
    line-height:22px;
    color: rgb(97, 96, 97);
    margin-left:5px;
    white-space: nowrap;
}
.action-preview-slack .message .content .text {
    font-size:15px;
    line-height:22px;
    color: rgb(29, 28, 29);
    margin-top:-1px;
    white-space: nowrap;
}

.action-preview-slack .bubble {
    position:absolute;
    z-index:1000000000;
    left: 107px;
    top: -225px;
    height: 230px;
    width: 320px;
    background-color:#fff;
    box-shadow: rgba(29, 28, 29, 0.13) 0px 0px 0px 1px, rgba(0, 0, 0, 0.08) 0px 4px 12px 0px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: hidden;
}

.action-preview-slack .no-status .bubble {
    top: -205px;
    height: 205px;
}
.action-preview-slack .bubble .top {
    width: 100%;
    height: 110px;
    position:relative;
    border-bottom: 1px solid #e2e2e2;
}
.action-preview-slack .bubble .top .avatar {
    position:absolute;
    top:20px;
    left:20px;
    width:72px;
    height:72px;
    border-radius: clamp(0% + 4px, min(22.222% + 0px, 0% + 12px), 0% + 12px);
}
.action-preview-slack .bubble .top .top-line {
    position: absolute;
    top: 34px;
    left: 106px;
}
.action-preview-slack .bubble .top .top-line .name {
    display:inline-block;
    font-weight:900;
    font-size:15px;
    color: rgb(29, 28, 29);
    line-height:22px;
    white-space: nowrap;
}
.action-preview-slack .bubble .top .top-line .availability {
    display:inline-block;
    position: relative;
    top: 5px;
}
.action-preview-slack .bubble .top .top-line .availability div {
    display:inline-block;
    height:20px;
    width:20px;
}
.action-preview-slack .bubble .top .top-line .availability div svg {
    color: rgb(97, 96, 97);
}
.action-preview-slack .bubble .top .top-line .availability div.online-disturbable svg {
    color: rgb(55, 158, 21);
}
.action-preview-slack .bubble .top .top-line .availability div.online-dnd svg {
    color: rgb(55, 158, 21);
}
.action-preview-slack .bubble .top .job {
    position: absolute;
    top: 57px;
    left: 106px;
    font-weight:400;
    font-size:15px;
    color: rgba(29, 28, 29, 0.7);
    line-height:22px;
    white-space: nowrap;
}
.action-preview-slack .bubble .bottom {
    background-repeat: no-repeat;
    background-position: 9px 38px;
    background-image: url('/static/assets/img/preview/slack_bubble_footer.png');
    height:120px;
    width:100%;
    position:relative;
}
.action-preview-slack .no-status .bubble .bottom {
    height: 85px;
    background-position: 9px 15px;
}

.action-preview-slack .bubble .bottom .status {
    position: absolute;
    left: 14px;
    top: 13px;
    width: 287px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.action-preview-slack .bubble .bottom .status img.custom-emoji {
    width: 18px;
    height: 18px;
    margin-top: -5px;
    position: relative;
    top: 3px;
}


.action-preview-slack .bubble .bottom .local-time {
    position:absolute;
    left: 40px;
    top: 40px;
}
.action-preview-slack .no-status .bubble .bottom .local-time {
    top: 17px;
}


/**
Microsoft Teams
*/
.action-preview-teams {
    background-color: #ffffff;
    padding:20px;
    padding-top: 0px;
    font-family: "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

.action-preview-teams .left-bar {
    width:30px;
    height:100vh;
    position:absolute;
    left:0px;
    top:0px;
    background-color: #f4f6f9;
    z-index:1000000;
}

.action-preview-teams .messages {
    position:relative;
    top:10px;
    margin-left:35px;
}

.action-preview-teams .message-wrapper {
    position: relative;
    left: -10px;
}
.action-preview-teams .message {
    position:relative;
    top:0px;
    left:0px;
    height:70px;
}
.action-preview-teams .inactive .message {
    filter: blur(3px);
}

.action-preview-teams .message .cursor {
    position: absolute;
    top: 38px;
    left: 8px;
    z-index: 10000;
    width: 24px;
    height: 24px;
    filter: drop-shadow(2px 2px 2px #22222299);
}

.action-preview-teams .message .avatar {
    width:32px;
    height:32px;
    border-radius:10000px;
    position:absolute;
    top: 24px;
}
.action-preview-teams .message .avatar .avatar-image {
    width:32px;
    height:32px;
    border-radius:10000px;
}

.action-preview-teams .message .avatar .avatar-availability .avatar-availability-item {
    position:relative;
    z-index:1000;
    display:none;
    position:absolute;
    right:0px;
    bottom:0px;
    border-radius:10000px;
    background-color:#fff;
    border: 1px solid #fff;
}

.action-preview-teams .message .avatar .avatar-availability .available {
    color: rgb(19, 161, 14);
}
.action-preview-teams .message .avatar .avatar-availability.avatar-availability-available .available {
    display:block;
}
.action-preview-teams .message .avatar .avatar-availability .dnd {
    color: rgb(209, 52, 56);
}
.action-preview-teams .message .avatar .avatar-availability.avatar-availability-dnd .dnd {
    display:block;
}
.action-preview-teams .message .avatar .avatar-availability .offline {
    color: rgb(97, 97, 97);
}
.action-preview-teams .message .avatar .avatar-availability.avatar-availability-offline .offline {
    display:block;
}

.action-preview-teams .message .content {
    position:relative;
    top: 0px;
    left: -8px;
}

.action-preview-teams .message .content .top-line {
    position:absolute;
    top: 0px;
    left: 50px;
}
.action-preview-teams .message .content .top-line .name {
    display:inline-block;
    color: rgb(97, 97, 97);
    font-size: 12px;
    font-weight: 400;
    height: 16px;
    line-height: 16px;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}
.action-preview-teams .message .content .top-line .time {
    display:inline-block;
    color: rgb(97, 97, 97);
    
    font-size: 12px;
    font-weight: 400;
    height: 16px;
    line-height: 16px;
    text-overflow: ellipsis;
    text-wrap: nowrap;
    margin-left:10px;
}
.action-preview-teams .message .content .text {
    position:relative;
    top: 23px;
    left: 51px;
    border-radius:3px;
    background-color: rgb(245, 245, 245);
    border-width: 0.8px;
    border-color: rgba(0, 0, 0, 0);
    font-size: 14px;
    color: rgb(36, 36, 36);
    display:inline-block;
    line-height: 20px;
    padding-bottom: 8px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 6px;
}

.action-preview-teams .bubble {
    position:absolute;
    z-index:100000;
    left: 21px;
    top: -265px;
    width: 340px;
    height: 275px;
    background-color:#fdfdfd;
    background-repeat: no-repeat;
    background-position: 5px 5px;
    background-image: url('/static/assets/img/preview/teams_profile_bubble_interior.png');
    box-shadow: rgba(0, 0, 0, 0.25) 0px 8px 10px -2px;
    border-radius:5px;
    overflow:hidden;
}

.action-preview-teams .no-status .bubble {
    height: 209px;
    top: -200px;
    left: 21px;
}

.action-preview-teams .bubble .avatar .avatar-image {
    width:72px;
    height:72px;
    border-radius:10000px;
    position:absolute;
    top: 31px;
    left: 28px;
    z-index:10000;
}
.action-preview-teams .bubble .avatar .avatar-availability {
    position: absolute;
    top: 105px;
    left: 102px;
    /* height: 23px; */
    /* width: 19px; */
    scale: 2;
    z-index: 1000000;
}

.action-preview-teams .bubble .avatar .avatar-availability .avatar-availability-item {
    position:relative;
    z-index:10000000;
    display:none;
    position:absolute;
    right:0px;
    bottom:0px;
    border-radius:10000px;
    background-color:#fff;
    border: 1px solid #fff;
}

.action-preview-teams .bubble .avatar .avatar-availability .available {
    color: rgb(19, 161, 14);
}
.action-preview-teams .bubble .avatar .avatar-availability.avatar-availability-available .available {
    display:block;
}
.action-preview-teams .bubble .avatar .avatar-availability .dnd {
    color: rgb(209, 52, 56);
}
.action-preview-teams .bubble .avatar .avatar-availability.avatar-availability-dnd .dnd {
    display:block;
}
.action-preview-teams .bubble .avatar .avatar-availability .offline {
    color: rgb(97, 97, 97);
}
.action-preview-teams .bubble .avatar .avatar-availability.avatar-availability-offline .offline {
    display:block;
}

.action-preview-teams .bubble .about {
    position: absolute;
    top: 36px;
    left: 117px;
}
.action-preview-teams .bubble .about .name {
    font-size: 14px;
    font-weight: 700;
    color: rgb(37, 36, 36);
    line-height:20px;
}
.action-preview-teams .bubble .about .job {
    font-size: 12px;
    font-weight: 400;
    color: rgba(37, 36, 36, 0.75);
    line-height:16px;
    height:16px;
}
.action-preview-teams .bubble .about .department {
    font-size: 12px;
    font-weight: 400;
    color: rgba(37, 36, 36, 0.75);
    line-height:16px;
    height:16px;
    margin-top:3px;
}

.action-preview-teams .bubble .status {
    position: absolute;
    top: 230px;
    left: 78px;
    font-size: 12px;
    font-weight: 400;
    color: rgba(37, 36, 36);
    line-height: 17px;
    height: 22px;
    margin-top: 3px;
    width: 230px;
    overflow:hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}
.action-preview-teams .bubble .status img.custom-emoji {
    width: 16px;
    height: 16px;
    margin-top: -4px;
    position: relative;
    top: 3px;
}


/*
Bubble only
*/
.bubble-only .action-preview-slack .message {
    display:none;
}
.bubble-only .action-preview-slack .left-bar {
    display:none;
}
.bubble-only .action-preview-slack .messages {
    position:initial !important;
}
.bubble-only .action-preview-slack .message-wrapper {
    position:initial !important;
}
.bubble-only .action-preview-slack .bubble {
    position: absolute;
    transform-origin: top center;
    top: 9px;
    left: 50%;
    width: 340px;
    margin-left: -170px;
}

.bubble-only .action-preview-teams .message {
    display:none;
}
.bubble-only .action-preview-teams .left-bar {
    display:none;
}
.bubble-only .action-preview-teams .messages {
    position:initial !important;
}
.bubble-only .action-preview-teams .message-wrapper {
    position:initial !important;
}
.bubble-only .action-preview-teams .bubble {
    position: absolute;
    transform-origin: top center;
    top: 2px;
    left: 50%;
    width: 340px;
    margin-left: -170px;
}
