/*================projectQuickNav =====================*/

.projectQuickNav {
  position: fixed;
  top: 300px;
  right: 80px;
  z-index: 3000;
  width: 180px;
}

.projectQuickNavInner {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: 20px;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  color: white;
}

.projectQuickNavTop {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.projectQuickNavTop h4 {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.projectQuickNavLabel {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.projectQuickNavList {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.projectQuickNavBtn {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.projectQuickNavBtn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateX(-2px);
}

.projectQuickNavBtn.active {
  background: rgba(73, 184, 70, 0.18);
  border-color: rgba(73, 184, 70, 0.4);
  box-shadow: 0 10px 24px rgba(73, 184, 70, 0.14);
}

.projectQuickNavDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

.projectQuickNavBtn.active .projectQuickNavDot {
  background: #63d471;
  box-shadow: 0 0 10px rgba(99, 212, 113, 0.5);
}

.commentDeletePopupFrame {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.62));
  backdrop-filter: blur(14px) brightness(0.72);
  -webkit-backdrop-filter: blur(14px) brightness(0.72);
  border-radius: clamp(18px, 2vw, 28px);
}

.commentDeletePopupBox {
  width: 100%;
  max-width: 560px;
  color: white;
  overflow: hidden;
  position: relative;
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    rgba(34, 34, 38, 0.92),
    rgba(20, 20, 24, 0.88)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}

.commentDeletePopupBox::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  pointer-events: none;
}

.commentDeletePopupHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.commentDeletePopupHeader h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.commentDeletePopupHeader p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.commentDeletePopupClose {
  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;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.commentDeletePopupClose:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.commentDeletePopupBody {
  padding: 20px 24px 18px;
}

.commentDeletePopupText {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.commentDeletePreview {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);

  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
  max-height: 150px;
  overflow-y: auto;
}

.commentDeletePreview::-webkit-scrollbar {
  width: 8px;
}

.commentDeletePreview::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.commentDeletePreview::-webkit-scrollbar-track {
  background: transparent;
}

.commentDeletePopupFooter {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.commentDeleteCancelBtn,
.commentDeleteConfirmBtn {
  min-width: 108px;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  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;
}

.commentDeleteCancelBtn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.commentDeleteCancelBtn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.commentDeleteConfirmBtn {
  border: 1px solid rgba(255, 90, 90, 0.28);
  background: rgba(255, 90, 90, 0.22);
  color: #fff;
}

.commentDeleteConfirmBtn:hover {
  background: rgba(255, 90, 90, 0.32);
  border-color: rgba(255, 90, 90, 0.42);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 90, 90, 0.18);
}

.commentDeleteConfirmBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (min-width: 1900px) {
  .projectQuickNav {
    top: 400px;
    right: 110px;
    width: 220px;
  }

  .projectQuickNavInner {
    padding: 18px;
    border-radius: 24px;
  }

  .projectQuickNavTop {
    margin-bottom: 18px;
    padding-bottom: 15px;
  }

  .projectQuickNavTop h4 {
    margin: 5px 0 0;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
  }

  .projectQuickNavLabel {
    font-size: 13px;
    letter-spacing: 1px;
  }

  .projectQuickNavList {
    gap: 13px;
  }

  .projectQuickNavBtn {
    min-height: 50px;
    padding: 12px 17px;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 500;
    gap: 13px;
  }

  .projectQuickNavDot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 1440px) {
  .projectQuickNav {
    top: 300px;
    right: 40px;
    width: 170px;
    transform: scale(0.96);
    transform-origin: top right;
  }
}

@media (max-width: 1024px) {
  .projectQuickNav {
    display: none;
  }
}
