/**
 * 서브페이지 전용 스타일 (default.css 미사용 시)
 * 헤더/푸터/레이아웃/폼/버튼을 메인과 동일하게 맞춤
 */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
a { text-decoration: none; color: #007bff; }
a:hover { text-decoration: underline; }
#hd_h1 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }

/* 탑메뉴 바로 아래 가로바 (메인과 동일하게 표시) */
.top-bg {
    top: 74px;
    width: 100%;
    height: 19px;
    background: url(/img/top_border_bg.jpg) repeat-x center bottom;
    background-color: #f0f0f0;
    border-bottom: 2px solid #6c6c6c;
    position: fixed;
    z-index: 999;
}

/* 본문이 고정 헤더·가로바에 가리지 않도록 (헤더 74px + 가로바 19px) */
#wrapper {
    position: relative;
    min-height: 100%;
    margin-top: 93px;
}

/* Footer Styles (Moved from tail.new.php) */
.footer-wrap {
    background-color: #3f5b3b; 
    color: #fff; 
    padding-top: 1.5rem; 
    padding-bottom: 1.5rem; 
    text-align: center; 
    margin-top: 50px;
}
.footer-inner {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
}
.scroll-top-btn {
    display:none; 
    position:fixed; 
    bottom:20px; 
    right:20px; 
    background:#000; 
    color:#fff; 
    width:40px; 
    height:40px; 
    text-align:center; 
    line-height:40px; 
    border-radius:50%; 
    z-index:999; 
    text-decoration:none;
}
/* 콘텐츠/제목 (서브 페이지 본문) */
.content {
    max-width: 1024px;
    margin: 0 auto 50px;
    min-width: 320px;
    padding-right: 10px;
}
.main-title { margin-top: 10px; text-align: center; }
.main-title h2 {
    font-family: "Pretendard Variable", Pretendard, sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-top: 10px;
    color: #1f3063;
}
/* 타이틀 우측 바: 이미지 대신 CSS 바 (4px, 텍스트 색상, 줄 수에 맞게 높이) */
.content h3 {
    float: left;
    width: 120px;
    margin: 0;
    padding: 0 0 0 0;
    padding-right: 12px;
    min-height: 1.5em;
    position: relative;
    font-size: 22px;
    color: #103695;
    font-weight: 800;
    box-sizing: border-box;
}
.content h3::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: currentColor;
}
.form-tit { color: #000; font-size: 18px; font-weight: 600; margin-top: 0; line-height: 1.5; }
.form-item { color: #000; font-size: 18px; }

/* 폼 컨트롤 / textarea */
.form-control,
input[type="text"],
input[type="password"],
input[type="email"],
.custom-select,
textarea {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-sizing: border-box;
}
textarea.form-control,
textarea {
    min-height: 80px;
    resize: vertical;
}
.form-control:focus,
.custom-select:focus,
textarea:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* 체크박스/라디오 (확인사항 등) */
.form-check { display: block; padding-left: 1.25rem; }
.form-check-inline { display: inline-flex; align-items: center; padding-left: 0; margin-right: 1rem; }
.form-check-input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.25rem;
    margin-right: 0.5rem;
    margin-left: -1.25rem;
    vertical-align: top;
    flex-shrink: 0;
}
.form-check-label { margin-bottom: 0; cursor: pointer; }

/* 버튼 (접수전 미리보기, 접수하기, 취소) */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary {
    color: #fff !important;
    background-color: #416a4f !important;
    border-color: #416a4f !important;
}
.btn-primary:hover {
    background-color: #1f432b !important;
    border-color: #1f432b !important;
}
.btn-secondary {
    color: #fff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}
.btn-secondary:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
}

.agreement {
    margin-top: 10px;
    background: #fff;
    width: 100%;
    height: 150px;
    border: 1px solid #d4d4d4;
    color: #7a7a7a;
    font-size: 1em;
    line-height: 22px;
    padding: 10px;
}
.agree-wrap {
    font-weight: 600;
    font-size: 1.0rem;
    word-break: keep-all;
}


/* ===== Bootstrap 제거 후 대체 스타일 (applyForm 전용) ===== */
#sub-content.content { max-width: 1110px; margin: 120px auto 0; padding: 0 15px; box-sizing: border-box; }
#sub-content .main-title { text-align: center; margin-bottom: 30px; }
#sub-content .main-title .ico_army { display: block; margin: 0 auto 15px; width: 60px; }
#sub-content .main-title h2 { font-size: 1.75rem; font-weight: 700; color: #1f432b; margin: 0; }
#sub-content h3 { font-size: 1.15rem; font-weight: 700; color: #1f432b; margin: 0 0 15px 0; }
#sub-content h3.long { line-height: 1.4; }
.row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.row > [class*="col-"] { padding-right: 15px; padding-left: 15px; box-sizing: border-box; }
.col-4, .col-md-2 { flex: 0 0 auto; }
.col-4 { width: 33.333333%; }
.col-14, .col-md-10 { flex: 0 0 auto; }
.col-14 { width: 66.666667%; }

.form-group { margin-bottom: 1rem; }
.form-group.row { display: flex; flex-wrap: wrap; align-items: center; margin-right: -15px; margin-left: -15px; }
.form-group.row > .form-tit, .form-group.row > label { padding-right: 15px; padding-left: 15px; }
.form-group.row > div { padding-right: 15px; padding-left: 15px; }
.form-control { display: block; width: 100%; height: calc(1.5em + .75rem + 2px); padding: .375rem .75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #495057; background-color: #fff; border: 1px solid #ced4da; border-radius: .25rem; box-sizing: border-box; }
.form-control:focus { border-color: #80bdff; outline: 0; box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); }
.custom-select { display: inline-block; width: 100%; height: calc(1.5em + .75rem + 2px); padding: .375rem 1.75rem .375rem .75rem; font-size: 1rem; line-height: 1.5; color: #495057; vertical-align: middle; background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px; border: 1px solid #ced4da; border-radius: .25rem; -webkit-appearance: none; -moz-appearance: none; appearance: none; box-sizing: border-box; }
.mr-sm-2 { margin-right: .5rem; }
.mr-md-3 { margin-right: 1rem; }
.my-1 { margin-top: .25rem; margin-bottom: .25rem; }
.mr-2 { margin-right: .5rem; }
.mt-2 { margin-top: .5rem; }
.form-check { display: block; padding-left: 1.25rem; }
.form-check-inline { display: inline-flex; align-items: center; padding-left: 0; margin-right: 1rem; }
.form-check-input { width: 1rem; height: 1rem; margin-top: 0.25rem; margin-right: 0.5rem; margin-left: -1.25rem; vertical-align: top; }
.form-check-label { margin-bottom: 0; }
.btn { display: inline-block; font-weight: 400; text-align: center; vertical-align: middle; user-select: none; padding: .375rem .75rem; font-size: 1rem; line-height: 1.5; border-radius: .25rem; border: 1px solid transparent; cursor: pointer; }
.btn-primary { color: #fff; background-color: #007bff; border-color: #007bff; }
.btn-primary:hover { background-color: #0069d9; border-color: #0062cc; }
.btn-secondary { color: #fff; background-color: #6c757d; border-color: #6c757d; }
.btn-secondary:hover { background-color: #5a6268; border-color: #545b62; }
.btn-secondary:disabled { opacity: .65; cursor: not-allowed; }
.modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1050; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; outline: 0; }
.modal.show { display: flex !important; align-items: center !important; justify-content: center !important; padding: 1rem; box-sizing: border-box; }
.modal.fade { opacity: 0; transition: opacity 0.15s linear; }
.modal.fade.show { opacity: 1; }
.modal-dialog { position: relative; width: auto; margin: 0 auto; max-width: 500px; max-height: calc(100vh - 2rem); align-self: center; }
.modal-lg .modal-dialog { max-width: 800px; }
/* 아이템내용 미리보기 모달: 넓게 표시 */
#previewModal .modal-dialog { width: 90vw; max-width: 960px; min-width: 320px; }
#previewModal #modal-body { width: 100%; max-width: 100%; box-sizing: border-box; padding: 1rem 1.25rem; }
#previewModal .form-tit { display: block; width: 100%; margin-bottom: 0.25rem; }
#previewModal .form-desc { width: 100%; max-width: 100%; box-sizing: border-box; }
#previewModal .item_info_title { display: block; width: 100%; }
#signContainer .modal-dialog { width: 560px; max-width: calc(100vw - 2rem); min-width: 320px; }
.modal-content { position: relative; display: flex; flex-direction: column; width: 100%; max-height: calc(100vh - 2rem); background-color: #fff; border: 1px solid rgba(0,0,0,.2); border-radius: .3rem; box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); overflow: hidden; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 1px solid #dee2e6; flex-shrink: 0; }
.modal-title { margin: 0; font-size: 1.25rem; font-weight: 500; }
.modal-body { position: relative; flex: 1 1 auto; padding: 1rem 1rem 0 1rem; min-height: 0; overflow: auto; }
.modal-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; flex-shrink: 0; }
#signContainer .modal-footer { flex-direction: column; align-items: stretch; gap: 0.75rem; }
#signContainer .signBtns { list-style: none; margin: 0; padding: 0; margin-top: 1.25rem; }
#signContainer #signWrap { max-width: 100%; box-sizing: border-box; margin-bottom: 0; }
#signContainer #canvas { display: block; width: 500px; height: 200px; }
.modal .close { padding: 0; margin: 0; background: transparent; border: 0; font-size: 1.5rem; font-weight: 700; line-height: 1; color: #000; opacity: .5; cursor: pointer; }
.modal .close:hover { opacity: .75; }
.modal-backdrop { position: fixed; top: 0; left: 0; z-index: 1040; width: 100%; height: 100%; background-color: #000; }
.modal-backdrop.fade { opacity: 0; }
.modal-backdrop.show { opacity: 0.5; }
body.modal-open { overflow: hidden; }
.form-inline { display: flex; flex-flow: row wrap; align-items: center; }

/* 확인사항: 제목 중앙·굵게, 항목당 한 줄(텍스트 왼쪽 / 체크+확인 오른쪽 첫 줄 정렬) */
.confirm-section-title {
	font-size: 1.35rem;
	font-weight: 700;
	color: #000;
	margin-bottom: 1.25rem;
	display: block;
}
.agree-wrap.row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	margin-bottom: 0;
	margin-left: -15px;
	margin-right: -15px;
}
.agree-wrap .col-md-10 {
	flex: 0 0 83.333333%;
	max-width: 83.333333%;
	padding-right: 15px;
	padding-left: 15px;
	align-self: flex-start;
}
.agree-wrap .col-md-10 label {
	display: block;
	text-align: left;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.6;
	color: #212529;
	margin: 0;
	cursor: default;
}
.agree-wrap .col-md-2 {
	flex: 0 0 16.666667%;
	max-width: 16.666667%;
	padding-right: 15px;
	padding-left: 15px;
	align-self: flex-start;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.col-md-2 { width: 16.666667%; }
	.col-md-10 { width: 83.333333%; }
	.col-sm-2 { width: 16.666667%; }
	.col-sm-4 { width: 33.333333%; }
	.col-sm-10 { width: 83.333333%; }
	.col-sm-12 { width: 100%; }
}


/* ===== 기존 applyForm 스타일 ===== */
.apply_sub_content {
	float: left;
	width: 100%;
	display: inline-block;
	margin-top: 4px;
	list-style: none;
}
.mb10 li {
	margin-bottom: 14px;
}
.agree_box {
	margin-top: 10px;
	border: 1px solid #d2d2d2;
	padding: 20px;
	font-size: 14px;
	width: 100%;
		height: 150px;
		overflow-y: auto
}
.agree_box span {
	font-weight: 800;
	font-size: 16px;
}
.agree_box p {
	text-indent: -8px;
	margin-left: 10px;
		font-size: 1em;
	text-align: justify;
}
.agree_box p.longident {
  text-indent: -18px;
	margin-left: 22px;
}
.mt10 { margin-top:10px;}
#re_agree3 { font-weight: 600;}

.form-control::placeholder {
  font-size: 1.0em !important;
}

.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
  font-size: 1.0em !important;
}

.form-control::-ms-input-placeholder { /* Microsoft Edge */
  font-size: 1.0em !important;
}
input[type="text"]::placeholder, textarea::placeholder {
  font-size: 80% !important;
}
input[type="text"]::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  font-size: 80% !important;
}
input[type="text"]:-ms-input-placeholder, textarea:-ms-input-placeholder {
  font-size: 80% !important;
}
input[type="text"]::-ms-input-placeholder, textarea::-ms-input-placeholder {
  font-size: 80% !important;
}
.form-item {font-size:14px;}
.form-desc {
	margin: 10px auto 30px;
	width: 100%;
	padding: 10px;
	border: 1px solid #ced4da;
	border-radius: .25rem;
}
.modal {z-index:3000;}
#modal-body img {max-width: 100%; margin: 5px 0 5px 0}
/*.military_unit option:nth-child(2), .military_unit option:nth-child(3), .military_unit option:nth-child(15), .military_unit option:nth-child(16), .military_unit option:nth-child(17), .military_unit option:nth-child(18) {
	font-weight:bold;
}*/
.military_unit option.bold {font-weight:bold}
.item_info_title {
	font-size:22px;
	font-weight: 800;
	display: block;
	margin-bottom: 20px;
	color: #103695;
}
.textbox {
	min-height:250px;width:100%;padding:10px;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.textLengthWrap {font-weight:600; font-size:14px; color: red;margin-top: 6px; display: inline; margin-left:20px;}
.textLengthWrap p {display:inline;}
.image_upload {
    padding:0;
	list-style: none;
}
.image_upload li {float:left; line-height:60px; margin-right: 10px}
.image_upload li img {cursor:pointer}
.image_upload .file {
	display: none;
}
.file_img {width:50px; height:51px;}

.loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 rgba(255,255,255, 0.9 );
}
.loading .sk-text {
	padding-left:20px;
	font-size:14px; 
	font-weight: 800;
	color: #000;
}
.sk-spinner-wordpress.sk-spinner {
  background-color: #bfba55;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  position: relative;
  -webkit-animation: sk-innerCircle 1s linear infinite;
  animation: sk-innerCircle 1s linear infinite; 
}

.sk-spinner-wordpress .sk-inner-circle {
  display: block;
  background-color: #ffffff;
  width: 16px;
  height: 16px;
  position: absolute;
  border-radius: 8px;
  top: 5px;
  left: 5px; 
}

@-webkit-keyframes sk-innerCircle {
  0% {
	-webkit-transform: rotate(0);
			transform: rotate(0); }
  100% {
	-webkit-transform: rotate(360deg);
			transform: rotate(360deg); } }
@keyframes sk-innerCircle {
  0% {
	-webkit-transform: rotate(0);
			transform: rotate(0); }
  100% {
	-webkit-transform: rotate(360deg);
			transform: rotate(360deg); } }
.btn_file_del {
	display: none;
	line-height: 10px;
	text-align: center;
	color: red;
	cursor: pointer;
}	
.form-control {font-size: 0.8rem}
.agree-wrap {font-weight: 600; font-size: 1.0rem; word-break: keep-all;}
.agree-wrap > div > label{ margin-top: 6px!important; margin-bottom: 6px!important;text-align: justify;
    padding-left: 19px;
    text-indent: -19px;}

#signContainer { display: none; }
#signContainer.modal { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 1rem; box-sizing: border-box; }
#signContainer.modal.show { display: flex !important; align-items: center !important; justify-content: center !important; }
#sign-area {display:flex; width:100%; flex-direction: row-reverse;}
#sign-area ul {list-style: none; font-size:16px;}
#sign-area ul li {height: 40px}
#sign-area ul li span.ct_sign {width: 100px; display: inline-block;cursor:pointer;position:relative;}
#sign-area ul li span.ct_sign .ct_sign_img {position:absolute;right:0}
#sign-area ul li span.ct_sign .ct_sign_img img {max-height:38px;}


@media (max-width: 767px) {
    .footer-inner {flex-direction: column; font-size: 0.8rem; line-height: 1.2rem; margin: 10px auto 0;}
    .footer-inner > .text-right {text-align: center;}
	#sub-content.content { padding: 0 12px; margin-top: 120px; width: 100%; max-width: 100%; box-sizing: border-box;word-break: keep-all;
        word-wrap: break-word; }
	.row { flex-direction: column; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
	.row > [class*="col-"] { padding-left: 0; padding-right: 0; }
	.col-4, .col-14, .col-md-2, .col-md-10 { width: 100% !important; }
	.col-sm-2, .col-sm-4, .col-sm-10, .col-sm-12 { width: 100% !important; }
	.form-group.row { flex-direction: column; align-items: stretch; margin-left: 0; margin-right: 0; }
	.form-group.row > .form-tit,
	.form-group.row > label { width: 100%; padding-left: 0; padding-right: 0; margin-bottom: 0.5rem; display: block; }
	#sub-content .form-group.row > label.form-tit:nth-of-type(2) { margin-top: 1rem; }
	.form-group.row > div { width: 100%; padding-left: 0; padding-right: 0; }
	.form-group { margin-bottom: 1.5rem; }
	.form-control, .custom-select { min-height: 44px; font-size: 14px; }
	.custom-select:not([name*="birthday"]) { width: 100% !important; }
	select[name*="birthday"] { display: inline-block; width: auto !important; }
	.form-check-inline { margin-right: 1rem; margin-bottom: 0.25rem; }
	#sub-content h3 { font-size: 1.05rem; margin-bottom: 12px; }
	#sub-content h3::after { display: none; }
	#sub-content h3 br { display: none; }
	.content h3 { float: none; width: auto; white-space: nowrap; padding-right: 0; }
	.content h3::after { display: none; }
	#sub-content .main-title h2 { font-size: 1.4rem; }
	.btn { padding: 0.5rem 1rem; min-height: 44px; }
	#submit-buttons, #submit-buttons-edit { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
	#submit-buttons .btn, #submit-buttons input[type="button"], #submit-buttons-edit .btn, #submit-buttons-edit input[type="button"] { flex: 1 1 auto; min-width: 120px; }
    .agreement-desc {font-size: 14px; margin-top: 10px;}
    .confirm-section-title {font-size: 16px;}
    .agree-wrap.row {margin: 0;}
	.agree-wrap .col-md-10 { flex: 0 0 100%; max-width: 100% ; }
	.agree-wrap .col-md-2 { flex: 0 0 100%; padding-left: 10px; }
    .agree-wrap .col-md-10 label {font-size: 0.9rem;}
    .agree-wrap > div > label {text-indent: -14px;}
    .image_upload li {line-height: 20px;}
	.agree-wrap { font-size: 0.8rem; }
	.form-tit { font-size: 1.0rem; font-weight: 600; }
	#signContainer .modal-dialog { width: 100%; min-width: 0; max-width: calc(100vw - 1rem); }
	#signContainer #signWrap { width: 100%; max-width: 100%; }
	#signContainer #canvas { width: 100% !important; max-width: 100%; height: 180px !important; }
    #submit-buttons .btn, #submit-buttons input[type="button"] {min-width:unset;}
}

/* icheck: 라디오/체크박스와 label 세로 정렬 + 간격 (icheck 로드 후 적용) */
[class*="icheck-"] { display: inline-flex !important; align-items: center !important; }
[class*="icheck-"] > label {
	display: inline-flex !important;
	align-items: center !important;
	min-height: 22px !important;
	line-height: 22px !important;
	padding-top: 4px !important;
	padding-left: 32px !important;
	vertical-align: middle !important;
}
[class*="icheck-"] > input:first-child + label::before {
	margin-left: -32px !important;
}
/* check 시 체크마크(화살표)가 위로 올라가지 않도록 위치 보정 */
[class*="icheck-"] > input:first-child:checked + label::after {
	transform: translate(7.75px, 6.5px) rotate(45deg) !important;
	-ms-transform: translate(7.75px, 6.5px) rotate(45deg) !important;
}
[class*=icheck-]>input:first-child:checked+input[type=hidden]+label::after, [class*=icheck-]>input:first-child:checked+label::after {left: -2px !important;}
/* 상단 바로가기 아이콘 */
#return-to-top {position: fixed;bottom: 8px;right: 20px;background: rgb(0, 0, 0);background: rgba(0, 0, 0, 0.7);width: 50px;height: 50px;display: block;text-decoration: none;-webkit-border-radius: 35px;-moz-border-radius: 35px;border-radius: 35px;display: none;-webkit-transition: all 0.3s linear;-moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-o-transition: all 0.3s ease;transition: all 0.3s ease;}
#return-to-top i {color: #fff;margin: 0;position: relative;left: 1px;top: 8px;font-size: 19px;-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-o-transition: all 0.3s ease;transition: all 0.3s ease;}
#return-to-top:hover {background: rgba(0, 0, 0, 0.9);}
#return-to-top:hover i {color: #fff;top: 5px;}

/* 모바일: 헤더/가로바/wrapper 높이 */
@media (max-width: 768px) {
    .custom-header { height: 52px !important; }
    #wrapper { margin-top: 61px; }
    .custom-header .navbar-brand .logo {
        height: auto;
        max-width: 170px;
    }
    .top-bg { top: 52px; height: 9px; }
    .top-mg { margin-top: 0; }
}

/* 접수확인 페이지 (applyCheckForm - check-page) */
#sub-content.check-page {
    max-width: 600px;
    padding: 0 15px;
    box-sizing: border-box;
}
#sub-content.check-page .main-title { margin-top: 0; margin-bottom: 30px; }
#sub-content.check-page .main-title .ico_army { display: block; margin: 0 auto 15px; width: 60px; }
#sub-content.check-page .main-title h2 { font-size: 1.75rem; font-weight: 700; color: #1f432b; margin: 0; }
#sub-content.check-page .form-row { margin: 30px auto; }
#sub-content.check-page .form-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.25rem;
}
#sub-content.check-page .form-group label.form-tit {
    flex: 0 0 120px;
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}
#sub-content.check-page .form-group > div { flex: 1; min-width: 0; }
#sub-content.check-page .form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-sizing: border-box;
    height: calc(1.5em + 1rem);
}
#sub-content.check-page .form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}
#sub-content.check-page .btn-wrap { margin-top: 30px; text-align: center; }
#sub-content.check-page .btn-primary {
    display: inline-block;
    padding: 0.5rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    background-color: #0d6efd;
    border: 1px solid #0d6efd;
    border-radius: 0.25rem;
    cursor: pointer;
}
#sub-content.check-page .btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
@media (max-width: 576px) {
    #sub-content.check-page .form-group { flex-direction: column; align-items: stretch; }
    #sub-content.check-page .form-group label.form-tit { flex: none; margin-bottom: 0.35rem; }
}

/* ===== appView.inc.php / appList.inc.php (접수내용 확인·접수목록) ===== */
#sub-content > .row { margin-top: 30px; }
#sub-content img { max-width: 800px; }
#sub-content .main-title .ico_army { display: block; margin: 0 auto 15px; width: 60px; }
.form-item-tit { color: #212529; font-size: 1rem; margin: 0; line-height: 1.5; }
/* 접수내용 확인(appView) 전용: 좌측 타이틀·우측 내용 정렬 + 라벨 열 적당히, 우측 내용 폭 확보 */
#sub-content.app-view .form-group.row { align-items: flex-start; }
#sub-content.app-view .form-group.row > label.form-tit { flex: 0 0 auto; min-width: 10em; white-space: nowrap; padding-top: 0.15em; }
#sub-content.app-view .form-group.row > label.form-tit + div.form-item-tit,
#sub-content.app-view .form-group.row > label.form-tit + div { flex: 1 1 0; min-width: 0; }
@media (max-width: 767px) {
	#sub-content.app-view .form-group.row > label.form-tit { white-space: normal; min-width: 0; }
}
/* appView: 행·열 간격 더 축소(벌어짐 완화) */
#sub-content.app-view .form-group.row { margin-bottom: 0.25rem; margin-left: -6px; margin-right: -6px; }
#sub-content.app-view .form-group.row > label.form-tit,
#sub-content.app-view .form-group.row > .form-tit { padding-left: 6px; padding-right: 6px; }
#sub-content.app-view .form-group.row > div { padding-left: 6px; padding-right: 6px; }
#sub-content.app-view .form-item-tit { line-height: 1.35; }
.item_info_title { font-size: 1.25rem; font-weight: 800; display: block; margin-bottom: 20px; color: #103695; }
.item-desc { white-space: pre-wrap; line-height: 1.6; }
.item-desc p { margin: 10px 0; }
.item-desc p img { max-width: 100%; }
.item-line { height: 1px; background: #dcdcdc; margin: 30px 0; }
.youtube_wrap { position: relative; height: 0; padding-bottom: 56.25%; margin-bottom: 30px; }
.youtube_wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.col-18 { flex: 0 0 auto; width: 100%; }
@media (min-width: 768px) { .col-18.col-md-12 { width: 100%; } }
.btn-danger { color: #fff !important; background-color: #dc3545 !important; border-color: #dc3545 !important; }
.btn-danger:hover { background-color: #bb2d3b !important; border-color: #b02a37 !important; }

/* 접수목록 테이블 (appList.inc.php) */
#sub-content .table { width: 100%; margin-top: 40px; border-collapse: collapse; }
#sub-content .table thead th { padding: 0.75rem; text-align: left; font-weight: 600; color: #212529; border-bottom: 2px solid #dee2e6; background: #f8f9fa; }
#sub-content .table tbody td,
#sub-content .table tbody th { padding: 0.75rem; border-bottom: 1px solid #dee2e6; vertical-align: middle; }
#sub-content .table .nbr { text-align: right; }
#sub-content .table .hide-thtd { }
@media (max-width: 767px) {
	#sub-content .table .hide-thtd { display: none !important; }
}
#sub-content .table .nodata { text-align: center; padding: 2rem !important; color: #6c757d; }
#sub-content .table a.button.small { display: inline-block; padding: 0.35rem 0.75rem; font-size: 0.875rem; color: #fff; background-color: #0d6efd; border-radius: 0.25rem; text-decoration: none; }
#sub-content .table a.button.small:hover { background-color: #0b5ed7; }
#sub-content .table a.button.small span { color: inherit; }

/* 접수내용 확인 하단 버튼 영역 */
#sub-content .btn-row { text-align: center; margin-top: 30px; }
#sub-content .btn-row .btn { margin: 0 0.25rem; }
