@charset "UTF-8";

/* =====================================================
   신고 가능시간 안내
   ===================================================== */

.report-reception-guide{margin-bottom:18px; padding:15px 16px; border-radius:10px;}
.report-reception-guide strong{display:block; margin-bottom:4px; font-size:14px; font-weight:700;}
.report-reception-guide p{margin:0; font-size:14px; line-height:1.55;}
.report-reception-guide.available{border:1px solid #cce6d4; background:#f1faf4; color:#327047;}
.report-reception-guide.unavailable{border:1px solid #f0d0d0; background:#fff5f5; color:#b44b4b;}

/* =====================================================
   입력 섹션
   ===================================================== */

.report-write-section{margin-bottom:16px; padding:20px 18px; border:1px solid #dfe5ec; border-radius:12px; background:#fff;}
.report-write-section-head{display:flex; align-items:flex-start; gap:11px; margin-bottom:18px;}
.report-step-number{display:flex; flex:0 0 28px; align-items:center; justify-content:center; width:28px; height:28px; border-radius:50%; background:#286ed5; color:#fff; font-size:14px; font-weight:800;}
.report-write-section-head h3{margin:1px 0 0; color:#2f3740; font-size:18px; font-weight:700;}
.report-write-section-head p{margin:5px 0 0; color:#818a94; font-size:14px; line-height:1.5;}

/* =====================================================
   공통 Form
   ===================================================== */

.report-form-field{margin-top:15px;}
.report-form-field:first-of-type{margin-top:0;}
.report-form-field label{display:block; margin-bottom:7px; color:#3e4751; font-size:14px; font-weight:700;}
.report-form-field label em{margin-left:4px; color:#e54848; font-size:14px; font-style:normal;}
.report-form-field input,.report-form-field select,.report-form-field textarea{width:100%; border:1px solid #ccd5df; border-radius:7px; background:#fff; color:#303942; font-size:14px; outline:none; transition:border-color .2s,box-shadow .2s;}
.report-form-field input,.report-form-field select{height:48px; padding:0 13px;}
.report-form-field textarea{min-height:100px; padding:12px 13px; resize:vertical; line-height:1.6;}
.report-form-field input:focus,.report-form-field select:focus,.report-form-field textarea:focus{border-color:#3479b9; box-shadow:0 0 0 3px rgba(52,121,185,.08);}
.report-form-field input[readonly]{background:#f7f8fa; color:#5f6872;}
.report-form-field input::placeholder,.report-form-field textarea::placeholder{color:#a8afb7;}

/* =====================================================
   QR
   ===================================================== */

.report-qr-area{margin-bottom:18px; padding:14px; border:1px dashed #c7d4e2; border-radius:9px; background:#f8fbff; text-align:center;}
.report-qr-button{width:100%; height:44px; border:0; border-radius:7px; background:#256cc3; color:#fff; font-size:14px; font-weight:700; cursor:pointer;}
.report-qr-button:hover{background:#1d5ba6;}
.report-qr-area p{margin:8px 0 0; color:#7f8994; font-size:14px; line-height:1.5;}

/* =====================================================
   위치
   ===================================================== */

.report-location-buttons{display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:10px;}
.report-location-buttons button{height:43px; border:1px solid #cbd6e1; border-radius:7px; background:#fff; color:#53606d; font-size:14px; font-weight:600; cursor:pointer;}
.report-location-buttons button:hover{border-color:#286ed5; color:#286ed5;}
.report-location-guide{margin-bottom:10px; padding:9px 11px; border-radius:6px; background:#f5f7fa; color:#727d88; font-size:14px; line-height:1.5;}
.report-map-wrap{overflow:hidden; width:100%; height:260px; margin-bottom:14px; border:1px solid #dce2e8; border-radius:9px; background:#eef1f4;}
.report-map{width:100%; height:100%;}

/* =====================================================
   신고사유
   ===================================================== */

.report-reason-list{display:grid; grid-template-columns:1fr 1fr; gap:8px;}
.report-reason-item{position:relative; display:block; cursor:pointer;}
.report-reason-item input{position:absolute; width:1px; height:1px; opacity:0;}
.report-reason-item span{display:flex; align-items:center; min-height:44px; padding:10px 12px; border:1px solid #d7dee6; border-radius:7px; background:#fff; color:#59636e; font-size:14px; line-height:1.4; transition:.2s;}
.report-reason-item input:checked + span{border-color:#286ed5; background:#eef4ff; color:#205fae; font-weight:700;}
.report-reason-detail{position:relative;}
.report-reason-detail label span{margin-left:4px; color:#8a939d; font-size:14px; font-weight:500;}
.report-text-count{margin-top:5px; color:#a0a7af; font-size:14px; text-align:right;}

/* =====================================================
   사진
   ===================================================== */

.report-photo-guide{margin-bottom:14px; padding:12px 13px; border-radius:7px; background:#f5f7fa;}
.report-photo-guide strong{display:block; margin-bottom:4px; color:#56616d; font-size:14px;}
.report-photo-guide p{margin:0; color:#818a94; font-size:14px; line-height:1.55;}
.report-photo-button{display:flex; align-items:center; justify-content:center; width:100%; height:46px; border:1px solid #bfcddd; border-radius:7px; background:#fff; color:#41617d; font-size:14px; font-weight:700; cursor:pointer;}
.report-photo-button:hover{border-color:#286ed5; color:#286ed5;}
#reportImages{position:absolute; width:1px; height:1px; overflow:hidden; opacity:0;}
.report-photo-count{margin-top:9px; color:#7b858f; font-size:14px;}
.report-photo-count strong{color:#286ed5;}
.report-image-preview{display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-top:10px;}
.report-image-preview-item{position:relative; overflow:hidden; aspect-ratio:1/1; border:1px solid #dce2e8; border-radius:7px; background:#f2f4f6;}
.report-image-preview-item img{display:block; width:100%; height:100%; object-fit:cover;}

/* =====================================================
   개인정보
   ===================================================== */

.report-privacy-content{padding:14px; border:1px solid #e0e5eb; border-radius:8px; background:#fafbfc;}
.report-privacy-content dl{margin:0;}
.report-privacy-content dl > div{display:grid; grid-template-columns:75px 1fr; gap:8px; padding:5px 0;}
.report-privacy-content dt{color:#68727d; font-size:14px; font-weight:700;}
.report-privacy-content dd{margin:0; color:#7a838d; font-size:14px; line-height:1.5;}
.report-privacy-content > p{margin:10px 0 0; padding-top:10px; border-top:1px solid #e6e9ed; color:#9299a2; font-size:14px; line-height:1.55;}
.report-privacy-agree{display:flex; align-items:flex-start; gap:8px; margin-top:13px; cursor:pointer;}
.report-privacy-agree input{flex-shrink:0; width:18px; height:18px; margin-top:1px;}
.report-privacy-agree span{color:#4f5964; font-size:14px; line-height:1.5;}
.report-privacy-agree strong{color:#df4141;}

/* =====================================================
   제출
   ===================================================== */

.report-submit-area{position:sticky; bottom:0; z-index:20; border-top:1px solid #e3e8ed; backdrop-filter:blur(6px);}
.report-submit-button{width:100%; height:52px; border:0; border-radius:8px; background:#246fd0; color:#fff; font-size:16px; font-weight:800; cursor:pointer;}
.report-submit-button:hover{background:#1d5fb5;}
.report-submit-button:disabled,.report-submit-button.disabled{background:#bcc4cc; color:#fff; cursor:not-allowed;}

/* =====================================================
   Responsive
   ===================================================== */

@media(max-width:480px){
	.portal-report-write{padding:18px 13px 90px;}
	.portal-page-head h2{font-size:23px;}
	.report-write-section{padding:18px 14px; border-radius:10px;}
	.report-write-section-head h3{font-size:17px;}
	.report-map-wrap{height:230px;}
	.report-reason-list{grid-template-columns:1fr;}
	.report-image-preview{grid-template-columns:repeat(3,1fr);}
	/*.report-submit-area{margin-left:-13px; margin-right:-13px; margin-bottom:-90px; padding-left:13px; padding-right:13px;}*/
}

@media(max-width:360px){
	.report-location-buttons{grid-template-columns:1fr;}
	.report-image-preview{grid-template-columns:repeat(2,1fr);}
	.report-privacy-content dl > div{grid-template-columns:65px 1fr;}
}

/* =====================================================
   신고 접수완료
   ===================================================== */

.portal-report-complete{max-width:720px; margin:0 auto; padding:50px 16px 100px;}
.report-complete-box{text-align:center;}
.report-complete-icon{display:flex; align-items:center; justify-content:center; width:64px; height:64px; margin:0 auto 20px; border-radius:50%; background:#edf7f0;}
.report-complete-icon span{color:#38a15a; font-size:30px; font-weight:800;}
.report-complete-head h2{margin:0; color:#272f38; font-size:24px; font-weight:800; letter-spacing:-1px;}
.report-complete-head p{margin:10px 0 0; color:#747e88; font-size:14px; line-height:1.7;}
.report-complete-info{margin-top:28px; padding:8px 17px; border:1px solid #dfe5eb; border-radius:10px; background:#fff; text-align:left;}
.report-complete-row{display:flex; align-items:center; justify-content:space-between; gap:15px; min-height:49px; border-bottom:1px solid #edf0f3;}
.report-complete-row:last-child{border-bottom:0;}
.report-complete-row > span{flex-shrink:0; color:#858e98; font-size:14px;}
.report-complete-row > strong{color:#414b56; font-size:14px; font-weight:600; text-align:right;}
.report-complete-row .report-number{color:#286ed5; font-size:15px; font-weight:800;}
.report-complete-row .report-status{display:inline-flex; align-items:center; justify-content:center; height:26px; padding:0 10px; border-radius:13px; background:#eef4ff; color:#286ed5; font-size:14px; font-weight:700;}
.report-complete-guide{margin-top:15px; padding:14px 16px; border-radius:8px; background:#f5f7fa;}
.report-complete-guide p{margin:3px 0; color:#737d88; font-size:14px; line-height:1.6;}
.report-complete-guide strong{color:#536273;}
.report-complete-actions{display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:25px;}
.report-complete-button{display:flex; align-items:center; justify-content:center; height:48px; border-radius:7px; font-size:14px; font-weight:700; text-decoration:none;}
.report-complete-button.secondary{border:1px solid #286ed5; background:#fff; color:#286ed5;}
.report-complete-button.primary{border:1px solid #286ed5; background:#286ed5; color:#fff;}

@media(max-width:480px){
	.portal-report-complete{padding:40px 14px 80px;}
	.report-complete-head h2{font-size:22px;}
}

.report-map-wrap{position:relative; overflow:hidden; width:100%; height:260px; margin-bottom:14px; border:1px solid #dce2e8; border-radius:9px; background:#eef1f4;}
.report-map{width:100%; height:100%;}
.report-map-center-pin{position:absolute; z-index:10; top:50%; left:50%; width:32px; height:42px; margin:-42px 0 0 -16px; pointer-events:none;}
.report-map-center-pin:before{content:""; position:absolute; top:0; left:3px; width:26px; height:26px; border:3px solid #fff; border-radius:50% 50% 50% 0; background:#e53935; box-shadow:0 2px 6px rgba(0,0,0,.25); transform:rotate(-45deg);}
.report-map-center-pin:after{content:""; position:absolute; top:9px; left:12px; width:8px; height:8px; border-radius:50%; background:#fff;}
.report-map-center-pin span{position:absolute; bottom:0; left:50%; width:12px; height:4px; margin-left:-6px; border-radius:50%; background:rgba(0,0,0,.18);}
.report-map-guide{position:absolute; z-index:9; right:10px; bottom:10px; left:10px; padding:8px 10px; border-radius:6px; background:rgba(255,255,255,.92); color:#626d78; font-size:14px; line-height:1.4; text-align:center; pointer-events:none;}

/* 주소검색 */
.report-postcode-wrap[hidden]{display:none;}
.report-postcode-wrap{width:100%; margin:12px 0 16px; overflow:hidden; border:1px solid #d9e0e7; border-radius:8px; background:#fff;}
.report-postcode-head{display:flex; align-items:center; justify-content:space-between; height:46px; padding:0 14px; border-bottom:1px solid #e4e8ec; background:#f7f9fb;}
.report-postcode-head strong{color:#333; font-size:14px; font-weight:700;}
.report-postcode-close{height:30px; padding:0 11px; border:1px solid #ccd5df; border-radius:5px; background:#fff; color:#59636d; font-size:14px; font-weight:600;}
.report-postcode-layer{width:100%; height:470px; min-height:400px; background:#fff;}

/* 사진 촬영 / 선택 */
.report-photo-buttons{display:flex; gap:8px; width:100%; margin-top:14px;}
.report-photo-buttons .report-photo-button{display:flex; flex:1; align-items:center; justify-content:center; height:46px; margin:0; border-radius:7px; font-size:14px; font-weight:700; cursor:pointer;}
.report-photo-buttons .report-photo-button.camera{border:1px solid #286ed5; background:#286ed5; color:#fff;}
.report-photo-buttons .report-photo-button.gallery{border:1px solid #ccd5df; background:#fff; color:#4f5b67;}

@media(max-width:480px){
	.report-postcode-layer{height:430px; min-height:380px;}
}

.report-qr-auto-result{margin-top:12px; padding:12px 14px; border:1px solid #c9ddf8; border-radius:7px; background:#f4f8fe;}
.report-qr-auto-result strong{display:block; color:#1765c5; font-size:14px; font-weight:700;}
.report-qr-auto-result p{margin:4px 0 0!important; color:#4f5c6a!important; font-size:14px!important;}
.report-qr-modal{display:none; position:fixed; z-index:10000; inset:0; align-items:center; justify-content:center; padding:20px; box-sizing:border-box;}
.report-qr-modal.open{display:flex;}
.report-qr-modal-dim{position:absolute; z-index:1; inset:0; background:rgba(15,25,38,.65);}
.report-qr-modal-box{position:relative; z-index:2; width:100%; max-width:480px; overflow:hidden; border-radius:14px; background:#fff; box-shadow:0 12px 35px rgba(0,0,0,.25);}
.report-qr-modal-head{display:flex; align-items:flex-start; justify-content:space-between; gap:15px; padding:19px 20px 16px; border-bottom:1px solid #e5e9ee;}
.report-qr-modal-head h3{margin:0; color:#222a34; font-size:18px; font-weight:700;}
.report-qr-modal-head p{margin:5px 0 0; color:#7d8792; font-size:14px; line-height:1.5;}
.report-qr-modal-close{width:32px; height:32px; padding:0; border:0; background:none; color:#697481; font-size:27px; line-height:30px; cursor:pointer;}
.report-qr-camera{
	position:relative;
	width:100%;
	aspect-ratio:1/1;
	overflow:hidden;
	background:#111;
}

/* html5-qrcode 카메라 렌더링 영역 */
.report-qr-reader{
	position:absolute;
	z-index:1;
	top:0;
	left:0;
	width:100%;
	height:100%;
	overflow:hidden;
	background:#111;
	touch-action:none;
}

/* html5-qrcode가 내부에서 생성하는 video */
.report-qr-reader video{
	display:block !important;
	width:100% !important;
	height:100% !important;
	object-fit:cover !important;
}

/* html5-qrcode 내부 canvas */
.report-qr-reader canvas{
	max-width:100%;
}

/* QR 인식 가이드 */
.report-qr-scan-frame{
	position:absolute;
	z-index:5;
	top:50%;
	left:50%;
	width:62%;
	aspect-ratio:1/1;
	transform:translate(-50%,-50%);
	border:2px solid rgba(255,255,255,.9);
	border-radius:12px;
	box-shadow:0 0 0 999px rgba(0,0,0,.22);
	pointer-events:none;
}

.report-qr-scan-frame span{
	position:absolute;
	top:50%;
	left:8%;
	right:8%;
	height:2px;
	background:rgba(255,255,255,.9);
}
.report-qr-status{padding:12px 18px; background:#f5f8fc; color:#53606e; font-size:14px; text-align:center;}
.report-qr-modal-actions{display:flex; justify-content:flex-end; padding:13px 20px 17px; border-top:1px solid #e5e9ee;}
.report-qr-close-button{min-width:80px; height:36px; border:1px solid #ccd4de; border-radius:5px; background:#fff; color:#596573; font-size:14px; cursor:pointer;}
.report-qr-modal-open{overflow:hidden;}
.report-form-field select.qr-applied,.report-form-field input.qr-applied{border-color:#3974d9!important; box-shadow:0 0 0 3px rgba(57,116,217,.12)!important; transition:border-color .2s,box-shadow .2s;}


.report-image-preview-item{position:relative;}
.report-image-delete{position:absolute; top:6px; right:6px; z-index:2; display:flex; align-items:center; justify-content:center; width:28px; height:28px; padding:0; border:0; border-radius:50%; background:rgba(0,0,0,.65); color:#fff; font-size:20px; line-height:1; cursor:pointer;}

@media(max-width:600px){
	.report-qr-modal{padding:12px;}
	.report-qr-modal-box{max-width:none;}
	.report-qr-modal-head{padding:16px;}
	.report-qr-camera{aspect-ratio:1/1.05;}
}

.report-process-guide{
	margin-top:14px;
	padding-top:14px;
	border-top:1px solid #dde3ea;
}

.report-process-guide-title{
	display:block;
	margin-bottom:7px;
	color:#333d48;
	font-size:13px;
	font-weight:700;
}

.report-process-guide p{
	margin:3px 0;
	color:#687381;
	font-size:12px;
	line-height:1.6;
}