@charset "utf-8";

/* 기본 CSS */
body {
    background-color: #f8f8f8;
}
h3 {
    padding-bottom: 17px;
    font-size: 16px;
    font-weight: 600;
}
/* 접근성: 화면리더기용 skip */
.skip {
    position: absolute;
    left: -9999px;
}
/* width */
.headerwrap,
.containerwrap,
.footerwrap {
    width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}
/* footer */
#footer p {
    padding: 20px 0;
    color: #666;
    font-size: 12px;
}
/* header */
#header {
    min-width: 1220px;
    margin-bottom: 20px;
    border-bottom: 2px solid #0059a3;
    background-color: #fff;
}
.headerwrap {
    position: relative;
}
.headerwrap h1 {
    position: absolute;
    top: 15px;
    left: 25px;
}
.headerwrap h1 a {
    display: block;
}
.headerwrap h1 img {
    /* width: 320px; */
    vertical-align: top;
}

.util a.login {
    position: absolute;
    top: 10px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 100px;
    background-color: #ebf2f8;
    color: #0059a3;
    font-size: 12px;
    font-weight: 700;
}
/* 20251014 dropdown */
/* 기본 스타일 */
.gnb {
    padding-top: 13px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}
.gnb > ul {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    margin: 0;
    padding-left: 400px;
    list-style: none;
}
.gnb > ul > li {
    position: relative;
    line-height: 1.3;
}
.gnb > ul > li > a {
    display: block;
    padding: 20px 25px;
    border-bottom: 3px solid #fff;
    color: #111;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    cursor: pointer;
    font-size: 18px;
}
.gnb > ul > li:hover > a {
    color: #0066cc;
}
.gnb > ul > li.on > a {
    border-bottom-color: #0059a3;
}
/* 드롭다운 메뉴 */
.gnb ul ul {
    position: absolute;
    top: 100%;
    left: 3px;
    background-color: #fff;
    border-radius: 0 0 6px 6px;
    border: 1px solid #ddd;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 1000;
}
.gnb ul li:nth-child(2) ul {
    width: 162px;
}
.gnb ul li:nth-child(3) ul {
    width: 193px;
}
.gnb ul li:nth-child(4) ul {
    width: 143px;
}
.gnb ul ul li a {
    display: block;
    padding: 10px 20px 10px 25px;
    color: #000;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s;
}
.gnb ul ul li a:hover {
    background-color: #f0f6ff;
}
/* 마우스오버 시 드롭다운 표시 */
.gnb > ul > li:hover > ul {
    display: block;
}

/* =======================================================
   MAIN SECTION
======================================================= */
/* 중앙 정렬 및 가로 1220px 고정 컨테이너 */
.inner-container {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
}
.hero-section {
    position: relative;
    width: 100%;
    min-width: 1220px;
    text-align: center;
    margin-top: -20px;
    padding: 110px 20px 100px; /* 상하 여백 조절 */
    overflow: hidden; /* 필수: 배경이 확대될 때 영역 밖으로 삐져나가는 것을 막아줌 */
}
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #25557e url('../images/sec1_visual01.jpg') no-repeat center center / cover;
    animation: slowZoom 10s ease-in-out infinite alternate;
}
/* 서서히 확대되는 키프레임 애니메이션 */
@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}
/* 텍스트 영역 전체가 아래에서 위로 올라오도록 수정 */
.hero-text-wrap {
    position: relative;
    z-index: 1;
    opacity: 0; /* 처음엔 투명하게 */
    transform: translateY(30px); /* 원래 위치보다 30px 아래에서 대기 */
    animation: slideUpFade 1s ease-out forwards; /* 1초 동안 부드럽게 올라옴 */
}
/* 아래에서 위로 올라오면서 선명해지는 키프레임 */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-title {
    color: #ffffff;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 40px;
}
.hero-title strong {
    font-weight: 800;
}
.hero-text-wrap .title_en {
    padding-bottom: 30px;
}
.hero-text-wrap .title_en p {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    /* background-color: #fff; */
    border: 1px solid #fff;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
}
.hero-desc {
    display: inline-block;
    margin-bottom: 30px;
    padding: 30px 50px;
    border-radius: 15px;
    background-color: #0071da8a;
    color: #ffffff;
    font-size: 21px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-desc .text-yellow {
    color: #ffebaa;
    font-weight: 600;
}

/* === Menu Section (하단 카드 영역) === */
.menu-section {
    min-width: 1220px;
    padding: 50px 40px;
    background-color: #ffffff;
}

.menu-grid {
    display: grid;
    /* 기존 repeat(2, 1fr)에서 4개 한 줄로 변경 */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* 카드 사이 간격 */
}

/* 개별 카드 스타일 */
.menu-card {
    padding: 30px 20px 180px;
    border-radius: 10px;

    /* 배경 이미지 공통 속성 추가 */
    background-repeat: no-repeat;
    /* 텍스트와 겹치지 않게 우측 하단에 배치 (여백 조절 가능) */
    background-position: right 0 bottom 0;
    /* background-size: 120px; */
    position: relative;
    z-index: 1;
}
.menu-card:nth-child(1) {
    background-color: #e2e2e2;
    background-image: url('../images/sec2_img1.png');
}
.menu-card:nth-child(2) {
    background-color: #b8d0dc;
    background-image: url('../images/sec2_img2.png');
}
.menu-card:nth-child(3) {
    background-color: #84cbe9;
    background-image: url('../images/sec2_img3.png');
}
.menu-card:nth-child(4) {
    background-color: #afc4ff;
    background-image: url('../images/sec2_img4.png');
}

.card-header {
    margin-bottom: 20px;
}

.card-title {
    padding: 0 0 17px 7px;
    color: #212121; /* 파란색 제목 */
    font-size: 19px;
    font-weight: 600;
}

.btn-shortcut {
    display: inline-block;
    background-color: #ffffff;
    color: #494949;
    padding: 6px 16px;
    font-size: 14px;
    border-radius: 40px;
    font-weight: 500;
    transition: background 0.3s ease;
    text-decoration: none; /* 링크 밑줄 제거 */
}

.btn-shortcut:hover {
    background-color: #e6e6e6; /* 마우스 오버 시 약간 어둡게 */
}

/* 리스트 아이템 스타일 */
.card-list {
    list-style: none; /* 기본 불릿 제거 */
    padding-left: 4px;
    margin: 0;
}

.card-list li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 5px;
    color: #333;
    font-size: 14.4px;
    font-weight: 400;
    word-break: keep-all; /* 텍스트 줄바꿈 깔끔하게 */
    line-height: 1.4;
}

