@charset "utf-8";

/* 모바일 목록 */
@media all and (max-width:767px) {
	.responsive #bo_list .float-left.float-md-none {
		margin-right:1.0rem;
	}
	.responsive #bo_list .na-title {
		margin-bottom:0.14rem;
	}
}

/* 게시판 읽기 */
#bo_v_title {
	font-size:23px;
	font-weight:bold;
	line-height:1.4;
	letter-spacing:-1px;
}
#bo_v_con {
	min-height:200px; 
	word-break:break-all;
	overflow:hidden
}
@media all and (max-width:575px) {
	.responsive #bo_v_title {
		font-size:20px;
		line-height:1.5;
	}
	.responsive #bo_v_con { 
		min-height:140px; 
	}
}

#bo_v_con img {
	max-width:100%;
	height:auto
}
#bo_v_img {
	width:100%;
	text-align:center;
	overflow:hidden;
	zoom:1;
}
#bo_v_img:after {
	display:block;
	visibility:hidden;
	clear:both;
	content:"";
}
#bo_v_img a.view_image {
	display:block;
}
#bo_v_img img {
	margin-bottom:1.0rem;
}

/* 게시판 읽기 : SNS 공유 */
#bo_v_sns_icon { 
	margin:-5px auto; 
}
#bo_v_sns_icon img { 
	width:40px; 
	border-radius:50%; 
	margin:5px;
}

/* 게시판 댓글 : 내용 */
.cmt-reply {
	top:0;
	left:-16px;
}
.by-writer { 
	background:#fbefef !important;
	border-top:1px solid #f6cece !important;
}
.cmt-content {
	word-break:break-all;
	overflow:hidden
}
.cmt-content img {
	max-width:100%;
	height:auto
}

/* 게시판 댓글 : 대댓글, 수정, 삭제 */
.cmt-btn ul { 
	list-style: none; 
	margin: 0; 
}
.cmt-btn ul > li { 
	float: left; 
	font-size:12px;
	padding: 0 10px; 
}
.cmt-btn ul > li::before { 
	float: left; 
	color:#ccc; 
	content: "|"; 
	margin-left:-12px;
}
.cmt-btn ul > li:last-child { 
	padding-right:0;
}
.cmt-btn ul > li:first-child::before, 
.cmt-btn ul > li.no-bar::before { 
	content: ""; 
	margin-left:0; 
}
.cmt-btn ul > li > a { 
	float:left;
	color:#888;
	white-space:nowrap;	
}

/* 게시판 댓글 : 쓰기폼 */
#fviewcomment #wr_content { 
	resize:none; 
}
@media all and (max-width:575px) {
	.responsive .cmt-box {
		border-right:0 !important;
	}
	.responsive #bo_vc_w .cmt-box {
		border-left:0 !important;
		border-radius:0 !important;
	}
	.responsive #bo_vc_login {
		border-left:0 !important;
		border-right:0 !important;
		border-radius:0 !important;
	}
}

/* 게시판 댓글 : SNS 등록 */
#bo_vc_opt ol {	
	margin:0;
	padding:0;
	list-style:none;
	zoom:1; 
	background:#ccc;
	border-radius:3px;
}
#bo_vc_opt ol:after { 
	display:block;
	visibility:hidden;
	clear:both;
	content:""; 
}
#bo_vc_opt ol li { 
	float:left;
	margin:0; 
}
#bo_vc_send_sns ul { 
	margin:0;
	padding:0;
	list-style:none;
	zoom:1; 
}
#bo_vc_send_sns ul:after { 
	display:block;
	visibility:hidden;
	clear:both;
	content:""; 
}
#bo_vc_send_sns ul li {	
	float:left;
	margin:0 1.0rem 0 0;
}
#bo_vc_send_sns input {	
	margin:0 0 0 0.5rem;
}

/* 게시판 쓰기 */
#bo_w .list-group-item {
	padding-left:0;
	padding-right:0;
	border-left:0;
	border-right:0;
}
#bo_w #wr_content { 
	margin-bottom:1.0rem !important;
}
@media all and (max-width:575px) {
	#bo_w .list-group-item {
		padding-left:1.0rem;
		padding-right:1.0rem;
	}
	.responsive #bo_w #wr_content {
		max-height:160px !important;
	}
}

/* =============================
 ✍️ (뷰 css)
============================= */
#bo_v_atc .weekly-report-top{
  display: flex;
  flex-direction: column; /* ✅ 이게 핵심: 차트를 항상 통계 아래쪽으로 고정 */
  align-items: stretch;
  background:#343642;
  border:1px solid rgba(255,255,255,0.06);
  border-radius:14px;
  padding:18px 18px 16px;
  position: relative;
}

/* 타이틀 */
#bo_v_atc .weekly-report-title{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:18px;
  font-weight:700;
  color:#e9edf1;
  margin:0 0 14px 0;
}
#bo_v_atc .weekly-report-title::before{
  content:"";
  width:10px;height:10px;border-radius:2px;
  background:#ff7a1a; /* 포인트 */
  display:inline-block;
}

/* 3개 지표 카드 래퍼 */
#bo_v_atc .weekly-stats{
  display:flex;
  gap:14px;
  margin-bottom:14px;
  flex-wrap:wrap; /* 줄바꿈 허용 */
}

