/* MAIN */
#os {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease;
}

#os.fade-in.show {
  opacity: 1;
  visibility: visible;
}

.os {
  width: 100vw;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  opacity: 0;
}

.os.show {
  opacity: 1;
}

/* ========================================= */
/* GLOBAL & PHOSPHOR ICONS                   */
/* ========================================= */

#menubar i.ph,
#menubar i.ph-fill,
#sidebar i.ph,
#sidebar i.ph-fill,
.feed-item-card i.ph,
.feed-item-card i.ph-fill {
  font-size: var(--menubar-icons); /* Adjusted to fallback if var missing, based on original */
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

#taskbar i.ph,
#taskbar i.ph-fill,
#taskbar-overflow-menu i.ph,
#taskbar-overflow-menu i.ph-fill {
  font-size: 20px;
  line-height: 1;
  display: inline-block;
}

/* Instantly swap out the font-family on hover for filled icons */
.innertel-logo a:hover i.ph,
.menu-item:hover i.ph,
.system-icon:hover i.ph,
.dropdown-list li a:hover i.ph,
.account-menu-list li .menu-item:hover i.ph,
.theme-btn:hover i.ph,
.navigation-list li a:hover i.ph {
  font-family: "Phosphor-Fill" !important;
}

/* Keyboard / Focus Icon States */
.navigation-list li.keyboard-selected a i.ph {
  font-family: "Phosphor-Fill";
  color: #fff;
}

.search-container:focus-within i.ph {
  font-family: "Phosphor-Fill";
  color: var(--color-secondary);
}

/* Add this class to prevent the child icon from filling on hover */
.no-hover-fill:hover i.ph {
  font-family: "Phosphor" !important;
}

/* ========================================= */
/* MENUBAR                                   */
/* ========================================= */

#menubar {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  height: 32px;
  background-color: var(--bg-theme-app, rgba(0, 0, 0, 0.75));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px 15px;
  margin: 3px;
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  z-index: var(--z-taskbar);
  border-radius: var(--menu-border-radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  max-width: calc(100vw - 6px);
}

.menu-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.innertel-logo a {
  font-size: 16px;
  color: #FFFFFF;
  cursor: pointer;
  padding: 0 5px;
  margin-left: -5px;
  transition: background-color 0.1s;
  font-weight: bold;
}

.innertel-logo a:hover {
  color: var(--color-secondary);
}

.app-name {
  font-weight: 600;
  color: #FFFFFF;
  margin-right: 5px;
  display: block;
}

.app-menu-items {
  display: flex;
  gap: 15px;
}

.menu-item {
  cursor: pointer;
  padding: 4px 8px;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.1s;
  border-radius: var(--rounded-full);
  display: block;
}

.menu-item a {
  color: rgba(255, 255, 255, 0.9);
}

.menu-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.menu-item.danger:hover,
.menu-item.danger:hover i {
  color: #ff6b6b;
}

.menu-bar-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.system-icon {
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.1s;
  border-radius: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.system-icon a {
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.system-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.system-time-date {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  padding: 0 3px;
  height: 25px;
  line-height: 25px;
  cursor: default;
}

/* ========================================= */
/* MENUBAR DROPDOWNS                         */
/* ========================================= */

#account-menu,
#places-dropdown,
#new-dropdown,
#app-menu-dropdown {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-dropdown) !important;
  background-color: var(--menu-dropdown-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--menu-dropdown-border-color);
  border-radius: var(--menu-border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.2s;
  will-change: transform, opacity, backdrop-filter;
}

#account-menu.show,
#places-dropdown.show,
#new-dropdown.show,
#app-menu-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#account-menu {
  top: 34px;
  right: 10px;
  width: 230px;
  max-width: 280px;
  padding: 5px;
}

#app-menu-dropdown,
#places-dropdown,
#new-dropdown {
  left: 10px;
  min-width: 200px;
  padding: 1px;
  margin-top: 5px;
}