.card-list li:last-child {
    margin-bottom: 0;
}

/* 리스트 앞부분 사각형 불릿 기호 커스텀 */
.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background-color: #777777;
}

/* =============================================
   시스템 소개 CSS
   ============================================= */

/* container */
#container {
    min-width: 1220px;
    padding-bottom: 60px;
}

/* 공통 섹션 */
.si-section {
    margin-bottom: 16px;
}

/* -----------------------------------------------
   핵심 프로세스
----------------------------------------------- */
.si-process {
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 6px;
    padding: 40px 36px 30px;
}
.si-process-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 24px;
    border-bottom: none;
}
.si-process-list {
    display: flex;
    align-items: center;
    gap: 0;
}
/* 프로세스 카드 */
.si-process-card {
    flex: 1;
    border: 1px solid #dde3ea;
    border-radius: 6px;
    padding: 20px 20px 0 20px;
    background: #fff;
    overflow: hidden;
}
/* 카드 상단 헤더 */
.si-process-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
/* 아이콘 원형 */
.si-process-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: -4px;
}
.si-process-icon img {
    width: 17px;
    object-fit: contain;
}
.si-icon-blue {
    background-color: #c8dff7;
}
.si-icon-teal {
    background-color: #b6e0d8;
}
.si-icon-navy {
    background-color: #e0e8c5;
}

/* 번호 + 제목 */
.si-process-hd-text {
    flex: 1;
}
.si-process-num {
    font-size: 30px;
    font-weight: 700;
    color: #1565c0;
    line-height: 1;
    display: block;
    margin-bottom: 7px;
}
.si-process-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    margin-bottom: 2px;
}
.si-process-en {
    font-size: 13px;
    color: #666;
}

/* 설명 */
.si-process-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
    padding-left: 52px;
    font-weight: 500;
}

/* 카드 하단 이미지 */
.si-process-img {
    margin: 0 -20px;
    padding: 10px;
    background: #e8f0f8;
    height: 140px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.si-process-img img {
    /* width: 100%; */
    height: 100%;
    /* object-fit: cover; */
}

/* 화살표 */
.si-process-arrow {
    flex-shrink: 0;
    width: 40px;
    text-align: center;
    font-size: 22px;
    color: #aaa;
    font-weight: 300;
}

/* -----------------------------------------------
   인용 배너
----------------------------------------------- */
.si-quote {
    background-color: #1565c0;
    border-radius: 6px;
    padding: 22px 40px;
    text-align: center;
    position: relative;
}
.si-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: rgba(10, 60, 130, 0.78);
}
.si-quote p {
    position: relative;
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.3px;
}

/* -----------------------------------------------
   개요 텍스트
----------------------------------------------- */
.si-overview {
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 6px;
    padding: 36px 66px 41px;
}
.si-overview p {
    font-size: 14.5px;
    color: #333;
    line-height: 1.95;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}
