/* Create Project — stepper and layout */

/* Fixed glass-nav sits above content; align with other member pages */
.page-create-project .main-content {
  padding-top: 5.5rem;
}

.page-create-project .glass-nav .navbar-brand {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.page-create-project .glass-nav .navbar-text {
  line-height: 1.2;
  max-width: 180px;
}

@media (max-width: 991.98px) {
  .page-create-project .main-content {
    padding-top: 4.75rem;
  }
}

.tag-chips-host {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 1.5rem;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.45rem 0.2rem 0.65rem;
  font-size: 0.8rem;
  line-height: 1.3;
  border-radius: 999px;
  background: rgba(110, 69, 226, 0.35);
  border: 1px solid rgba(136, 211, 206, 0.35);
  color: var(--bs-body-color, #e9ecef);
}

.tag-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}

.tag-chip-remove:hover {
  opacity: 1;
  background: rgba(220, 53, 69, 0.55);
  color: #fff;
}

.friend-pick-list,
.account-pick-list {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1080;
  margin-top: 4px;
  max-height: 240px;
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 20, 32, 0.98);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.friend-pick-item {
  display: block;
  width: 100%;
  text-align: start;
  padding: 0.55rem 0.85rem;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.friend-pick-item:last-child {
  border-bottom: none;
}

.friend-pick-item:hover,
.friend-pick-item:focus-visible {
  background: rgba(110, 69, 226, 0.25);
  outline: none;
}

.friend-pick-item.is-active {
  background: rgba(110, 69, 226, 0.35);
}

.btn-create-help {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  line-height: 1;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
}

.create-layout {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.25rem 1rem 2.5rem;
}

.create-page-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.create-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.create-stepper > li {
  flex: 1 1 140px;
  text-align: center;
  padding: 0.6rem 0.45rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  line-height: 1.25;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.create-stepper > li.is-active {
  opacity: 1;
  border-color: rgba(13, 110, 253, 0.55);
  box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.2);
}

.create-stepper > li.is-done {
  opacity: 0.85;
}

.create-stepper .step-num {
  display: block;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bs-primary);
  margin-bottom: 0.2rem;
}

.create-step-panel h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.cover-gallery-create {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: flex-start;
}

.cover-gallery-create .cover-pick {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
}

.cover-gallery-create .cover-pick.is-active {
  border-color: var(--bs-primary);
}

.cover-gallery-create .cover-pick img {
  width: 88px;
  height: 56px;
  object-fit: cover;
  display: block;
}

.cover-preview-create {
  max-width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-thumbs-create {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gallery-thumbs-create .thumb-wrap {
  position: relative;
}

.gallery-thumbs-create img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gallery-thumbs-create .thumb-remove {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  line-height: 1;
  font-size: 0.85rem;
  border-radius: 50%;
}

.section-card-create {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  margin-bottom: 1rem;
}

.section-card-create .task-row-create {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.45rem;
}

.review-block-create {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  margin-bottom: 1rem;
}

.review-block-create h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

/* Searchable focus category (freelance catalog) */
.focus-category-list {
  position: absolute;
  z-index: 1080;
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  margin: 0.125rem 0 0;
  padding: 0.25rem 0;
  list-style: none;
  background: var(--bs-body-bg, #16181f);
  border: 1px solid var(--bs-border-color, rgba(255, 255, 255, 0.15));
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.45);
}

.focus-category-list .focus-cat-item {
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.35;
}

.focus-category-list .focus-cat-item:hover,
.focus-category-list .focus-cat-item:focus {
  background: rgba(13, 110, 253, 0.22);
  outline: none;
}

.focus-category-list .focus-cat-group {
  padding: 0.35rem 0.85rem 0.15rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--bs-secondary-color, rgba(255, 255, 255, 0.5));
  pointer-events: none;
  margin-top: 0.15rem;
}

/* Team step — same Main / Part role model as edit-project team table */
.wz-team-matrix-wrap {
  background: rgba(0, 0, 0, 0.15);
}

.wz-team-matrix thead th {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);
  border-bottom-width: 1px;
}

.wz-team-matrix tbody td {
  vertical-align: middle;
}

.wz-team-matrix .form-select-sm,
.wz-team-matrix .tm-account-search {
  min-width: 0;
}

.wz-team-member-extra td {
  border-top: none !important;
}

@media print {
  .sidebar,
  .navbar,
  .create-stepper,
  .create-actions,
  .no-print {
    display: none !important;
  }
  .main-content {
    margin: 0 !important;
    padding: 0 !important;
  }
}
