.WF_ChooseWorkflow_root {
    height: 100vh;
}

.WF_ChooseWorkflow_root .AppCore__page__Page__body {
    padding: 21px 21px 20px 27px;
    background-color: var(--color-white);
}

.WF_ChooseWorkflowSection_heading {
    font-weight: var(--font-weight-bold);
    letter-spacing: normal;
    color: var(--color-gray-700);
    line-height: normal;
    margin-bottom: 18px;
    font-size: 20px;
}

.WF_ChooseWorkflowSection_heading_expandable {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-gray-100);
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
}

.WF_ChooseWorkflowSection_headingIcon {
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
}

.WF_ChooseWorkflow_no-workflows {
    text-align: center;
}

/* Override the MUI styles to make the dialog fullscreen */

.WF_ChooseWorkflow_dialog-root {
    padding-top: 0 !important;
}

.WF_ChooseWorkflow_dialog-content {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    transform: none !important;
}

.WF_ChooseWorkflow_dialog-body {
    max-height: none !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    color: var(--color-gray-700) !important;
}

.WF_ChooseWorkflow_notebook-icon svg {
    width: 25px;
    height: 23px;
}

.WF_ChooseWorkflow_note-section {
    background: var(--color-gray-800);
    display: flex;
    padding: 19px;
    margin-bottom: 16px;
    justify-content: space-evenly;
}

.WF_ChooseWorkflow_search-section {
    background-color: var(--color-cyan-50);
    padding: 10px 23px 30px 25px;
}

.WF_ChooseWorkflow_header.dark .WF_ChooseWorkflow_search-section {
    background: none;
}

.WF_ChooseWorkflow_root .AppCore__page__TopBar:not(.dark) {
    background-color: var(--color-cyan-50);
}

.WF_ChooseWorkflow_root *:focus {
    outline: none;
}

.WF_ChooseWorkflowSection .AppCore__ui__WorkflowItem:not(:last-child) {
    margin-bottom: 11px;
}

.WF_ChooseWorkflow_recentlyUsed:not(:last-child) .WF_ChooseWorkflowSection,
.WF_ChooseWorkflow_inProgress:not(:last-child) .WF_ChooseWorkflowSection {
    margin-bottom: 49px;
}

.WF_ChooseWorkflow_workflows .WF_ChooseWorkflowSection:not(:last-child) {
    margin-bottom: 44px;
}

.WF_ChooseWorkflow_root .AppCore__ui__Spinner {
    --size: 50px;
    margin-top: -75px;
    margin-left: calc(50% - (var(--size) / 2));
    height: var(--size);
    width: var(--size);
}

.WF_TaskTab_Item {
    width: 100%;
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1px solid var(--gray8);
    background: white;
    padding: 20px 26px;
}

.WF_TaskTab_Item_Info {
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.WF_TaskTab_Item_Text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.WF_TaskTab_Item_Text_Title {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--color-gray-700);
}

.WF_TaskTab_Item_Text_Subtitle {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-gray-400);
}

.WF_TaskTab_Item_ActionButton {
    width: 80px;
}

.WF_TaskTab_Item_ActionButton .ZapticButton {
    width: 100%;
}

/* Allow task names in the ad hoc task list to wrap to max 3 lines */
.WF_ChooseWorkflow_root .AppCore__ui__TodoItemTitle {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    padding: 0px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: 1.375;
}
