/* Dashboard styles — extends theme.css design tokens */

.dashboard-container {
  min-height: 100vh;
  padding: 100px 40px 60px;
  max-width: 860px;
  margin: 0 auto;
}

.dashboard-header {
  margin-bottom: 36px;
}

.dashboard-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -0.04em;
  color: var(--text);
}

/* Add form */
.add-form {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.add-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.add-input::placeholder { color: var(--text-muted); }
.add-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn {
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { opacity: 0.88; }

/* Projects list */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.15s;
}

.project-card:hover { border-color: var(--accent); }

.project-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.project-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-updated {
  font-size: 12px;
  color: var(--text-muted);
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Status button */
.status-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 12px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s;
}

.status-btn:hover {
  border-color: var(--status-color, var(--accent));
  background: var(--surface);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-label { font-weight: 500; }
.status-arrow { color: var(--text-muted); font-size: 10px; }

/* Delete button */
.delete-btn {
  background: none;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 5px 8px;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  line-height: 1;
}

.delete-btn:hover {
  color: var(--red);
  border-color: var(--red);
  background: rgba(248, 113, 113, 0.08);
}

/* Status dropdown */
.status-portal { position: relative; z-index: 200; }

.status-dropdown {
  position: fixed;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  min-width: 150px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 200;
}

.status-option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text);
  transition: background 0.1s;
  text-align: left;
}

.status-option:hover { background: var(--surface); }
.status-option.active { color: var(--accent); }

/* Empty state */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 32px;
  color: var(--text-subtle);
}

/* Nav adjustments for dashboard */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-cta {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: color 0.15s, border-color 0.15s;
}

.nav-cta:hover { color: var(--text); border-color: var(--text-muted); }