/* 지표 카드 */
#bo_v_atc .weekly-stats .stat-box{
  flex:1 1 0%;
  min-width:180px;
  background:#3B3D4A;
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  padding:14px 16px;
  text-align:center;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position:relative;
  overflow:hidden;
}
#bo_v_atc .weekly-stats .stat-box:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 26px rgba(0,0,0,.32);
  border-color:rgba(255,255,255,.1);
}

/* 라벨/값 */
#bo_v_atc .weekly-stats .stat-label{
  font-size:13px;
  letter-spacing:.2px;
  color:#aeb7c2;
  margin-bottom:6px;
}
#bo_v_atc .weekly-stats .stat-value{
  font-size:30px;
  font-weight:800;
  color:#e9edf1;
  line-height:1.1;
}
/* 값 컬러 가이드(선택) */
#bo_v_atc .weekly-stats .stat-box:nth-child(1) .stat-value{ color:#28d17c; } /* 신규 */
#bo_v_atc .weekly-stats .stat-box:nth-child(2) .stat-value{ color:#ff4d57; } /* 폐쇄 */
#bo_v_atc .weekly-stats .stat-box:nth-child(3) .stat-value{ color:#ffd23f; } /* 폐쇄율 */

.chart-wrap {
  width: 100%;
  height: 300px; /* ✅ 보기 좋게 크기 확대 */
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 10px 12px;
  box-sizing: border-box;
}

/* 본문 박스(원본 유지 + 살짝 톤 보정) */
#bo_v_con .view-content{
  color:#e7ebf2;
  font-size:16px;
  line-height:1.9;
}
#bo_v_con .view-content p{ margin:0 0 14px; }

/* 버튼 그룹 톤 */
#bo_v_btn_group .btn.custom-btn-basic{
  background:#3B3D4A;
  border:1px solid rgba(255,255,255,.06);
  color:#dfe6ef;
}
#bo_v_btn_group .btn.custom-btn-basic:hover{
  border-color:rgba(255,255,255,.14);
}

/* 이미지 썸네일 컨테이너 (원본 id 유지) */
#bo_v_img{
  margin:18px 0 6px;
}
#bo_v_img img{
  max-width:100%;
  height:auto;
  border-radius:10px;
  box-shadow:0 6px 20px rgba(0,0,0,.25);
}

/* 태그 영역 */
#bo_v_atc .f-de{
  background:#2f323d;
  border:1px solid rgba(255,255,255,.06);
  border-radius:10px;
}

/* ===== 반응형 ===== */
@media (max-width: 1024px){
  #bo_v_atc .weekly-stats{ gap:10px; }
  #bo_v_atc .weekly-stats .stat-box{ min-width:160px; }
}
@media (max-width: 768px){
  #bo_v_atc .weekly-stats{
    flex-direction:column;     /* 모바일: 세로 스택 */
  }
  #bo_v_atc .weekly-stats .stat-box{
    width:100%;
  }
  #bo_v_atc .weekly-report-title{ font-size:17px; }
  #bo_v_atc .weekly-stats .stat-value{ font-size:26px; }
}

/* =============================
 ✍️ Write (글쓰기)
============================= */

.weekly-fields-wrap {
  background: #3B3D4A;
  border: 1px solid #3B3D4A;
  padding: 15px;
  border-radius: 10px;
}
.weekly-write-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.weekly-fields-wrap label {
  font-weight: 600;
  font-size: 14px;
}
.weekly-fields-wrap input {
  border-radius: 6px;
}

.weekly-board {
  margin-top:15px;
  background: transparent;
}

/* 주간 리포트 메인 구조 */
.weekly-board { color: #fff; }

.weekly-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid #ff6b00;
  margin-bottom: 20px;
  padding-bottom: 5px;
}

/* 카드 전체 */
.weekly-item {
  background: #343642;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.25s ease;
}
.weekly-item:hover {
  background: #3B3D4A;
  transform: translateY(-2px);
}

/* 상단 4박스 영역 */
.weekly-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}
.stat-box {
  flex: 1;
  background: #3B3D4A;
  border-radius: 10px;
  padding: 12px 0;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}
.stat-box .label {
  display: block;
  font-size: 13px;
  color: #b9bed0;
  margin-bottom: 5px;
}
.stat-box .value {
  font-size: 18px;
  font-weight: 700;
}
.green { color: #00E676; }
.red { color: #FF5252; }
.yellow { color: #FFD54F; }

/* 달력 전용 */
.stat-box.calendar {
  background: #3E4050;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.stat-box.calendar .day {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-box.calendar .month {
  font-size: 12px;
  color: #bbb;
  margin-top: 4px;
}

/* 본문 */
.weekly-body {
  margin-top: 10px;
}
.weekly-subject {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.weekly-preview {
  font-size: 15px;
  color: #c5c8d3;
  line-height: 1.7;
  margin-bottom: 10px;
}
.weekly-meta {
  font-size: 13px;
  color: #aab0c4;
  display: flex;
  gap: 15px;
  align-items: center;
}
.weekly-meta i {
  color: #5C6BF7;
  margin-right: 4px;
}

/* 반응형 */
@media (max-width: 768px) {
  .weekly-header {
    flex-wrap: wrap;
  }
  .stat-box {
    flex: 1 1 calc(50% - 10px);
  }
  .stat-box.calendar {
    flex: 1 1 100%;
  }
}




