#qna-page {
  background-color: var(--bg-body);
  max-width: 1020px;
  padding: 20px 0px;
}

#qna-page .tab-content {
  padding: 20px 0px;
}

#qna-page .nav-tabs {
  border-bottom: none;
  display: flex;
  justify-content: center;
}

#qna-page .nav-item {
  margin-right: 20px;
}

#qna-page .nav-link {
  border: none;
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-description);
  color: var(--text-primary);
}

#qna-page .nav-link img.tab-icon {
  width: 24px;
  height: 24px;
  margin-right: 4px;
}

#qna-page .nav-item .active {
  border: none;
  border-bottom: 2px solid var(--bg-black);
  /* color: var(--text-description); */
  font-weight: 700;
}

#qna-page .tab-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#qna-page .list-card {
  background: var(--bg-body);
  box-shadow: var(--box-shadow-default);
  border-radius: 16px;
  padding: 40px 0px 20px 0px;
  margin-top: 20px;
  width: 100%;
}

#qna-page .list-card .title {
  padding-left: 20px;
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: var(--text-primary);
}

#qna-page .list-card .description {
  font-family: 'Pretendard';
  font-style: normal;
  font-size: 13px;
  line-height: 28px;
  color: var(--text-description);
}

#qna-page .result-info-text {
  font-family: 'Pretendard';
  font-style: normal;
  font-size: 12px;
  line-height: 14px;
  text-align: right;
  color: var(--text-normal);
  padding-right: 20px;
}

#qna-page table {
  margin-top: 20px;
}

#qna-page table .notice-title,
#qna-page table .faq-title {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-primary);
  text-decoration: none;
}

#qna-page table .notice-title:hover,
#qna-page table .faq-title:hover {
  text-decoration: underline;
}

#qna-page table .notice-detail-row,
#qna-page table .faq-detail-row {
  padding-left: 20px;
}

#qna-page .info-list {
  padding: 0px 40px;
}

#qna-page .label {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-description);
}

#qna-page .value {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-primary);
}

#qna-page .form-label {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-description);
  font-weight: 700;
}

#qna-page .tab-content button {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-white);
  width: 125px;
  height: 36px;
  display: flex;
  align-items: center;
}

#qna-page .tab-content .action-label {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  text-align: center;
  color: var(--text-secondary);
}
#qna-page .tab-content button.btn-action-register {
  background-color: var(--bg-action-register);
}

#qna-page .notice-textarea,
#qna-page .faq-textarea,
#qna-page .inquiry-textarea {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  min-height: 200px;
  border-radius: 8px;
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
}

#qna-page .inquiry-textarea {
  height: 200px;
}

#qna-page .not-found-area {
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: var(--bg-input-readonly);
  color: var(--input-readonly-text);
  border: 1px solid var(--border-input-readonly);
  border-radius: 8px;
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
}

#qna-page .not-found-text {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #637381;
}

#qna-page .notice-textarea:read-only,
#qna-page .faq-textarea:read-only,
#qna-page .inquiry-textarea:read-only {
  background-color: var(--bg-input-readonly);
  color: var(--input-readonly-text);
  border: 1px solid var(--border-input-readonly);
}

#qna-page .notice-textarea:focus,
#qna-page .faq-textarea:focus {
  outline: none;
  border-color: var(--border-default);
}

#qna-page .revise-btn,
#qna-page .faq-revise-btn {
  background-color: var(--bg-black);
  color: var(--text-white);
  border: none;
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  display: flex;
  justify-content: center;
  width: 80px;
}

#qna-page .inquiry-card {
  background: var(--bg-body);
  box-shadow: var(--box-shadow-default);
  border-radius: 16px;
  padding: 10px 0px;
  width: 100%;
  max-width: 605px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#qna-page .inquiry-card .tab-description {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#qna-page .inquiry-card .tab-description span {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  color: var(--text-tab-description);
}

#inquiry-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 40px;
  padding-bottom: 0px;
}

#inquiry-form .form-select {
  width: 100%;
  height: 54px;
  padding: 10px 36px 10px 10px; /* Add right padding for icon */
  border-radius: 8px;
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-primary);
}

#inquiry-form .form-select option {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-primary);
}

#inquiry-form input {
  width: 100%;
  height: 54px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
}

#inquiry-form textarea {
  width: 100%;
  padding: 10px;
  height: 280px;
  border-radius: 8px;
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
}

#inquiry-form input:focus,
#inquiry-form textarea:focus {
  outline: none;
  border-color: var(--border-default);
}

#inquiry-form input:read-only,
#inquiry-form textarea:read-only {
  background-color: var(--bg-input-readonly);
  color: var(--input-readonly-text);
  border: 1px solid var(--border-input-readonly);
}

#inquiry-form .inquiry-upload-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 30px;
  gap: 20px;
  width: 100%;
}

#inquiry-form .inquiry-action {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-right: 30px;
}

#inquiry-form .inquiry-action button {
  width: auto;
  height: 36px;
  padding: 0px 12px;
  gap: 8px;
  background: var(--bg-black);
  border-radius: 8px;
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-white);
}

.inquiry-row .inquiry-status {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 8px;
  gap: 8px;
  width: 74px;
  min-width: 64px;
  height: 30px;
  border: 1px solid var(--border-default);
  border-radius: 8px;

  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 22px;
  color: var(--text-primary);
  cursor: pointer;
}

#inquiry-result-detail {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0px 40px;
}

#inquiry-result-detail .title {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 28px;
  color: var(--text-primary);
}

#inquiry-result-detail .inquiry-detail-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#inquiry-result-detail .inquiry-detail-content .inquiry-title {
  font-family: 'Public Sans';
  font-style: normal;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-primary);
}

#inquiry-result-detail .inquiry-detail-content .inquiry-date {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-description);
}

#inquiry-result-detail .inquiry-detail-content .inquiry-date {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-description);
}

#inquiry-result-detail button.inquiry-inventory-btn {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-white);
  background-color: var(--bg-black);
  width: 64px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#inquiry-tab-pane-wrapper .breadcrumb {
  margin-left: 20px;
}

#inquiry-tab-pane-wrapper .breadcrumb-item {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: var(--text-primary);
}

#inquiry-tab-pane-wrapper .breadcrumb-item.active {
  font-weight: 600;
}

#notice-tab table .text-truncate,
#faq-tab table .text-truncate {
  max-width: 300px;
}

#inquiry-table-wrapper .text-truncate {
  max-width: 300px;
}

@media (max-width: 768px) {
  #qna-page .nav-tabs#qna-tabs {
    justify-content: space-around;
  }

  #qna-page .nav-tabs#inquiry-tabs {
    gap: 10px;
  }

  #qna-page .nav-item {
    margin-right: 0px;
  }

  #qna-page .nav-link {
    padding-left: 5px;
    padding-right: 5px;
  }

  #inquiry-result-detail .title {
    display: none;
  }

  #inquiry-form {
    padding-left: 20px;
    padding-right: 20px;
  }

  #inquiry-table-wrapper .text-truncate {
    max-width: 200px;
  }

  #notice-tab table .text-truncate,
  #faq-tab table .text-truncate {
    max-width: 200px;
  }

  #inquiry-result-detail {
    padding: 0px 10px;
  }
}
