/* Hide toggle group links (verstecken/show links) */
a.toggle_group,
.toggle_group {
  display: none !important;
}

/* Hide time tracking icons/elements */
.object_tracking,
span.object_tracking,
span[id^="my_tasks_object_time_"] {
  display: none !important;
}

/* Also hide tracking images */
img[src*="object-time"],
img[src*="tracking"] {
  display: none !important;
}

/* Remove yellow background from my tasks wrapper */
div.my_tasks_inner_wrapper,
.my_tasks_inner_wrapper {
  background: transparent !important;
  box-shadow: none !important;
}

/* Hide wireframe statusbar */
#wireframe_statusbar,
.wireframe_statusbar {
  display: none !important;
}

/* Hide refresh button/action */
#page_action_refresh,
li#page_action_refresh,
.title_action#page_action_refresh {
  display: none !important;
}

/* Hide original icons in menu_group_main */
#menu_group_main img,
.menu_group_main img,
#menu_group_main .icon,
.menu_group_main .icon {
  display: none !important;
}

/* Add SVG icons to menu items using CSS pseudo-elements */
#menu_group_main a::before,
.menu_group_main a::before {
  content: '';
  display: inline-block;
  width: 31px;
  height: 31px;
  margin-right: 15px;
  margin-left: 5px;
  padding: 4px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Home/Dashboard icon */
#menu_group_main a[href*="dashboard"]::before,
#menu_group_main a[href*="home"]::before,
.menu_group_main a[href*="dashboard"]::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>');
}

/* Projects icon */
#menu_group_main a[href*="project"]::before,
.menu_group_main a[href*="project"]::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path d="M10 4H4c-1.11 0-2 .89-2 2v12c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2h-8l-2-2z"/></svg>');
}

/* Tasks icon */
#menu_group_main a[href*="task"]::before,
#menu_group_main a[href*="assignment"]::before,
.menu_group_main a[href*="task"]::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"/></svg>');
}

/* People/Users icon */
#menu_group_main a[href*="people"]::before,
#menu_group_main a[href*="user"]::before,
.menu_group_main a[href*="people"]::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>');
}

/* Calendar icon */
#menu_group_main a[href*="calendar"]::before,
.menu_group_main a[href*="calendar"]::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>');
}

/* Reports icon */
#menu_group_main a[href*="report"]::before,
.menu_group_main a[href*="report"]::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"/></svg>');
}

/* Settings icon */
#menu_group_main a[href*="setting"]::before,
#menu_group_main a[href*="admin"]::before,
.menu_group_main a[href*="setting"]::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path d="M12 15.5A3.5 3.5 0 0 1 8.5 12 3.5 3.5 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5 3.5 3.5 0 0 1-3.5 3.5m7.43-2.53c.04-.32.07-.64.07-.97 0-.33-.03-.65-.07-.97l2.11-1.63c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.39-1.06-.73-1.69-.98l-.37-2.65A.506.506 0 0 0 14 2h-4c-.25 0-.46.18-.5.42l-.37 2.65c-.63.25-1.17.59-1.69.98l-2.49-1c-.22-.08-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64L4.57 11c-.04.32-.07.64-.07.97 0 .33.03.65.07.97l-2.11 1.63c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.39 1.06.73 1.69.98l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.63-.25 1.17-.59 1.69-.98l2.49 1c.22.08.49 0 .61-.22l2-3.46c.13-.22.07-.49-.12-.64L19.43 12.53Z"/></svg>');
}

/* Fix menu item spacing */
#wireframe_menu li {
  padding-top: 10px !important;
}

/* Set subtasks table background to white */
table.subtasks_table {
  background: #ffffff !important;
}

/* Increase general font size to 12px */
body,
.body,
* {
  font-size: 12px !important;
}

/* Hide what's new sidebar */
div#whats_new_sidebar,
#whats_new_sidebar {
  display: none !important;
}

/* Hide label column with priority and pills in my_tasks table */
.my_tasks_inner_wrapper td.label.right,
.my_tasks_inner_wrapper td.label,
.my_tasks_inner_wrapper .priority,
.my_tasks_inner_wrapper .pill.label {
  display: none !important;
}

/* Set task object type colors to black */
span.object_type.object_type_task {
  color: #000000 !important;
  border-color: #000000 !important;
}

/* Hide all subtask object type spans */
span.object_type_subtask {
  display: none !important;
}

/* Hide all table rows with subtask class */
tr.subtask {
  display: none !important;
}

/* Style checkbox images in my_tasks table */
div.my_tasks_wrapper div.my_tasks div.my_tasks_inner_wrapper table tbody tr.assignment td.name span.my_tasks_name_element.checkbox img {
  cursor: pointer;
  position: relative;
  top: 5px;
  width: 20px;
  height: 20px;
}

/* Style page title heading */
#wireframe_page_title h1 {
  color: #000;
  font-weight: bold;
  font-size: 16px !important;
  float: left;
  margin: 6px 0;
}

/* Task type spans styling - JavaScript handles text replacement */
span.my_tasks_name_element.object_type.object_type_task {
  /* Keep original styling, JavaScript will handle the text */
}