#content .content_area {
  width: 1400px;
  margin: 0 auto;
  padding-bottom: 200px;
  position: relative;
}


/* 글쓰기 버튼 */
.write_btn_container {
  position: absolute;
  top: -110px;
  right: 20px;
}

.write_btn {
  padding: 12px 25px;
  background: var(--font-color-point2);
  color: #fff;
  border-radius: 30px;
  font-size: var(--font-size-no10);
  font-weight: 600;
  box-shadow: 1px 1px 15px rgba(1, 132, 61, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.write_btn:hover {
  background: var(--font-color-point1);
  transform: translateY(-3px);
  box-shadow: 1px 1px 20px rgba(231, 83, 21, 0.3);
}

.write_btn i {
  margin-right: 10px;
}

/* ====================================
   📌 모달 기본 설정 - 두 모달 공통
   ==================================== */

.write_modal_box,
.edit_modal_box {
 
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;


  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* 📌 모달 활성화 상태 */
.write_modal_box.show,
.edit_modal_box.show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* ====================================
   📌 글쓰기 모달 스타일
   ==================================== */

.write_modal_box .board_write_section {
  width: 1000px;
  max-height: 90vh;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
  background: #fff;
  overflow-y: auto;
  position: relative;
  transform: translateY(-30px) scale(0.95);
  transition: transform 0.3s ease;
}

.write_modal_box.show .board_write_section {
  transform: translateY(0) scale(1);
}

/* ====================================
   📌 수정 모달 스타일  
   ==================================== */

.edit_modal_box .edit_popup_content {
  width: 100%;
  max-width: 1400px;
  max-height: 1000px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow-y: auto;
  transform: translateY(-30px) scale(0.95);
  transition: transform 0.3s ease;
}

.edit_modal_box.show .edit_popup_content {
  transform: translateY(0) scale(1);
}

/* ====================================
   📌 닫기 버튼 공통 스타일
   ==================================== */

.close_pop {
  position: absolute;
  top: 15px;
  right: 30px;
  color: rgba(241, 38, 41, 0.8);
  font-size: var(--font-size-no10);
  z-index: 10;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close_pop:hover {
  color: rgba(241, 38, 41, 1);
}

/* ====================================
   📌 폼 스타일 (기존 스타일 유지)
   ==================================== */

.board_write_section form strong {
  display: block;
  text-align: center;
  padding: 20px;
  background: rgba(1, 113, 33, 0.8);
  color: white;
  font-size: var(--font-size-no7);
  font-weight: 700;
  text-shadow: 1px 1px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.board_write_section form dl:first-of-type {
  margin-left: 30px;
  margin-right: 30px;
}

.board_write_section form dl {
  display: flex;
  margin-bottom: 25px;
  margin-left: 30px;
  margin-right: 30px;
}

.board_write_section form dt {
  flex-basis: 120px;
  font-size: var(--font-size-no13);
  color: #333;
  font-weight: 600;
  padding-right: 20px;
  text-align: right;
  padding-top: 15px;
}

.board_write_section form dd {
  flex-grow: 1;
}

.board_write_section form input[type="text"],
.board_write_section form input[type="email"],
.board_write_section form textarea {
  width: 95%;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.board_write_section form input[type="text"]:focus,
.board_write_section form input[type="email"]:focus,
.board_write_section form textarea:focus {
  border-color: rgba(1, 113, 33, 0.8);
  outline: none;
  box-shadow: 1px 1px 15px rgba(1, 113, 33, 0.3);
  transform: translateY(-2px);
}

.board_write_section form textarea {
  resize: vertical;
  min-height: 150px;
}

.board_write_section form textarea::placeholder {
  text-align: left;
  vertical-align: top;
  color: #9ca3af;
  line-height: 1.5;
  white-space: pre-line;
}

/* 파일 업로드 */
.board_write_section form input[type="file"] {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 3;
}

.board_write_section form dd {
  position: relative;
}

.file_input_display {
  display: block;
  width: 95%;
  padding: 15px 20px;
  border: 2px dashed #999;
  border-radius: 12px;
  text-align: center;
  color: #999;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* 팁 박스 */
.tip_box {
  background: var(--font-color-sub2);
  border-left: 4px solid #017121;
  padding: 20px;
  margin: 30px;
  border-radius: 0 8px 8px 0;
}

.tip_box>span {
  display: block;
  padding-bottom: 20px;
  color: rgba(1, 113, 33, 0.8);
  font-weight: 600;
}

.tip_box ul {
  margin: 0;
  padding-left: 20px;
  color: #666;
}

.tip_box li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* 버튼 */
.board_write_section .write_buttons {
  text-align: center;
  margin: 40px 30px 30px;
}

.board_write_section .write_buttons button {
  padding: 18px 40px;
  background: rgba(1, 113, 33, 0.8);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: var(--font-size-no12);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 1px 1px 15px rgba(1, 113, 33, 0.2);
}

.board_write_section .write_buttons button:hover {
  transform: translateY(-4px);
  box-shadow: 1px 1px 15px rgba(217, 38, 33, 0.2);
  background: rgba(217, 38, 33, 0.8);
}

/* ====================================
   📌 수정 모달 관련 스타일
   ==================================== */

.edit_popup_content ul {
  padding: 40px;
}

.edit_popup_content li {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  position: relative;
}

.edit_popup_content .review_img_edit {
  width: 600px;
  height: 650px;
  object-fit: cover;
  flex-shrink: 0;
}

.edit_popup_content .review_img_edit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.edit_popup_content .review_img_edit p {

  color: #888;
  text-align: center;
  margin-top: 10px;
}

/* 수정 폼 스타일 */
#edit-form {
  width: 100%;
  flex: 1;
}

#edit-form dl {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#edit-form dt {
  font-size: 28px;
  font-weight: 600;
  color: #007121;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

#edit-form dt input {
  width: 100%;
  border: none;
  font-size: 28px;
  font-weight: 600;
  color: #007121;
  outline: none;
}

#edit-form dd {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

#edit-form dd input,
#edit-form dd textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  resize: vertical;
}

#edit-form textarea {
  height: 400px;
}

/* 모달 버튼들 */
.modal_buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.modal_buttons button {
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
}

.modal_buttons .edit-btn {
  background-color: #007121;
  color: white;
}

.modal_buttons .edit-btn:hover {
  background-color: #005a1a;
  transform: translateY(-2px);
}

.modal_buttons .delete-btn {
  background-color: #dc3545;
  color: white;
}

.modal_buttons .delete-btn:hover {
  background-color: #c82333;
  transform: translateY(-2px);
}

.modal_buttons button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* ====================================
   📌 게시판 목록 스타일 (기존 유지)
   ==================================== */

.new_product_review_tuck_box {
  width: 1600px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
  padding: 30px 10px;
}

.new_product_review_tuck_box li {
  width: 350px;
  height: 450px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.new_product_review_tuck_box li:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.08);
  border-color: rgba(1, 113, 33, 0.2);
}

.new_product_review_tuck_box li a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.review_img {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.review_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review_content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.review_content dl {
  flex-grow: 1;
  margin-bottom: 15px;
}

.review_content dt {
  font-size: var(--font-size-no10);
  font-weight: 700;
  margin-bottom: 10px;
  color: rgba(217, 38, 33, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review_content dd:nth-of-type(1) {
  width: 300px;
  margin-bottom: 15px;
  font-size: var(--font-size-no12);
  color: #666;
  line-height: 1.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review_content dd:nth-of-type(2) {
  font-size: 14px;
  color: rgba(1, 113, 33, 0.8);
  font-weight: 600;
  margin-bottom: 0;
}

.review_content dd:nth-of-type(2)::before {
  content: "👤 ";
  margin-right: 4px;
}

.review_info {
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #868e96;
  border-top: 2px solid #f1f3f4;
  position: relative;
}

.review_info::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 3px;
  background: rgba(1, 113, 33, 0.6);
  border-radius: 1px;
}

.review_date {
  font-weight: 500;
}

.review_date::before {
  content: "📅 ";
  margin-right: 4px;
}

/* 빈 목록 메시지 */
.empty_list_message {
  width: 100%;
  margin-right: 200px;
  text-align: center;
  padding: 80px 20px;
  color: #6c757d;
  font-size: var(--font-size-no10);
  background: #f8f9fa;
  border-radius: 15px;
  border: 2px dashed #dee2e6;
}

.empty_list_message::before {
  content: "🍧";
  display: block;
  font-size: var(--font-size-no5);
  margin-bottom: 20px;
}

/* 📌 로딩 상태 */
.new_product_review_tuck_box.loading {
  opacity: 0.7;
  pointer-events: none;
}