/* User Profile Header */
.menu-header {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 4px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  background-color: var(--color-secondary);
  color: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-right: 12px;
  flex-shrink: 0;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.user-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

.user-name {
  font-weight: 500;
  font-size: 14px;
  color: #FFFFFF;
}

.user-email {
  font-size: 12px;
  color: #8A8F98;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.active-indicator {
  color: lime;
  font-size: 10px;
  margin-left: 8px;
}

/* Account & Generic Dropdown Lists */
.account-menu-list,
.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-list {
  padding: 4px;
}

.menu-top-section {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding-bottom: 1px;
}

.menu-top-section ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu-divider {
  height: 1px;
  background-color: var(--menu-dropdown-border-color);
  margin: 6px 0;
}

.account-menu-list li .menu-item,
.dropdown-list li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--menu-dropdown-text-color);
  padding: 8px 12px;
  border-radius: var(--menubar-dropdown-hover-radius);
  font-size: 13px;
  transition: background-color 0.15s ease;
  margin: 5px; /* Applies to account-menu-list */
}

.dropdown-list li a {
  margin: 0;
  padding: 10px 12px;
  gap: 10px;
}

.account-menu-list li .menu-item:hover,
.dropdown-list li a:hover {
  background-color: var(--color-secondary);
  color: var(--menu-dropdown-text-color-hover);
}

.account-menu-list li .menu-item i,
.dropdown-list li a i {
  width: 20px;
  margin-right: 10px;
  color: var(--menu-dropdown-icon-color);
  text-align: center;
  font-size: 14px;
}

.dropdown-list li a i {
  width: 18px;
  margin-right: 0; /* overridden by gap */
}

.account-menu-list li .menu-item:hover i,
.dropdown-list li a:hover i {
  color: var(--menu-dropdown-text-color-hover);
}

.menu-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
}

.footer-actions-right {
  display: flex;
}

.account-menu-list li.menu-footer-row .menu-item.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  min-width: auto;
  background: transparent;
  opacity: 0.7;
  border-radius: var(--rounded-full);
}

.account-menu-list li.menu-footer-row .menu-item.footer-icon:hover {
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.account-menu-list li.menu-footer-row .menu-item.footer-icon i {
  margin-right: 0;
}

/* Theme Toggle */
.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  color: var(--menu-dropdown-text-color);
  font-family: inherit;
}

.menu-label {
  font-size: 13px;
  font-weight: 500;
}

.theme-toggle-pill {
  display: flex;
  background-color: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--menu-dropdown-border-color);
  border-radius: 50px;
  padding: 2px;
  gap: 2px;
}

.theme-btn {
  background: transparent;
  border: none;
  color: #666;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 12px;
}

.theme-btn:hover {
  color: #EDEDED;
}

.theme-btn.active {
  background-color: #36383A;
  color: #EDEDED;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Mobile & Desktop Display Overrides */
.mobile-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.collapsible-group {
  display: none;
}

.collapsible-group.show-mobile {
  display: flex;
}

#app-menu {
  display: none;
}

@media (min-width: 940px) {
  .collapsible-group {
    display: flex !important;
    align-items: center;
    gap: 4px;
  }
  .mobile-only {
    display: none !important;
  }
  #app-menu {
    display: block !important; 
  }
}

/* ========================================= */
/* CALENDAR DROPDOWN                         */
/* ========================================= */

#calendar-dropdown {
  position: absolute;
  background: var(--menu-dropdown-bg);
  border-radius: 12px;
  padding: 20px;
  width: 260px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  visibility: hidden;
  opacity: 0;
  z-index: var(--z-dropdown);
  color: #f1f1f1;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: opacity 0.1s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#calendar-dropdown.show {
  visibility: visible;
  opacity: 1;
}

.cal-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.cal-title {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #888;
  text-transform: uppercase;
  font-weight: 600;
}

.cal-today-btn {
  background: #18181a;
  border: none;
  color: #999;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 10px;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 1px;
}

.cal-today-btn:hover {
  color: #fff;
  background: #333;
}

.cal-selected-date {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 20px;
}

