/* Startup detail page (/startups/{slug}) - matches landing palette:
   primary blue #496AFD, violet #8230CA, text #09090C, Inter font (loaded by main.css) */

.startup-detail {
  padding: 40px 0 96px 0;
}

/* back link */

.startup-detail__back {
  display: inline-block;
  margin: 0 0 24px 0;
  font-weight: 500;
  color: #496AFD;
}

.startup-detail__back:hover {
  color: #2040CD;
}

.startup-detail__back:active {
  color: #0F2791;
}

/* title + status badge */

.startup-detail__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.startup-detail__title {
  font-weight: 700;
  font-size: 48px;
  line-height: 60px;
  margin: 0;
}

.startup-detail__status {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 32px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}

.startup-detail__status--active {
  background: #E7EEFD;
  color: #2040CD;
}

.startup-detail__status--archived {
  background: #F4FFC2;
  color: #5F6F12;
}

.startup-detail__status--closed {
  background: #ECEEF5;
  color: #6B6F82;
}

/* label chip + dates */

.startup-detail__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0 0 0;
}

.startup-detail__label {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 32px;
  background: #E2D3FE;
  color: #8230CA;
  font-weight: 500;
}

.startup-detail__date {
  color: #6B6F82;
  font-size: 14px;
  line-height: 20px;
}

/* description */

.startup-detail__description {
  margin: 24px 0 0 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 28px;
}

/* owner */

.startup-detail__owner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 32px 0 0 0;
  padding: 24px 28px;
  max-width: 420px;
  border: 2px solid #E7EEFD;
  border-radius: 24px;
}

.startup-detail__owner-label {
  color: #6B6F82;
  font-size: 14px;
  line-height: 20px;
}

.startup-detail__owner-name {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #496AFD;
}

.startup-detail__owner-name:hover {
  color: #2040CD;
}

/* sections */

.startup-detail__subtitle {
  margin: 48px 0 16px 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
}

/* members */

.startup-detail__members {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.startup-detail__members-item {
  display: flex;
}

.startup-detail__member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  padding: 14px 20px;
  border: 2px solid #E5E7F2;
  border-radius: 16px;
}

.startup-detail__member:hover {
  border-color: #496AFD;
}

.startup-detail__member-name {
  font-weight: 500;
}

.startup-detail__member-role {
  color: #6B6F82;
  font-size: 14px;
  line-height: 20px;
}

/* "who is needed" chips */

.startup-detail__needed {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.startup-detail__needed-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 32px;
  background: #EDE5FD;
  color: #8230CA;
  font-weight: 500;
}

.startup-detail__needed-empty {
  margin: 0;
  color: #6B6F82;
}

/* join button */

.startup-detail__join {
  display: inline-block;
  margin: 48px 0 0 0;
  padding: 14px 36px;
  border-radius: 12px;
  background: #496AFD;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
}

.startup-detail__join:hover {
  background: #2040CD;
}

.startup-detail__join:active {
  background: #0F2791;
}

.startup-detail__join:disabled {
  background: #B9C8FA;
  cursor: default;
}

/* not found */

.startup-detail__notfound {
  padding: 48px 0 32px 0;
}

.startup-detail__notfound-title {
  margin: 0 0 16px 0;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
}

.startup-detail__notfound-text {
  margin: 0 0 32px 0;
  color: #6B6F82;
  font-size: 18px;
  line-height: 28px;
}

/* responsive */

@media screen and (max-width: 768px) {
  .startup-detail {
    padding: 24px 0 64px 0;
  }

  .startup-detail__title {
    font-size: 32px;
    line-height: 40px;
  }

  .startup-detail__subtitle {
    margin-top: 32px;
    font-size: 22px;
    line-height: 30px;
  }

  .startup-detail__join {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .startup-detail__title {
    font-size: 28px;
    line-height: 36px;
  }

  .startup-detail__head {
    gap: 12px;
  }

  .startup-detail__description {
    font-size: 16px;
    line-height: 24px;
  }

  .startup-detail__member {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* team, vacancies and viewer actions */
.startup-detail__tagline { font-size: 20px; margin: 8px 0 0; color: #3b3f50; }
.startup-detail__owner-inline a { color: #496AFD; }
.startup-detail__status--looking { background: #f4ffc2; color: #5f6f12; }
.startup-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.startup-detail__flash { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: #fde8e8; color: #9b1c1c; }
.startup-detail__muted { color: #6b7080; }
.startup-team { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.startup-team__item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #f3f5ff; }
.startup-team__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; background: #e7eefd; color: #2040cd; font-weight: 600; flex: none; }
.startup-team__info { display: flex; flex-direction: column; font-weight: 600; }
.startup-team__info a { color: inherit; }
.startup-team__role { font-weight: 400; font-size: 14px; color: #6b7080; }
.startup-slots { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 12px; }
.startup-slot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: 16px; background: #f3f5ff; }
.startup-slot__title { font-weight: 700; font-size: 18px; margin: 0; }
.startup-slot__desc { margin: 6px 0; }
.startup-slot__who { margin: 6px 0 0; color: #3b3f50; }
.startup-slot__who a { color: #496AFD; }
.startup-slot__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.startup-slot__chip { padding: 4px 12px; border-radius: 999px; background: #e7eefd; color: #2040cd; font-size: 14px; }
.startup-slot__chip--open { background: #f4ffc2; color: #5f6f12; }
.startup-slot__link { background: none; border: 0; color: #496AFD; cursor: pointer; font: inherit; padding: 0; }
.startup-slot__apply summary { list-style: none; cursor: pointer; display: inline-block; }
.startup-slot__apply summary::-webkit-details-marker { display: none; }
.startup-slot__apply form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; min-width: 280px; }
.startup-slot__apply textarea { width: 100%; padding: 10px 12px; border: 1px solid #d5dbf5; border-radius: 10px; font: inherit; resize: vertical; }
