:root {
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-accent: rgba(73, 184, 70, 0.6);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --font-main: "Inter", system-ui, -apple-system, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.projectPageFrame {
  width: min(
    var(--page-content-width-desktop),
    calc(100vw - var(--page-content-gutter-desktop))
  );
  margin: var(--page-content-margin-top-desktop) auto 0;
}

.firstBox {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  color: var(--text-main);
  padding: 32px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/*============firstBoxHeader===============*/

.firstBoxHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.header_left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.projectTitle {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #fff, #b0b0b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header_left h4 {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.header_right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  white-space: normal;
}

/* PM card */
.pmImageFrame {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 6px 10px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);

  transition:
    transform 0.15s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pmImageFrame:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.pmImage {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;

  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
}

/* name text inside pm card */
.pmImageFrame span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/*============firstBoxTeamMember===============*/
.firstBoxTeamMember {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;

  padding: 20px;
  margin-top: 20px;
}

.teammemberTitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inviteBtn {
  background: rgba(73, 184, 70, 0.548);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: white;
  padding: 10px;
}

/*==========statusBox=============*/
/*========== statusBox =============*/
.statusBox {
  margin-top: 18px;
}

.showStatus {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.showStatusBtn {
  min-width: 120px;
  height: 40px;
  padding: 0 16px;

  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;

  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.showStatusBtn:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.showStatusBtn:focus-visible {
  outline: none;
  border-color: rgba(73, 184, 70, 0.45);
  box-shadow: 0 0 0 3px rgba(73, 184, 70, 0.18);
}

/*=======DropDown Box==========*/
.choosingstatusInnerbox {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  width: 170px;
  padding: 8px;
  border-radius: 16px;
  background:
    linear-gradient(
      180deg,
      rgba(18, 18, 22, 0.76) 0%,
      rgba(18, 18, 22, 0.84) 100%
    ),
    rgba(36, 42, 54, 0.22);

  backdrop-filter: blur(28px) saturate(130%) brightness(0.76);
  -webkit-backdrop-filter: blur(28px) saturate(130%) brightness(0.76);

  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.choosingstatusInnerbox ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.choosingstatusInnerbox li + li {
  margin-top: 6px;
}

/* option btn */
.statusOptionBtn {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  color: white;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  border-radius: 12px;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.15s ease;
}

.statusOptionBtn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateX(2px);
}

/* 상태별 색감 */
.statusOptionBtn.active-option:hover {
  background: rgba(73, 184, 70, 0.2);
  border-color: rgba(73, 184, 70, 0.32);
}

.statusOptionBtn.pending-option:hover {
  background: rgba(241, 196, 15, 0.2);
  border-color: rgba(241, 196, 15, 0.32);
}

.statusOptionBtn.finished-option:hover {
  background: rgba(120, 120, 120, 0.2);
  border-color: rgba(180, 180, 180, 0.24);
}

.statusOptionBtn.canceled-option:hover {
  background: rgba(231, 76, 60, 0.18);
  border-color: rgba(231, 76, 60, 0.3);
}

/* 현재 상태 글자색 */
.text-green {
  color: #63d471;
}

.text-yellow {
  color: #f4d03f;
}

.text-gray {
  color: #d0d3d4;
}

.text-red {
  color: #ff7b72;
}

/*============memberImagesFrame=============*/
.memberImagesFrame {
  position: static;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 14px auto 0;
}

.memberChip {
  display: flex;
}

.memberBtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);

  color: white;
  cursor: pointer;

  transition:
    transform 0.15s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.memberBtn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.memberBtn:active {
  transform: translateY(-1px);
}

.memberBtn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(73, 184, 70, 0.22),
    0 12px 28px rgba(0, 0, 0, 0.25);
  border-color: rgba(73, 184, 70, 0.45);
}

/* 이미지 */
.memberImg {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

/* 이름 */
.memberName {
  font-size: 12px;
  line-height: 1;
  opacity: 0.92;
  white-space: nowrap;
}

/* 선택된 멤버 표시 (옵션) */
.memberBtn.is-active {
  border-color: rgba(73, 184, 70, 0.55);
  box-shadow: 0 0 0 3px rgba(73, 184, 70, 0.18);
}

/*============FirstBoxChartFrame=============*/
.FirstBoxChartFrame {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  color: white;
}
.roadmapHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 10px;
}

.roadmapHeader > h3 {
  font-size: 23px;
  margin: 0;
}

.taskStatusBlock {
  display: flex;
  align-items: center;
  gap: 25px;
}

.taskStatusItem {
  display: flex;
  align-items: center;
  gap: 8px;
}

.taskStatuscircle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
}

.taskStatuscircle.green {
  background-color: #63d471;
}

.taskStatuscircle.blue {
  background-color: #5dade2;
}

.taskStatuscircle.yellow {
  background-color: #f4d03f;
}

.statusText {
  font-size: 13px;
  color: white;
}

.roadmapLegend {
  font-size: 12px;
  opacity: 0.85;
  display: flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.dot.done {
  background: rgba(88, 214, 141, 0.9);
}
.dot.prog {
  background: rgba(93, 173, 226, 0.9);
}
.dot.todo {
  background: rgba(241, 196, 15, 0.9);
}

/*===================projectMetaRow========================*/
.projectMetaRow {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.projectMetaCard {
  min-width: 180px;
  flex: 1 1 180px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.projectMetaLabel {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.projectMetaValue {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.2;
}

/* status color reuse */
.text-green {
  color: #57d66b;
}

.text-gray {
  color: #c9d1d9;
}

.text-yellow {
  color: #f4c542;
}

.text-red {
  color: #ff6b6b;
}
/*=========== roadmapGrid : 14 days / real members ============*/
.roadmapGrid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: start;
}

.leftHead,
.timeHead {
  min-height: 56px;
}

/* LEFT */
.leftCol {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.leftHead {
  display: flex;
  align-items: center;
  font-weight: 700;
  padding: 0 12px;
  color: white;
}

.leftRow {
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.epicTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.roadmapMemberImg {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.epicName {
  color: white;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* optional old badge style */
.epicKey {
  font-size: 12px;
  opacity: 0.75;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* RIGHT */
.rightCol {
  position: relative;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

/* day header */
.timeHead {
  display: grid;
  grid-auto-flow: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.weekCell {
  height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 0 4px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.weekCell:last-child {
  border-right: none;
}

.weekTop {
  font-size: 11px;
  opacity: 0.75;
  line-height: 1;
  color: rgba(255, 255, 255, 0.75);
}

.weekBottom {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: white;
}
/* rows */
.timeRows {
  display: block;
}

.timeRow {
  position: relative;
  display: grid;
  min-height: 64px;
  overflow: visible;
}

.gridCell {
  min-height: 64px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.timeRow .gridCell:last-child {
  border-right: none;
}

.roadmapBarsLayer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

/* task bars */
.roadmapTaskBar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
  z-index: 5;
  transition:
    transform 0.2s ease,
    width 0.2s ease,
    box-shadow 0.2s ease;
  justify-content: center;
}

.roadmapTaskBarLabel {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* hover 기본 */
.roadmapTaskBar:hover {
  transform: translateY(-50%) scale(1.03);
  z-index: 30;
}

/* 실제 확장될 때만 */
.roadmapTaskBar.is-expanded {
  overflow: visible;
  z-index: 40;
}

.roadmapTaskBar.is-expanded .roadmapTaskBarLabel {
  overflow: visible;
  text-overflow: clip;
}

/* task status colors */
.roadmapTaskBar.status-planned {
  background: linear-gradient(135deg, #f4c430, #d8a800);
}

.roadmapTaskBar.status-in-progress {
  background: linear-gradient(135deg, #74b7ff, #3572f7);
}

.roadmapTaskBar.status-done {
  background: linear-gradient(135deg, #4cd964, #22c55e);
}

.todayLineOverlay {
  position: absolute;
  top: 57px;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 90, 90, 0.95);
  box-shadow: 0 0 10px rgba(255, 90, 90, 0.35);
  z-index: 20;
  pointer-events: none;
}

@media (max-width: 980px) {
  .roadmapGrid {
    grid-template-columns: 1fr;
  }
}

.roadmapHeaderRight {
  display: flex;
  align-items: center;
  gap: 18px;
}

.roadmapControls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.roadmapNavBtn,
.roadmapViewSelect {
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.roadmapNavBtn {
  cursor: pointer;
}

.roadmapNavBtn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.workTaskCardFrame {
  display: grid;
  gap: 15px;
  overflow-y: auto;
  max-height: 460px;
  border-radius: 15px;
  padding: 0 10px;
}

.deleteTaskBtn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
  flex-shrink: 0;
}

.deleteTaskBtn:hover {
  background: rgba(255, 80, 80, 0.22);
}

.newTaskSelect {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/*=====================invitePopUpFrame====================*/
.invitePopUpFrame {
  position: fixed;
  inset: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 998;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--theme-background-popup);
}

.invitePopupBox {
  width: 100%;
  max-width: 500px;
  min-height: 240px;
  padding: 24px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.invitePopupHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.invitePopupHeader h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.invitePopupHeader p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.75;
}

.invitePopupClose {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  cursor: pointer;
  font-size: 16px;
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    border-color 0.2s ease;
}

.invitePopupClose:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.invitePopupBody {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inviteLabel {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.92;
}

.inviteInput {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  box-sizing: border-box;
  border-radius: 14px;
  outline: none;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.inviteInput::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.inviteInput:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(73, 184, 70, 0.5);
  box-shadow: 0 0 0 3px rgba(73, 184, 70, 0.16);
}

.invitePopupFooter {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}

.inviteCancelBtn,
.inviteSendBtn {
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.inviteCancelBtn {
  background: rgba(255, 255, 255, 0.08);
}

.inviteCancelBtn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.inviteSendBtn {
  background: rgba(73, 184, 70, 0.58);
  border-color: rgba(73, 184, 70, 0.3);
}

.inviteSendBtn:hover {
  background: rgba(73, 184, 70, 0.72);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(73, 184, 70, 0.22);
}

@media (max-width: 640px) {
  .invitePopupBox {
    padding: 20px;
    border-radius: 20px;
  }

  .invitePopupFooter {
    flex-direction: column;
  }

  .inviteCancelBtn,
  .inviteSendBtn {
    width: 100%;
  }
}

.inviteAutoWrap {
  position: relative;
}

.inviteSuggestionBox {
  width: 100%;
  z-index: 999;
  background: rgba(24, 24, 32, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow-y: scroll;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
  margin-top: 8px;
  max-height: 450px;
  padding: 5px 10px;
}

.inviteSuggestionItem {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  transition: background 0.18s ease;
}

.inviteSuggestionItem:hover {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
}

.inviteSuggestionAvatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.inviteSuggestionMeta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.inviteSuggestionName {
  font-size: 13px;
  font-weight: 600;
}

.inviteSuggestionEmail {
  font-size: 12px;
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.invitedMembersPreview {
  margin-top: 20px;
}

.invitedMembersPreview h4 {
  margin: 0 0 12px;
  font-size: 14px;
}

.invitedMemberList {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.invitedMemberChip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.invitedMemberLeft {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.invitedMemberAvatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.invitedMemberMeta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.invitedMemberName {
  font-size: 13px;
  font-weight: 600;
}

.invitedMemberEmail {
  font-size: 12px;
  opacity: 0.72;
}

.removeInvitedBtn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  cursor: pointer;
}

/*=============roadMap==================*/
.removeInvitedBtn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.roadmapViewCustom {
  position: relative;
  display: inline-block;
}

.roadmapViewTrigger {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
}

.roadmapViewMenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: rgba(99, 99, 99, 0.534);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 25px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  z-index: 50;
}

.roadmapViewMenu button {
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: white;
  text-align: left;
  cursor: pointer;
}

.roadmapViewMenu button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.newTaskField {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.newTaskLabel {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.newTaskInput {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  box-sizing: border-box;
  border-radius: 14px;
  outline: none;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;

  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.newTaskInput:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(73, 184, 70, 0.5);
  box-shadow: 0 0 0 3px rgba(73, 184, 70, 0.16);
}

.newTaskInput[type="date"] {
  appearance: none;
  -webkit-appearance: none;
}

.newTaskInput[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.85;
}

/*========kick Out memeber POP UP===============*/
.kickOutMemberFrame {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 10, 20, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.kickOutMemberBox {
  width: 100%;
  max-width: 460px;
  border-radius: 24px;
  overflow: hidden;
  color: white;
  background: var(--app-surface-color, #286263);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.kickOutMemberHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kickOutMemberHeader h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.kickOutMemberHeader p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.kickOutMemberClose {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 12px;
  flex-shrink: 0;
  cursor: pointer;
  color: white;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    border-color 0.2s ease;
}

.kickOutMemberClose:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.kickOutMemberBody {
  padding: 22px 24px;
}

.kickOutMemberPreview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.kickOutMemberAvatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.kickOutMemberMeta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.kickOutMemberMeta strong {
  font-size: 15px;
  font-weight: 700;
  color: white;
}

.kickOutMemberMeta span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  word-break: break-all;
}

.kickOutMemberWarning {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 235, 235, 0.92);
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 90, 90, 0.22);
}

.kickOutMemberFooter {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kickOutCancelBtn,
.kickOutConfirmBtn {
  min-width: 150px;
  height: 44px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.kickOutCancelBtn {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.kickOutCancelBtn:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.kickOutConfirmBtn {
  color: white;
  background: linear-gradient(
    135deg,
    rgba(255, 74, 74, 0.95),
    rgba(220, 40, 40, 0.95)
  );
  border: 1px solid rgba(255, 100, 100, 0.28);
  box-shadow: 0 10px 24px rgba(220, 40, 40, 0.24);
}

.kickOutConfirmBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(220, 40, 40, 0.32);
}

.kickOutmemberBtnFrame {
  margin-left: auto;
}

.kickOutmemberBtn {
  height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 100, 100, 0.22);
  background: rgba(255, 80, 80, 0.12);
  color: #ffd8d8;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.kickOutmemberBtn:hover {
  background: rgba(255, 80, 80, 0.2);
  border-color: rgba(255, 120, 120, 0.34);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 60, 60, 0.18);
}

.invitePopupMessage {
  margin: 24px 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.invitePopupMessage.error {
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 80, 80, 0.28);
  color: #ffb3b3;
}

.invitePopupMessage.success {
  background: rgba(80, 200, 120, 0.12);
  border: 1px solid rgba(80, 200, 120, 0.28);
  color: #b9f3c7;
}

/*========for laptop ======================*/
@media (max-width: 1600px) and (min-width: 1025px) {
  .projectPageFrame {
    width: calc(100% - var(--page-content-gutter-laptop));
    max-width: var(--page-content-width-laptop);
    margin: var(--page-content-margin-top-laptop) auto 0;
  }

  .firstBox {
    width: 100%;
  }
}

@media (min-width: 1900px) {
  .projectPageFrame {
    width: min(
      var(--page-content-width-ultra),
      calc(100vw - var(--page-content-gutter-ultra))
    );
    margin: var(--page-content-margin-top-ultra-default) auto 0;
  }

  .firstBox {
    padding: 38px;
    border-radius: 24px;
  }

  .firstBoxHeader {
    gap: 24px;
    margin-bottom: 28px;
  }

  .projectTitle {
    font-size: 2.5rem;
  }

  .header_right {
    gap: 14px;
  }

  .pmImageFrame {
    padding: 8px 12px;
    border-radius: 16px;
  }

  .pmImage {
    width: 40px;
    height: 40px;
  }

  .pmImageFrame span {
    font-size: 15px;
  }

  .firstBoxTeamMember {
    padding: 24px;
    margin-top: 24px;
    border-radius: 24px;
  }

  .inviteBtn {
    padding: 11px 14px;
    font-size: 15px;
    border-radius: 12px;
  }

  .showStatus {
    font-size: 15px;
  }

  .showStatusBtn {
    min-width: 136px;
    height: 46px;
    font-size: 15px;
  }

  .statusOptionBtn {
    min-height: 44px;
    font-size: 15px;
  }

  .projectMetaRow {
    gap: 16px;
    margin-top: 22px;
    margin-bottom: 22px;
  }

  .projectMetaCard {
    padding: 16px 20px;
    border-radius: 18px;
  }

  .projectMetaLabel {
    font-size: 15px;
  }

  .projectMetaValue {
    font-size: 17px;
  }

  .memberBtn {
    padding: 12px 14px;
    border-radius: 16px;
    gap: 8px;
  }

  .memberImg {
    width: 42px;
    height: 42px;
  }

  .memberBtn .memberName {
    font-size: 15px;
    line-height: 1.2;
  }

  .FirstBoxChartFrame {
    margin-top: 22px;
    padding: 20px;
    border-radius: 24px;
  }

  .roadmapHeader {
    padding: 12px;
    margin-bottom: 14px;
  }

  .roadmapHeader > h3 {
    font-size: 24px;
  }

  .statusText {
    font-size: 15px;
  }

  .roadmapLegend {
    font-size: 15px;
  }

  .roadmapGrid {
    grid-template-columns: 250px 1fr;
    gap: 18px;
  }

  .leftHead,
  .timeHead {
    min-height: 62px;
  }

  .leftRow,
  .timeRow,
  .gridCell {
    min-height: 72px;
  }

  .epicName {
    font-size: 15px;
  }

  .epicKey {
    font-size: 15px;
  }

  .roadmapMemberImg {
    width: 34px;
    height: 34px;
  }

  .weekTop {
    font-size: 15px;
  }

  .weekBottom {
    font-size: 15px;
  }

  .roadmapTaskBar {
    height: 34px;
    font-size: 15px;
    padding: 0 14px;
  }

  .roadmapTaskBarLabel {
    font-size: 15px;
  }

  .workTaskCardTop > h3 {
    font-size: 15px;
  }

  .workloadUserMeta strong,
  .workloadUserMeta span,
  .activityText strong {
    font-size: 15px;
  }
}
