/* App-specific styling layered on top of the ZYNIX theme (dashboard/assets/css/styles.css) */

.app-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.05rem;
}

.stat-card {
  border: 1px solid var(--default-border, #e9edf1);
  border-radius: 0.75rem;
  height: 100%;
}
.stat-card .stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.stat-card .stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}
.stat-card .stat-delta.up { color: #17a06d; }
.stat-card .stat-delta.down { color: #e5484d; }

.business-tile {
  border: 1px solid var(--default-border, #e9edf1);
  border-radius: 0.75rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow .15s ease, transform .15s ease;
}
.business-tile:hover {
  box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.08);
  transform: translateY(-2px);
  color: inherit;
}
.business-tile .biz-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
}

.habit-check {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--default-border, #d8dee4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  transition: all .12s ease;
}
.habit-check.done {
  background: var(--primary-color, #735DFF);
  border-color: var(--primary-color, #735DFF);
  color: #fff;
}

.task-row.done .task-title { text-decoration: line-through; opacity: .55; }
.task-row .priority-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.priority-high { background: #e5484d; }
.priority-medium { background: #f5a623; }
.priority-low { background: #8a94a6; }

.progress-thin { height: 6px; border-radius: 4px; }

.tab-pills .nav-link {
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .875rem;
}

.ai-plan-item {
  border-left: 3px solid var(--primary-color, #735DFF);
  padding: .5rem .75rem;
  background: rgba(115,93,255,.05);
  border-radius: 0 .5rem .5rem 0;
}
.ai-plan-item.is-done { opacity: .55; }
.ai-plan-item.is-done .plan-title { text-decoration: line-through; }

#responsive-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 999;
}
html[data-toggled="close"] #responsive-overlay { display: none; }

@media (max-width: 991.98px) {
  html[data-toggled="open"] #responsive-overlay { display: block; }
}

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #735DFF 0%, #4b3ef5 100%);
}
.login-card {
  width: 100%;
  max-width: 380px;
  border-radius: 1rem;
  border: none;
  box-shadow: 0 1.5rem 3rem rgba(0,0,0,.25);
}