.si-overview p:last-child {
    margin-bottom: 0;
}
p.si-overview-blue {
    color: #1565c0 !important;
    font-size: 13px;
}

/* -----------------------------------------------
   구축목적 / 주요기능 / 기대효과 공통
----------------------------------------------- */
.si-info {
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 6px;
    padding: 28px 36px 24px;
}

/* 섹션 제목 */
.si-info-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    padding-bottom: 18px;
    margin-bottom: 0;
    border-bottom: none;
}
/* 제목 앞 아이콘 (원형 파란 화살표) */
.si-info-icon {
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: url('../images/ico_section.png') center/27px no-repeat;
    flex-shrink: 0;
}

/* 리스트 */
.si-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 12px;
}
.si-info-list li {
    position: relative;
    padding: 9px 0 9px 22px;
    font-size: 14.5px;
    color: #333;
    line-height: 1.75;
    border-bottom: 1px solid #f0f3f7;
}
.si-info-list li:last-child {
    border-bottom: none;
}
/* 체크 아이콘 */
.si-info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 16px;
    height: 16px;
    background: url('../images/ico_check.png') center/contain no-repeat;
    border-radius: 50%;
}
.si-info-list li strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* =======================================================
   container SECTION
======================================================= */
.sectiongr {
    position: relative;
    box-sizing: border-box;
    border-radius: 7px;
    border: 1px solid #e2e2e2;
    background-color: #fff;
}
.sectiongr {
    margin-bottom: 30px;
}
.sectiongr h3 {
    padding: 15px 0 15px 18px;
    border-bottom: 1px solid #e2e2e2;
    font-size: 16px;
}
.srcharea {
    position: relative;
    box-sizing: border-box;
    height: 42px;
    padding: 12px 0 0 10px;
    border-bottom: 1px solid #d5d5d5;
    font-size: 12px;
    vertical-align: top;
}
.srcharea span {
    display: inline-block;
    padding: 0 8px 0 10px;
    border-right: 1px solid #ddd;
    color: #0059a3;
    font-size: 13px;
    font-weight: bold;
}
.srcharea select {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    margin-right: 30px;
    font-size: 13px;
}
.algn_r {
    position: absolute;
    top: 8px;
    right: 10px;
}
.tableWrapper {
    width: 1178px;
    height: 220px;
    margin: 0 auto;
    overflow: auto;
}
.listTable {
    width: 2260px;
    border: 0;
    border-collapse: collapse;
}
.watrTp_n .listTable {
    width: 2700px;
}
.listTable th {
    position: sticky;
    top: 0;
    padding: 7px 0;
    background-color: #ddeaf8;
    color: #111;
    font-size: 12px;
    line-height: 1.2;
    vertical-align: middle;
}
.listTable th span {
    font-size: 11px;
    font-weight: normal;
}
.listTable td {
    padding: 6px 0;
    border-bottom: 1px solid #f2f2f2;
    color: #222;
    font-size: 12px;
    text-align: center;
    vertical-align: middle;
}
.listTable th:first-child,
.listTable td:first-child {
    background-color: #f2f8ff;
}
.listTable td:first-child {
    position: sticky;
    left: 0;
    width: 80px;
}
.listTable td:nth-child(2) {
    width: 120px;
}
.listTable td:nth-child(3) {
    width: 80px;
}
.listTable td:nth-child(4) {
    width: 80px;
} /*읍면동*/
.listTable td:nth-child(5) {
    width: 80px;
} /**/
.listTable td:nth-child(6) {
    width: 100px;
} /*피해기간 시작일*/
.listTable td:nth-child(7) {
    width: 100px;
} /*피해기간 종료일*/
.listTable td:nth-child(8) {
    width: 80px;
} /*피해일수*/
.listTable td:nth-child(9) {
    width: 120px;
} /*피해내용, */
.listTable td:nth-child(10) {
    width: 80px;
} /*피해인구, */
.listTable td:nth-child(11) {
    width: 80px;
} /*급수인구, */
.listTable td:nth-child(12) {
    width: 80px;
} /*가뭄시 급수량, */
.listTable td:nth-child(13) {
    width: 80px;
} /*정상 급수량, */
.listTable th.type_fix {
    z-index: 1;
    position: sticky;
    left: 0;
    top: 0;
    background-color: #0059a3;
    color: #fff;
}
.listTable tr:hover {
    background-color: #fafafa;
}

