/* 기존 폰트 설정 유지 */
@font-face {
  font-family: "GmarketSansMedium";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/*
  font-family: "GmarketSansMedium";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
*/

/* 기본 설정 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "GmarketSansMedium", "Apple SD Gothic Neo", "맑은 고딕",
    sans-serif;
}

html body {
  width: 100%;
  height: 100%;
}
body {
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
}
p,
h2,
h1,
h3,
span {
  word-break: keep-all;
}

.wrap {
  position: relative;
}

/* 로그인 컨테이너 중앙 정렬 및 크기 조정 */
.login-container {
  min-height: calc(100vh - 100px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* 회원가입 컨테이너 중앙 정렬 및 크기 조정 */
.join-container {
  min-height: calc(100vh - 100px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.join-container .form-container {
  max-width: 800px;
  width: 100%;
}
.join-container .form-group {
  align-items: center;
}

.modal-body img {
  max-width: 100%;
  height: auto;
}

/* 버튼 그룹 */
.button-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}
.form-actions button {
  max-width: 10%;
}

/* 
  === [콘텐츠 영역 관련 스타일] ===
  아래 .content-row, .content-column, rough transcription 등 
  섹션을 조금 더 넓은 간격을 주도록 수정 
*/
.content-row {
  display: flex;

  width: 100%;

}

.content-column {
  flex: 1; /* 남은 공간을 차지 */
  margin: 20px; /* 개별 콘텐츠 블록끼리도 여백을 줌 */
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
}

.content-column h4 {
  font-size: 16px;
  margin-bottom: 15px;
}

.content-column dl {
  font-size: 14px;
}

.content-column dt {
  font-weight: bold;
  margin-top: 10px;
}

.content-column dd {
  margin-left: 15px;
  margin-top: 5px;
}

/* Rough Transcription, 요약 보고서, 상세 보고서 같은 섹션 */
.detailed-report,
.report-summary,
.recommendation-section {
  flex: 1;
  margin: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background-color: #f9f9f9;
}

/* 내부 텍스트(줄바꿈 유지) */
.detailed-content,
.report-summary p,
.recommendation-section p {
  white-space: pre-wrap;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* 오디오 섹션 */
.audio-section {
  width: 90%;
  max-width: 800px;
  margin: 30px auto;
}

.audio-section h4 {
  font-size: 16px;
  margin-bottom: 20px;
}

.audio-item {
  margin-bottom: 20px;
}

.audio-player {
  width: 100%;
  margin-top: 10px;
}

.memo-textarea {
  width: 100%;
  height: 80px;
  margin-top: 10px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* 메모 칸 스타일 */
.memo-column {
  flex: 0 0 30%;
  margin-right: 200px;
}

.memo-column textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical;
  background-color: #f9f9f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.memo-column textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

/* 부모 컨테이너 */
.form-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

/* 왼쪽 섹션 (회사명, 이름, 전화번호) */
.left-column {
  flex: 0 0 50%;
  padding-left: 20px;
}

/* 오른쪽 섹션 (메모 칸) */
.right-column {
  flex: 0 0 45%;
  margin-left: 20px;
}

.right-column textarea {
  width: 96%;
  height: 246px;
  padding: 13px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical;
  background-color: #f9f9f9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.right-column textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

.form-group label {
  margin-bottom: 10px;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* 폼 컨테이너 스타일 */
.form-container {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 폼 제목 스타일 */
.form-container h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

/* 폼 그룹 스타일 */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #555;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 30px;
}

.form-group input:focus {
  border-color: #007bff;
  outline: none;
}

/* 메시지 스타일 */
.message {
  text-align: center;
  color: #dc3545;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 15px;
  color: #fff;
  background-color: #007bff; /* 기본 파란색 */
  border: none;
  border-radius: 30px; /* 둥근 모서리 */
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background-color: #0056b3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #0056b3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  font-size: 15px;
  color: #fff;
  background-color: #6c757d;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 20px;
}

.btn-secondary:hover {
  background-color: #5a6268;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.btn-success {
  background-color: #28a745;
}

.btn-success:hover {
  background-color: #218838;
}

.btn-danger {
  background-color: #dc3545;
}

.btn-danger:hover {
  background-color: #c82333;
}

.btn-link {
  background-color: transparent;
  color: #007bff;
  border: none;
  padding: 0;
}

.btn-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* 추가 링크 스타일 */
.additional-links {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.additional-links a {
  color: #007bff;
  text-decoration: none;
}

.additional-links a:hover {
  text-decoration: underline;
}

/* 메인으로 돌아가기 버튼 래퍼 */
.return-main {
  text-align: center;
}

.return-main a {
  text-decoration: none;
}

/* Table Styles */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.table th,
.table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #eaeaea;
}

.table th {
  background-color: #f8f8f8;
  font-weight: bold;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.pagination li {
  margin: 0 5px;
}

.pagination a {
  display: block;
  padding: 8px 12px;
  color: #007bff;
  text-decoration: none;
  border-radius: 4px;
}

.pagination a:hover {
  background-color: #f0f0f0;
}

.pagination .active a {
  background-color: #007bff;
  color: #fff;
}

/* 첨부파일 컨테이너 */
.attachments-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

/* 제목 스타일 */
.attachments-container h2 {
  font-size: 25px;
  margin-bottom: 10px;
  text-align: center;
}

/* 테이블 스타일 */
.attachments-table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}

.attachments-table th,
.attachments-table td {
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
}

.attachments-table th {
  background-color: #f8f8f8;
  font-weight: bold;
  text-align: center;
}

.attachments-table tbody tr:hover {
  background-color: #f1f1f1;
}

/* 다운로드 버튼 스타일 */
.attachments-table .btn-link {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
}

.attachments-table .btn-link:hover {
  text-decoration: underline;
}

.text-color{
  color: #007bff;
  font-weight: bold;
}

/* 관리자 파일 업로드 영역 */
.admin-file-upload-container {
  width: 80%;
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  border: 2px dashed #007bff;
  border-radius: 8px;
  background-color: #f0f8ff;
  text-align: center;
}
.admin-file-upload-container h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #007bff;
}
.admin-file-upload-container .form-group {
  margin-bottom: 20px;
}

/* 고객 첨부파일 영역 (다른 색상 적용: 녹색 계열) */
.customer-attachments-container {
  width: 80%;
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  border: 2px dashed #28a745;
  border-radius: 8px;
  background-color: #e9f7ef;
  text-align: center;
}
.customer-attachments-container h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #28a745;
}

/* 관리자 첨부파일 영역 (기존 색상: 파란색) */
.admin-attachments-container {
  width: 80%;
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  border: 2px dashed #007bff;
  border-radius: 8px;
  background-color: #f0f8ff;
  text-align: center;
}
.admin-attachments-container h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #007bff;
}