.cal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cal-nav button {
  background: #1a1a1c;
  border: none;
  color: #ccc;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}

.cal-nav button:hover {
  background: #333;
  color: #fff;
}

.cal-month-year {
  font-weight: 600;
  font-size: 15px;
}

.cal-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cal-table th {
  font-size: 10px;
  color: #888;
  font-weight: 600;
  padding-bottom: 12px;
  text-align: center;
}

.cal-table td {
  text-align: center;
  padding: 2px 0;
}

.cal-day {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
}

.cal-day:hover:not(.today) {
  background: rgba(255, 255, 255, 0.1);
}

.cal-day.today {
  background: var(--color-secondary, #19aad8);
}

/* ========================================= */
/* SIDEBAR STYLES                            */
/* ========================================= */

.sidebar {
  font-family: var(--font-primary, arial);
  letter-spacing: 1px;
  position: fixed;
  top: 38px;
  right: -400px;
  width: 370px;
  height: calc(100dvh - 38px - 50px);
  max-width: 98vw;
  background-color: var(--terminal-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--sidebar-border-radius);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.7);
  z-index: var(--z-sidebar);
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.sidebar.open {
  right: 1px;
}

@media (min-width: 940px) {
  .sidebar.open {
    right: 5px;
  }
}

.sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 5px;
}

.system-sidebar-header {
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
}

.sidebar-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
  margin-bottom: 5px;
}

.sidebar-nav-pills {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--opacity-black-04);
  border-radius: 26px;
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.sidebar-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill {
  background: transparent;
  border: 0px solid #333;
  color: #888;
  padding: 4px 12px;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: var(--font-primary, arial);
  transition: all 0.2s ease;
  border-radius: 26px;
}

.pill.active {
  background: var(--color-secondary);
  color: #111;
  border-color: var(--color-secondary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.filter-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  display: flex;
  align-items: center;
}

.close-btn-sidebar {
  background: transparent;
  border-radius: 50%;
  border: 1px solid transparent;
  color: #666;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn-sidebar:hover {
  color: #ff5555;
  background: #111;
}

/* Sidebar Feeds */
.feed-item-card {
  padding: 15px 10px;
  border: 1px solid var(--opacity-white-05);
  transition: background 0.2s;
  border-radius: 10px;
  margin-top: 5px;
}

.feed-item-card:hover {
  background: var(--opacity-black-04);
}

.feed-item-card .icon-col,
.user {
  color: var(--color-text, #a0a0a0);
}

.feed-item-card .icon-col {
  margin-right: 5px;
}

.feed-item-card .user {
  font-weight: 400;
  cursor: pointer;
}

.feed-item-card .action {
  color: #b0b0b0;
}

.feed-item-card .meta {
  display: block;
  margin-top: 5px;
  font-size: 0.75rem;
  color: #555;
  font-family: var(--font-mono);
}

.date {
  color: #CB5489;
}

/* ========================================= */
/* NOTIFICATIONS COMMAND (search.js)         */
/* ========================================= */

.notify-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--terminal-border, rgba(255, 255, 255, 0.1));
  white-space: normal;
}