section.mapdata {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}
.srch_map {
    position: relative;
    box-sizing: border-box;
    width: 600px;
    padding-left: 93px;
    background-color: #c7eafd;
}
.mapdata.watrTp_n .srch_map {
    background-color: #e0edcb;
} /*농업용수*/
.srch_map img {
    width: 400px;
}
.lingList a {
    position: absolute;
    top: 0;
    left: 0;
    color: #333;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: -1px;
}
.lingList a.on {
    color: darkred;
}
.lingList a.admn11 {
    top: 120px;
    left: 200px;
} /*서울특별시*/
.lingList a.admn21 {
    top: 366px;
    left: 390px;
} /*부산광역시*/
.lingList a.admn22 {
    top: 280px;
    left: 360px;
} /*대구광역시*/
.lingList a.admn23 {
    top: 130px;
    left: 144px;
} /*인천광역시*/
.lingList a.admn24 {
    top: 375px;
    left: 185px;
} /*광주광역시*/
.lingList a.admn25 {
    top: 248px;
    left: 240px;
} /*대전광역시*/
.lingList a.admn26 {
    top: 330px;
    left: 400px;
} /*울산광역시*/
.lingList a.admn29 {
    top: 223px;
    left: 219px;
} /*세종특별자치시*/
.lingList a.admn31 {
    top: 146px;
    left: 236px;
} /*경기도*/
.lingList a.admn32 {
    top: 100px;
    left: 300px;
} /*강원특별자치도*/
.lingList a.admn33 {
    top: 190px;
    left: 275px;
} /*충청북도*/
.lingList a.admn34 {
    top: 210px;
    left: 183px;
} /*충청남도*/
.lingList a.admn35 {
    top: 310px;
    left: 205px;
} /*전북특별자치도*/
.lingList a.admn36 {
    top: 403px;
    left: 200px;
} /*전라남도*/
.lingList a.admn37 {
    top: 220px;
    left: 360px;
} /*경상북도*/
.lingList a.admn38 {
    top: 350px;
    left: 320px;
} /*경상남도*/
.lingList a.admn39 {
    top: 482px;
    left: 337px;
} /*제주특별자치도*/

.srch_tbl {
    position: relative;
}
.srch_tbl h4 {
    padding: 16px 0 10px 2px;
    color: #0059a3;
    font-size: 14px;
}
.srch_tbl .entr {
    position: absolute;
    top: 10px;
    right: 10px;
}
.srch_tbl .entr span {
    font-size: 13px;
}
.srch_tbl .entr select {
    font-size: 12px;
}
.tblSl_wrap {
    width: 550px;
    height: 500px;
    margin: 0 auto;
    overflow: auto;
}
.tblSl_wrap table {
    width: 100%;
}
.tblSl_wrap th {
    position: sticky;
    top: 0;
    padding: 7px 6px;
    border-left: 1px solid #ffffff;
    background-color: #ddeaf8;
    color: #111;
    font-size: 12px;
    vertical-align: middle;
}
.tblSl_wrap th a.helpCmnt img {
    width: 15px;
    padding-left: 5px;
    vertical-align: middle;
}
.tblSl_wrap td {
    padding: 6px;
    border-left: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    color: #222;
    font-size: 12px;
    text-align: center;
    vertical-align: middle;
}
.tblSl_wrap td.tblItem {
    color: #0059a3;
}
.tblSl_wrap .dataAnal {
    display: flex;
    justify-content: space-around;
    width: 120px;
    text-align: center;
}
.tblSl_wrap .dataAnal span {
    display: block;
    width: 10px;
    height: 15px;
    border: 1px solid #ececec;
    background-color: #fff;
}
.tblSl_wrap .dataAnal span.color_fill {
    background-color: #2c974b;
}

/* =============================================
   물부족 잠재손실 분석
   ============================================= */

/* 공통 */
.tab_h4 {
    margin-bottom: 10px;
    background: #f7f9fc;
    border-bottom: 2px solid var(--gov-blue);
}
.tab_h4 ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.tab_h4 ul li a {
    display: block;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: #333;
    background: #fff;
    border: 1px solid var(--border-gray);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.tab_h4 ul li a:hover {
    background: var(--gov-lightblue);
    color: var(--gov-blue);
}
.tab_h4 ul li.on a {
    background: var(--gov-blue);
    color: #fff;
    font-weight: 600;
    border-color: var(--gov-blue);
    position: relative;
    z-index: 2;
}

/* -----------------------------------------------
   물부족 잠재손실 분석 > .loss_info 물부족 잠재손실 개념 및 절차
----------------------------------------------- */

/* ── 페이지 공통 레이아웃 ── */
.loss_info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    padding: 15px 1px 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid #dfdfdf;
}

/* ── sectiongr (loss_info 내부 한정) ── */
.loss_info .sectiongr {
    position: relative;
    box-sizing: border-box;
    border-radius: 7px;
    border: 1px solid #dde3ea;
    background-color: #fff;
    margin-bottom: 20px;
    padding: 30px 36px 36px;
}

