.project-skills-field .select2-container .select2-selection.select2-selection {
  border-radius: 0;
}

/* Smaller selected skill chips (Select2 multi) */
.project-skills-field .select2-container .select2-selection__rendered li.select2-selection__choice{
  font-size: 12px;
  padding: 2px 6px;
  margin: 3px;
  line-height: 1.2;
  height: 30px;
}
.project-skills-field .select2-container .select2-selection__rendered li.select2-selection__choice .select2-selection__choice__remove{
  font-size: 14px;
  line-height: 1;
  margin-left: 4px;
}
.project-skills-field .select2-container--default .select2-selection--multiple{
  min-height: 34px;
  /* padding: 2px 4px; */
}

/* Place attach button/zone on the left */
.attach-files-left{
  text-align: left;
}
.attach-files-left .dropzone-toggle-btn{
  margin-top: 0 !important;
}

/* Attachment button (replaces AI button) */
.attach-toggle-btn{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 0.82rem;
  border-radius: 0;
  background: #f3f4f6;
  color: #333;
  /* border: 1px solid #d1d5db; */
  white-space: nowrap;
}
.attach-toggle-btn:hover{
  background: #e5e7eb;
  color: #111;
}
.attach-toggle-btn svg{
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Make sure the toggle button stays clickable (not covered by dropzone) */
.desc-action-btns{
  z-index: 5;
}
#project-dropzone-toggle{
  position: relative;
  z-index: 6;
}
#project-drop-zone{
  position: relative;
  z-index: 1;
}

.project-category-cards{
  width:100%;
}

.project-category-summary{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid #ced4da;
  background:#fafafa;
  color:#555;
  font-size:14px;
  font-weight:500;
  cursor:pointer;
  border-radius:4px;
  transition:background-color .15s ease, border-color .15s ease;
}

.project-category-summary:hover{
  background:#f3fbf7;
  border-color:#b8e6d0;
}

.project-category-summary:focus{
  outline:none;
}

.project-category-summary:focus-visible{
  outline:2px solid #1dbf73;
  outline-offset:2px;
}

.project-category-summary .pcs-selected{
  display:inline-flex;
  align-items:center;
  gap:4px;
  flex:1;
  min-width:0;
  padding:2px 0;
}

.project-category-summary .pcs-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.project-category-summary .pcs-icon svg{
  width:18px;
  height:18px;
  display:block;
  stroke: #1dbf73;
}

.project-category-summary .pcs-label{
  opacity:.8;
}

.project-category-summary .pcs-value{
  color:#1dbf73;
}

.project-category-summary .pcs-change-btn{
  flex-shrink:0;
  margin-right:0;
  border:1px solid #1dbf73;
  background:#e8faf2;
  color:#1dbf73;
  padding:6px 10px;
  cursor:inherit;
  font-size:13px;
  font-weight:600;
}

.project-category-summary .pcs-change-btn:hover{
  background:#f0fdf6;
}

/* Match add-work "work-type" cards exactly */
.work-type-selector {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.project-category-cards.work-type-selector{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.project-category-cards .work-type-card{
  width: 100%;
}

.work-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 110px;
  padding: 14px 10px;
  border: 1px solid #ced4da;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  background: #fafafa;
  user-select: none;
}

.work-type-card:hover {
  border-color: #1dbf73;
  background: #f0fdf6;
  color: #1dbf73;
}

.work-type-card.active {
  border-color: #1dbf73;
  background: #e8faf2;
  color: #1dbf73;
}

.work-type-card .wtc-icon svg {
  display: block;
}

.work-type-card.active .wtc-icon svg {
  stroke: #1dbf73;
}

@media (max-width: 767px) {
  .project-category-cards.work-type-selector{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Hide side explainer + illustration on phones */
  .add-project-page .add-project-img {
    display: none;
  }
}

/* Add-project: size + delivery + budget in one row (md+) */
@media (min-width: 768px) {
  .add-project-form .project-meta-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