.notify-title {
  margin: 0;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notify-count {
  background: var(--color-secondary, #19AAD8);
  color: #000;
  padding: 3px;
  border-radius: 50%;
  font-size: 0.75em;
  font-weight: bold;
}

.feed-quick-reply-toggle {
  cursor: pointer;
  display: inline-block;
}

.feed-quick-reply-box {
  border: none;
}

.feed-clear-top-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: inherit;
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.feed-clear-top-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: red;
  color: red;
}

.feed-pill-nav {
  display: flex;
  margin-bottom: 20px;
  border: 1px solid var(--terminal-border);
  border-radius: 26px;
  padding: 3px;
  width: fit-content;
  overflow: hidden;
  background: transparent;
  gap: 5px;
}

.feed-tab-btn {
  background: var(--color-secondary);
  color: #000;
  border: 0px solid var(--terminal-border);
  padding: 6px 14px;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9em;
}

.feed-card {
  background: var(--terminal-bg);
  border: 1px solid var(--terminal-border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 8px;
  font-family: var(--terminal-font);
  color: var(--terminal-text);
  white-space: normal;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.feed-card:hover {
  border-color: var(--color-secondary, #19AAD8);
  background-color: rgba(255, 255, 255, 0.02);
}

.feed-card.expanded {
  border-color: var(--color-secondary);
}

#pill-notifications {
  display: none;
}

.feed-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.feed-dot {
  color: #aaa;
}

.feed-user {
  font-weight: bold;
  color: var(--terminal-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.feed-action {
  color: #aaa;
}

.feed-meta {
  margin-left: auto;
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--terminal-border);
  padding: 2px 6px;
  border-radius: 6px;
}

.feed-badge {
  font-size: 12px;
  color: var(--terminal-border);
}

.feed-divider {
  margin: 14px 0;
  border-top: 1px solid var(--terminal-border);
}

.feed-open {
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.feed-accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.feed-action-btn:hover {
  color: var(--color-secondary, #00d4ff);
  text-decoration: none;
}

.feed-submit-reply-btn {
  background: transparent;
  color: inherit;
  border: 1px solid var(--terminal-border);
  border-radius: 6px;
  padding: 4px 12px;
  cursor: pointer;
}

.feed-submit-reply-btn:hover {
  background: var(--color-secondary);
  color: #000;
}

/* ========================================= */
/* OS CONTEXT MENU (os.js)                   */
/* ========================================= */

.os-context-menu {
  position: absolute;
  z-index: 99999;
  width: 220px;
  color: var(--text-color, #fff);
  font-family: var(--primary-font, arial);
  font-size: 0.85rem;
  padding: 6px;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.os-context-menu .submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -6px;
  width: 180px;
  padding: 6px;
}

/* Merge base and submenu before pseudo-element styles */
.os-context-menu::before,
.os-context-menu .submenu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--menu-dropdown-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--menu-dropdown-border-color); 
  border-radius: var(--menu-border-radius); 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.os-context-menu .menu-item {
  padding: 10px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.1s ease;
  position: relative;
}

.os-context-menu .menu-item:hover {
  background: var(--color-secondary, rgba(255, 255, 255, 0.1));
}

.os-context-menu .menu-divider {
  height: 1px;
  background: var(--terminal-border, #444);
  margin: 4px 0;
}

.os-context-menu .submenu-trigger:hover .submenu {
  display: flex;
  flex-direction: column;
}

/* Color Picker Overrides */
.os-context-menu .color-picker-item input[type="color"] {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.os-context-menu .color-picker-item input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.os-context-menu .color-picker-item input[type="color"]::-webkit-color-swatch,
.os-context-menu .color-picker-item input[type="color"]::-moz-color-swatch {
  border: 1px solid var(--terminal-border, rgba(255, 255, 255, 0.2));
  border-radius: 50%;
}

/* ========================================= */
/* GLOBAL TOAST NOTIFICATION CONTAINER       */
/* ========================================= */

#notification {
  position: fixed;
  top: 50px;
  right: 5px;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.new-message-alert {
  background: rgba(25, 25, 25, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #e0e0e0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  pointer-events: auto;
  animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  overflow: hidden;
}

.toast-container {
  display: flex;
  align-items: stretch;
  min-height: 64px;
}

.toast-message {
  flex-grow: 1;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.toast-sidebar {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 90px;
}

.toast-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s;
  user-select: none;
}

.toast-action:hover {
  background: rgba(255, 255, 255, 0.08);
}

.toast-action.dismiss {
  color: #a0a0a0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-action.view {
  color: #a0a0a0;
}

.toast-action.view:hover {
  color: #19AAD8;
}

/* ========================================= */
/* TASKBAR                                   */
/* ========================================= */

#taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 50px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  gap: 8px;
  border-top: 0 solid #333;
  z-index: var(--z-taskbar);
}

@media (max-width: 939px) {
  body.keyboard-open #taskbar {
    display: none;
  }
}

#taskbar-center-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: calc(100vw - 120px);
  flex-wrap: nowrap;
  gap: 8px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#show-all-apps-btn + .taskbar-btn {
  margin-left: 8px;
}

#show-all-apps-btn + .taskbar-btn::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 1px;
}

.taskbar-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0.01);
  color: var(--text-main, #fff);
  padding: 0;
  width: 36px;
  height: 36px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.taskbar-btn:hover,
.taskbar-btn.active {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
  box-shadow: inset 0 0 15px 4px rgb(from var(--color-secondary) r g b / 50%);
}

.taskbar-btn .active-dot {
  display: none;
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7px;
  color: var(--green, #00ff00);
  line-height: 1;
}

.taskbar-btn.active .active-dot {
  display: block;
}

#show-desktop-btn {
  position: absolute;
  left: 10px;
}

#taskbar-overflow-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
  background: var(--bg);
  z-index: var(--z-dropdown);
}