/* sectiongr h4 : 섹션 대제목 */
.loss_info .sectiongr h4 {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid #dde3ea;
}

/* ── h5wrap ── */
.loss_info .h5wrap {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px dashed #e2e8f0;
}
.loss_info .h5wrap:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ── h5 제목 (.si-info-icon 공유) ── */
.loss_info .h5wrap h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}
.loss_info .h5wrap h5::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: url('../images/ico_section.png') center / 27px no-repeat;
    /* background-color: #0059a3; */
    flex-shrink: 0;
}

/* ── 본문 단락 ── */
.loss_info .h5wrap > p {
    font-size: 14.1px;
    font-weight: 500;
    color: #444;
    line-height: 1.9;
    margin-bottom: 5px;
    padding: 0 20px;
    letter-spacing: -0.2px;
}

/* ── box1 : 이미지 + 설명 가로 배치 ── */
.loss_info .box1 {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f4f8fd;
    border: 1px solid #d8e8f6;
    border-left: 4px solid #0059a3;
    border-radius: 0 6px 6px 0;
    padding: 8px 33px 8px 23px;
    margin-bottom: 18px;
}
.loss_info .box1 img {
    width: 110px;
    /* height: 90px; */
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background: #dde8f5;
}
.loss_info .box1 p {
    font-size: 14.5px;
    font-weight: 500;
    word-break: keep-all;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

/* ── ul 리스트 (.si-info-list 공유) ── */
.loss_info .h5wrap > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding: 0 25px;
}
.loss_info .h5wrap > ul > li {
    position: relative;
    padding: 8px 24px;
    font-size: 14.3px;
    color: #333;
    line-height: 1.8;
    border-bottom: 1px solid #f0f3f7;
    word-break: keep-all;
}
.loss_info .h5wrap > ul > li:last-child {
    border-bottom: none;
}
/* 체크 아이콘 (.si-info-list li::before 와 동일 이미지) */
.loss_info .h5wrap > ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 16px;
    height: 16px;
    background: url('../images/ico_check.png') center / contain no-repeat;
    border-radius: 50%;
    background-color: #0059a3;
}
.loss_info .h5wrap > ul > li em {
    font-style: normal;
    font-weight: 700;
    color: #0052a3;
}
/* ── box2 : 산정식 블록 ── */
.loss_info .box2 {
    display: block;
    margin: 14px 0 6px;
    padding: 14px 20px;
    background: #eef4fb;
    border: 1px solid #c8dcf0;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #0059a3;
    line-height: 1.7;
    text-align: center;
    letter-spacing: 0.2px;
}

/* ── table ── */
.loss_info table {
    width: 100%;
    margin-top: 16px;
    border-collapse: collapse;
    font-size: 13px;
}
.loss_info table thead th {
    background: #0059a3;
    color: #fff;
    font-weight: 600;
    padding: 10px 12px;
    text-align: center;
    border: 1px solid #004a8c;
    white-space: nowrap;
}
.loss_info table tbody td {
    padding: 10px 12px;
    border: 1px solid #dde3ea;
    color: #333;
    vertical-align: top;
    line-height: 1.6;
    text-align: center;
}
.loss_info table tbody td:first-child {
    background-color: #f4f8fd;
    font-weight: 700;
}
.loss_info table tbody td:nth-child(2) {
    font-weight: 700;
}
/* td 내 ul */
.loss_info table tbody td ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.loss_info table tbody td ul li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 4px;
    font-size: 12.5px;
    color: #444;
}
.loss_info table tbody td ul li::before {
    content: '·';
    position: absolute;
    left: 2px;
    color: #0059a3;
    font-weight: 700;
}
/* td 내 dl */
.loss_info table tbody td dl {
    margin-bottom: 10px;
    text-align: left;
}
.loss_info table tbody td dl:last-child {
    margin-bottom: 0;
}
.loss_info table tbody td dt {
    font-weight: 700;
    color: #1a3a5c;
    font-size: 12.5px;
    margin-bottom: 3px;
}
.loss_info table tbody td dd {
    font-size: 13.3px;
    color: #555;
    line-height: 1.65;
    padding-left: 4px;
}
/* 홀수행 배경 */
.loss_info table tbody tr:nth-child(even) td {
    background: #f9fbfd;
}

/* -----------------------------------------------
   물부족 잠재손실 분석 > .loss 물부족 잠재손실 산정
----------------------------------------------- */

