/* Welcome Call Pop-out Panel Styles */

.wcp-popout {
    position: fixed;
    z-index: 9999999999;
    background: #ffffff;
    border-radius: 12px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 480px;
    min-height: 60px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
}

/* Header - Draggable */
.wcp-popout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0074C5;
    color: #fff;
    cursor: move;
    user-select: none;
    flex-shrink: 0;
}

.wcp-popout-header .header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.wcp-popout-header .header-title .material-symbols-rounded {
    font-size: 22px;
    flex-shrink: 0;
}

.wcp-popout-header .header-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wcp-popout-header .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.wcp-popout-header .btn-minimize,
.wcp-popout-header .btn-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s ease;
}

.wcp-popout-header .btn-minimize:hover,
.wcp-popout-header .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.wcp-popout-header .btn-minimize .material-symbols-rounded,
.wcp-popout-header .btn-close .material-symbols-rounded {
    font-size: 18px;
}

/* Content */
.wcp-popout-content {
    flex: 1 1 auto;
    overflow: auto;
    background: #f4f6f8;
    padding: 12px;
}

/* the trackers size themselves against the viewport, inside the panel they just fill it */
.wcp-popout-content .gwc-scroll,
.wcp-popout-content .cwc-scroll {
    max-height: none;
}

.wcp-popout-content .widget-no-panel {
    margin-bottom: 12px;
}

/* Resize handle */
.wcp-popout-resize {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 16px;
    height: 16px;
    cursor: nwse-resize;
    background:
        linear-gradient(135deg, transparent 0 50%, #b8c2cc 50% 60%, transparent 60% 70%, #b8c2cc 70% 80%, transparent 80%);
}
