/* 고객 대시보드 전용 */
.client-dash {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

.client-dash__greeting {
  margin-bottom: 1.5rem;
}

.client-dash__greeting-title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.client-dash__greeting-sub {
  margin: 0;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.5;
}

/* 선불 캐시 */
.client-dash-prepaid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
  border: 1px solid #99f6e4;
  border-radius: 14px;
}

.client-dash-prepaid__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f766e;
}

.client-dash-prepaid__amount {
  font-size: 1.375rem;
  font-weight: 800;
  color: #0d9488;
  letter-spacing: -0.02em;
}

.client-dash-prepaid__hint {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0.25rem 0 0;
}

.client-dash-prepaid__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.client-dash-prepaid__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border: 1px solid #5eead4;
  background: #fff;
  color: #0d9488;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
}

.client-dash-prepaid__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0d9488;
  text-decoration: none;
}

.client-dash-prepaid__link:hover {
  text-decoration: underline;
}

/* 지금 할 일 */
.client-dash-actions {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 14px;
}

.client-dash-actions__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #92400e;
}

.client-dash-actions__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.client-dash-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: #fff;
  border: 1px solid #fde68a;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.client-dash-action:hover {
  border-color: #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
}

.client-dash-action__text {
  flex: 1;
  min-width: 0;
}

.client-dash-action__title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
}

.client-dash-action__desc {
  display: block;
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.client-dash-action__cta {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #b45309;
}

/* 메인 프로젝트 */
.client-dash-hero {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.client-dash-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.client-dash-hero__title {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.client-dash-hero__meta {
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.client-dash-hero__progress-wrap {
  margin-bottom: 1rem;
}

.client-dash-hero__progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.client-dash-hero__progress-label strong {
  color: #0f172a;
  font-weight: 700;
}

.client-dash-hero__bar {
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.client-dash-hero__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #3b82f6);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.client-dash-hero__stage {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4338ca;
  background: #eef2ff;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.client-dash-hero__next {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.client-dash-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: #4f46e5;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.client-dash-hero__btn:hover {
  background: #4338ca;
}

/* 바로가기 */
.client-dash-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.client-dash-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.client-dash-shortcut:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

.client-dash-shortcut__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
}

.client-dash-shortcut--primary .client-dash-shortcut__icon {
  background: #eef2ff;
  color: #4f46e5;
}

/* 2열 그리드 */
.client-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.client-dash-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
}

.client-dash-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.client-dash-panel__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
}

.client-dash-panel__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6366f1;
  text-decoration: none;
}

.client-dash-panel__link:hover {
  text-decoration: underline;
}

.client-dash-panel__body {
  padding: 0.5rem 0;
}

.client-dash-row {
  display: block;
  padding: 0.875rem 1.25rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f8fafc;
  transition: background 0.12s ease;
}

.client-dash-row:last-child {
  border-bottom: none;
}

.client-dash-row:hover {
  background: #f8fafc;
}

.client-dash-row__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.client-dash-row__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-dash-row__sub {
  font-size: 0.8125rem;
  color: #64748b;
}

.client-dash-badge {
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
}

.client-dash-badge--blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.client-dash-badge--green {
  background: #d1fae5;
  color: #047857;
}

.client-dash-badge--amber {
  background: #fef3c7;
  color: #b45309;
}

.client-dash-badge--red {
  background: #fee2e2;
  color: #b91c1c;
}

.client-dash-badge--gray {
  background: #f1f5f9;
  color: #475569;
}

.client-dash-row__amount {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  flex-shrink: 0;
}

.client-dash-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
}

.client-dash-empty-panel {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px dashed #e2e8f0;
  border-radius: 14px;
  margin-bottom: 1.5rem;
}

.client-dash-empty-panel p {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .client-dash-shortcuts {
    grid-template-columns: repeat(3, 1fr);
  }

  .client-dash-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .client-dash-shortcuts {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-dash__greeting-title {
    font-size: 1.25rem;
  }
}