:root {
    --gov-blue: #004080;
    --gov-lightblue: #e8f1fb;
    --border-gray: #d6dee8;
}
.loss .srcharea {
    padding-top: 8px;
}
input.calendar {
    width: 96px;
    border: 1px solid #b3b3b3;
    padding: 5px 7px;
    border-radius: 2px;
    background: url(../images/btn_calendar.gif) 88px 5px no-repeat;
    color: #111;
    font-size: 12px;
    cursor: pointer;
}
button.run {
    height: 28px;
    padding: 0 10px 0 28px;
    border: none;
    border-radius: 4px;
    background: #0055a2 url(../images/icon_run.png) 8px 6px no-repeat;
    color: #fff;
    cursor: pointer;
}
button.run:hover {
    background-color: #004080;
}
button.result {
    height: 28px;
    padding: 0 10px 0 28px;
    border: none;
    border-radius: 4px;
    background: #c5062c url(../images/icon_result.png) 8px 6px no-repeat;
    color: #fff;
    cursor: pointer;
}
button.result:hover {
    background-color: #e40430;
}
/*  */
.domestic_water_info {
    z-index: 2;
    position: absolute;
    top: 10px;
    left: 0;
    padding: 15px 44px 173px;
    background-color: #fff;
    text-align: center;
}
.industrial_water_info {
    z-index: 2;
    position: absolute;
    top: 10px;
    left: 0;
    padding: 15px 44px 157px;
    background-color: #fff;
    text-align: center;
}
.agricultural_water_info {
    z-index: 2;
    position: absolute;
    top: 10px;
    left: 0;
    padding: 15px 44px 223px;
    background-color: #fff;
    text-align: center;
}
/*  */
.conwrap {
    display: flex;
    flex-flow: row wrap;
    position: relative;
    min-height: 500px;
}
.conwrap p.tit {
    width: 100%;
    padding: 26px 0 8px 15px;
    font-weight: 500;
    font-size: 14px;
}
.conwrap .scenario-select {
    position: absolute;
    top: 11px;
    right: 9px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f8f4;
    border: 1px solid #a5d6a7;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 13px;
    color: #333;
}
.conwrap .scenario-select p {
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
    color: #1b5e20;
}
.conwrap .scenario-select select {
    height: 28px;
    font-size: 13px;
    padding: 3px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    color: #333;
}
.conwrap .scenario-select select:hover {
    border-color: #0077cc;
}
.conwrap .chart {
    width: 100%;
    box-sizing: border-box;
    height: 340px;
    margin: 10px;
    padding: 10px;
    border: 1px solid #ddd;
}
.conwrap .leftmap {
    box-sizing: border-box;
    width: 40%;
    padding: 10px 50px 20px 100px;
}
.conwrap .leftmap img {
    width: 100%;
}
/* = [1] 공통 영역 = */
.conwrap .rightcon,
.conwrap .rightAgri {
    box-sizing: border-box;
    position: relative;
    width: 60%;
    padding: 13px;
    display: flex;
    gap: 16px;
}
.conwrap .rightcon .wrap,
.conwrap .rightAgri .wrap {
    position: relative;
    box-sizing: border-box;
    background: #fff;
    flex: 1 1 50%;
}

/* = [2] 가정용수·업무용수·공업용수 공통 (rightcon) = */
.conwrap .rightcon p.num {
    padding-bottom: 12px;
    font-weight: normal;
    font-size: 13px;
}
.conwrap .rightcon p.num strong {
    color: #cc0000;
}
.conwrap .rightcon .total {
    position: relative;
    margin-bottom: 3px;
    display: inline-block;
    top: -3px;
    padding: 7px 16px 9px;
    border-radius: 5px;
    background-color: #0055a2;
    color: #fff;
    font-size: 13px;
    width: fit-content;
}
.conwrap .rightcon .wrap:nth-of-type(2) .total {
    background-color: #008f5d;
}
.conwrap .rightcon .total strong {
    font-size: 16px;
}

/* ▶ table 스타일 */
.conwrap .rightcon .table {
    overflow: hidden;
    box-sizing: border-box;
    background-color: #fff;
}
.conwrap .rightcon .table p.unit {
    padding-top: 5px;
    font-size: 11px;
    text-align: right;
}
.conwrap .rightcon .table .fixed-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid #cacaca;
}
.conwrap .rightcon .table .fixed-table th,
.conwrap .rightcon .table .fixed-table td {
    width: 50%;
    padding: 6px 8px;
    font-size: 12px;
    text-align: center;
    box-sizing: border-box;
    border: none;
}
.conwrap .rightcon .table .fixed-table th {
    background-color: #f0f2f6;
    border-bottom: 1px solid #ccc;
}
.conwrap .rightcon .table .fixed-table th:last-child {
    padding-right: 30px;
}
.conwrap .rightcon .table .fixed-table td {
    border-bottom: 1px solid #ddd;
}
.conwrap .rightcon .table .fixed-table thead,
.conwrap .rightcon .table .fixed-table tbody {
    display: block;
}
.conwrap .rightcon .table .fixed-table thead tr,
.conwrap .rightcon .table .fixed-table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.conwrap .rightcon .table .fixed-table tbody {
    height: 370px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}
