/**
 * YPYM Observatory — Hero Mockup Window
 */

.mockup-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.mockup-window {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-hairline);
  box-shadow: none;
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  min-height: 580px;
  position: relative;
}

/* --------------------------------------------------------------------------
   Mockup Sidebar (Left)
   -------------------------------------------------------------------------- */
.mockup-sidebar {
  background-color: #fbfbfc;
  border-right: 1px solid var(--border-hairline);
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 200ms var(--ease-smooth);
  user-select: none;
}

.sidebar-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.6px solid currentColor;
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.sidebar-item:hover {
  background-color: var(--bg-subtle);
  color: var(--text-primary);
}

.sidebar-item.is-active {
  background-color: #ffffff;
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: none;
}

.sidebar-item-create {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.sidebar-item-create:hover {
  color: var(--accent-blue);
}

/* --------------------------------------------------------------------------
   Mockup Main Content (Right)
   -------------------------------------------------------------------------- */
.mockup-main {
  padding: 36px 42px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff;
}

/* Greeting Header */
.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mockup-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-user-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.2px solid var(--accent-blue);
  flex-shrink: 0;
}

.header-user-text {
  display: flex;
  flex-direction: column;
}

.header-greeting {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.header-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Input Field */
.mockup-input-wrapper {
  margin-top: 6px;
  position: relative;
  width: 100%;
}

.mockup-input {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  font-size: 0.875rem;
  color: var(--text-primary);
  border: 1px solid transparent;
  transition: all 200ms ease;
}

.mockup-input::placeholder {
  color: var(--text-muted);
}

.mockup-input:focus {
  background-color: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 246, 0.1);
}

/* --------------------------------------------------------------------------
   Task List Items
   -------------------------------------------------------------------------- */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background-color: #f7f8f9;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 220ms var(--ease-smooth);
  user-select: none;
}

.task-item:hover {
  background-color: #f0f1f3;
  transform: translateX(2px);
}

.task-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.task-item-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.task-date-pill {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background-color: rgba(0, 0, 0, 0.03);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.task-category-icon {
  font-size: 0.9rem;
  opacity: 0.75;
}

/* Skeleton Loading State for Mockup */
.mockup-task-skeleton {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background-color: #f7f8f9;
  border-radius: var(--radius-sm);
}

/* Responsive adjustment */
@media (max-width: 820px) {
  .mockup-window {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
  .mockup-main {
    padding: 24px 20px;
  }
}
