/* 프로젝트 상세 페이지 스타일 */
.my-project {
  padding: 2rem 0;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* 뒤로 가기 버튼 스타일 */
.back-button {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 8px 16px;
  background-color: #2200493d;
  border: 1px solid #727fdeb4;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 10px #727fde86;
  text-decoration: none;
}

.back-button i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.back-button:hover {
  box-shadow: 0 0 15px #727fde86;
  opacity: 0.7;
}

/* Toast UI Editor Viewer 스타일 커스터마이징 */
.toastui-editor-contents {
  color: white !important;
}

.toastui-editor-contents h1,
.toastui-editor-contents h2,
.toastui-editor-contents h3,
.toastui-editor-contents h4,
.toastui-editor-contents h5,
.toastui-editor-contents h6,
.toastui-editor-contents p,
.toastui-editor-contents li,
.toastui-editor-contents a {
  color: white !important;
}

.toastui-editor-contents h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #727fdeb4;
  padding-bottom: 0.5rem;
}

.toastui-editor-contents h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #a991ff !important;
}

.toastui-editor-contents h3 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  color: #c4b5ff !important;
}

.toastui-editor-contents p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.toastui-editor-contents ul,
.toastui-editor-contents ol {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.toastui-editor-contents li {
  margin-bottom: 0.5rem;
}

.toastui-editor-contents a {
  color: #a991ff !important;
  text-decoration: none;
  border-bottom: 1px dotted #a991ff;
}

.toastui-editor-contents a:hover {
  border-bottom: 1px solid #a991ff;
}

.toastui-editor-contents code {
  color: #f8f8f8 !important;
  background-color: #333 !important;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
}

.toastui-editor-contents pre {
  background-color: #1e1e1e !important;
  border-radius: 5px;
  padding: 1rem;
  margin: 1rem 0;
}

.toastui-editor-contents blockquote {
  border-left: 4px solid #727fde !important;
  color: #cccccc !important;
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
}

.toastui-editor-contents img {
  max-width: 100%;
  border-radius: 5px;
  margin: 1rem 0;
}

.toastui-editor-contents table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}

.toastui-editor-contents th,
.toastui-editor-contents td {
  border: 1px solid #444 !important;
  padding: 0.5rem;
  text-align: left;
}

.toastui-editor-contents th {
  background-color: #333 !important;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
  .my-project {
    padding: 1rem;
  }
  
  .toastui-editor-contents h1 {
    font-size: 2rem;
  }
  
  .toastui-editor-contents h2 {
    font-size: 1.5rem;
  }
  
  .toastui-editor-contents h3 {
    font-size: 1.2rem;
  }
} 