.conwrap .rightcon .table .fixed-table tbody tr:hover {
    background-color: #fbfbfc;
}

/* ▶ 단일 wrap (비교 없음) */
.conwrap .rightcon:has(.wrap:only-child) {
    display: block;
}
.conwrap .rightcon:has(.wrap:only-child) .wrap {
    width: 100%;
}
.conwrap .rightcon:has(.wrap:only-child) .total {
    position: absolute;
    top: -10px;
    right: 0;
    width: fit-content;
}
.conwrap .rightcon:has(.wrap:only-child) .table .fixed-table tbody {
    height: 405px;
}

/* = [3] 농업용수 전용 (rightAgri) = */

/* ▶ 상단 정보(topwrap) */
.conwrap .rightAgri .topwrap {
    display: flex;
    flex-flow: row wrap;
}
.conwrap .rightAgri .top {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 10px;
}
.conwrap .rightAgri .num {
    padding-bottom: 12px;
    font-weight: normal;
    font-size: 13px;
}
.conwrap .rightAgri .num strong {
    color: #cc0000;
}
.conwrap .rightAgri .total {
    margin-bottom: 3px;
    display: inline-block;
    padding: 7px 16px 9px;
    border-radius: 5px;
    background-color: #0055a2;
    color: #fff;
    font-size: 13px;
    width: fit-content;
}
.conwrap .rightAgri .total strong {
    font-size: 16px;
}
.conwrap .rightAgri .top:nth-of-type(2) {
    padding-left: 30px;
}
.conwrap .rightAgri .top:nth-of-type(2) .total {
    background-color: #008f5d;
}
/* ▶ 단일 top (비교 없음) */
.conwrap .rightAgri:has(.top:only-child) .total {
    position: absolute;
    top: -10px;
    right: 0;
    width: fit-content;
}
/* ▶ table 스타일 */
.conwrap .rightAgri .table {
    overflow: hidden;
    box-sizing: border-box;
    background-color: #fff;
}
.conwrap .rightAgri .table p.unit {
    padding-top: 5px;
    font-size: 11px;
    text-align: right;
}
.conwrap .rightAgri .table .fixed-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid #cacaca;
}
.conwrap .rightAgri .table .fixed-table th,
.conwrap .rightAgri .table .fixed-table td {
    padding: 8px 2px;
    font-size: 12px;
    text-align: center;
    box-sizing: border-box;
    border: none;
    vertical-align: middle;
    line-height: 1.3;
}
.conwrap .rightAgri .table .fixed-table th {
    background-color: #f0f2f6;
    border-bottom: 1px solid #ccc;
}
.conwrap .rightAgri .table .fixed-table th:nth-child(1),
.conwrap .rightAgri .table .fixed-table td:nth-child(1) {
    width: 87px;
}
.conwrap .rightAgri .table .fixed-table th:nth-child(2),
.conwrap .rightAgri .table .fixed-table td:nth-child(2) {
    width: 75px;
}
.conwrap .rightAgri .table .fixed-table th:nth-child(3),
.conwrap .rightAgri .table .fixed-table td:nth-child(3) {
    width: 135px;
}
.conwrap .rightAgri .table .fixed-table th:nth-child(4),
.conwrap .rightAgri .table .fixed-table td:nth-child(4) {
    width: 87px;
}
.conwrap .rightAgri .table .fixed-table th:nth-child(5),
.conwrap .rightAgri .table .fixed-table td:nth-child(5) {
    width: 75px;
}
.conwrap .rightAgri .table .fixed-table th:nth-child(6),
.conwrap .rightAgri .table .fixed-table td:nth-child(6) {
    color: #0066cc;
    font-weight: bold;
}
.conwrap .rightAgri .table .fixed-table th:nth-child(7),
.conwrap .rightAgri .table .fixed-table td:nth-child(7) {
    color: #009130;
    font-weight: bold;
}
.conwrap .rightAgri .table .fixed-table th:last-child {
    padding-right: 20px;
}
.conwrap .rightAgri .table .fixed-table th span {
    font-weight: normal;
}
.conwrap .rightAgri .table .fixed-table td {
    border-bottom: 1px solid #ddd;
}
.conwrap .rightAgri .table .fixed-table thead,
.conwrap .rightAgri .table .fixed-table tbody {
    display: block;
}
.conwrap .rightAgri .table .fixed-table thead tr,
.conwrap .rightAgri .table .fixed-table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.conwrap .rightAgri .table .fixed-table tbody {
    height: 405px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}
.conwrap .rightAgri .table .fixed-table tbody tr:hover {
    background-color: #fbfbfc;
}

/* ▶ 단일 wrap (비교 없음) */
.conwrap .rightAgri:has(.wrap:only-child) {
    display: block;
}
.conwrap .rightAgri:has(.wrap:only-child) .wrap {
    width: 100%;
}

/* popup */
.popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1; /* 팝업보다 낮게 */
}
:root {
    --gov-blue: #004080;
    --gov-lightblue: #e8f1fb;
    --border-gray: #d6dee8;
    --text-gray: #333;
    --btn-blue: #0066cc;
    --btn-hover: #0052a3;
}
.popup {
    min-width: 552px;
    background: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    color: var(--text-gray);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 25px 30px;
    z-index: 1000;
    box-sizing: border-box;
}
.popup .closebtn {
    position: absolute;
    top: 10px;
    right: 10px;
}
.popup .closebtn button {
    background: none;
    border: none;
    cursor: pointer;
}
.popup p.tit {
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #111;
}
.form-field {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-bottom: 8px;
    padding: 8px 2px 1px;
    border-top: 1px solid #ddd;
}
.form-label {
    min-width: 73px;
    font-size: 14px;
    color: #111;
    font-weight: 500;
}
.form-input {
    flex: 1;
    padding: 6px 8px;
    border: 1px solid #bbbbbb;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 13px;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.form-input:focus {
    border-color: #2c6ed5;
    outline: none;
}

.popup .date {
    background: var(--gov-lightblue);
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.popup .date span {
    font-weight: 600;
    color: var(--gov-blue);
}
.popup .damwrap {
    display: flex;
}
.popup .damwrap .pcs {
    position: relative;
    padding: 5px;
}
.popup .damname {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 600;
}
.popup .damname a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: 0.2s;
}
.popup .damname a.on,
.popup .damname a:hover {
    background: var(--gov-blue);
    color: #fff;
    border-color: var(--gov-blue);
}
.popup .btnarea {
    position: absolute;
    top: 0;
    right: 5px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}
.popup .btnarea button {
    padding: 6px 14px;
    border: 1px solid var(--border-gray);
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
}
.popup .btnarea button:hover {
    background: var(--gov-lightblue);
}
.popup table {
    width: 500px;
    border-collapse: collapse;
    border: 1px solid var(--border-gray);
    font-size: 12px;
    table-layout: fixed;
}
.popup thead {
    background: var(--gov-blue);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
    font-size: 13px;
    font-weight: 400;
}
.popup th,
.popup td {
    border: 1px solid var(--border-gray);
    text-align: center;
    vertical-align: middle;
    padding: 6px 4px;
    box-sizing: border-box;
    word-break: keep-all;
}
.popup tbody {
    display: block;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}
.popup thead,
.popup tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.popup td input[type='text'] {
    width: 90%;
    padding: 3px;
    border: 1px solid var(--border-gray);
    border-radius: 3px;
    text-align: center;
    font-size: 12px;
    box-sizing: border-box;
}
.popup .btnsave {
    text-align: center;
    margin-top: 15px;
}
.popup .btnsave button {
    background: var(--btn-blue);
    color: #fff;
    border: none;
    padding: 10px 40px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}
.popup .btnsave button:hover {
    background: var(--btn-hover);
}

/* loading_text */
/* 전체 화면 덮는 반투명 검정 배경 */
#loading-overlay {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0; 와 동일 */
    /* background: rgba(0, 0, 0, 0.5); */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2147483647; /* 가장 위로 */
}

/* 가운데 흰색 박스 */
.loading-box {
    width: 300px;
    height: 100px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
}

/* 오버레이가 뜰 때 스크롤 방지 (선택사항) */
body.lock-scroll {
    overflow: auto;
}
/* login */
/* 로그인 컨테이너 */
.login-box {
    width: 360px;
    margin: 80px auto;
    padding: 40px 35px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 제목 */
.login-box h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
}

/* 입력 그룹 */
.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #000;
    font-size: 14px;
    outline: none;
}
input::placeholder {
    color: #abb4bd;
}

input::-webkit-input-placeholder {
    color: #abb4bd;
}

input:-ms-input-placeholder {
    color: #abb4bd;
}
.input-group input:focus {
    border-color: #4b6cb7;
}

/* 로그인 버튼 */
.login-btn {
    width: 100%;
    padding: 12px;
    background: #4b6cb7;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #395591;
}

/* 추가 링크 */
.extra {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #555;
}

.extra a {
    color: #4b6cb7;
    text-decoration: none;
}

.extra a:hover {
    text-decoration: underline;
}
