@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');
:root {--primary:#1a4ca1;--primary-dark:#0e3b87;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#ff5252;--orange:#ff7f45;--purple:#8957e5;--light:#f8f9fa;--dark:#343a40;--red:#e74c3c;}
html {height:100%;}
body {font-family:'Noto Sans KR', sans-serif;background-color:#f4f6f9;color:#333;word-break:keep-all;height:100%;}
ul {list-style:none;padding:0;margin:0;}
.dis-f {display:flex;}
.txt-Wsm {font-weight:300;margin-top:-5px;}

.txt-spacing1 {letter-spacing:-1px;}
.txt-acc {font-weight:bold;color:#1EC29C;}
.check-txt {font-size:13px;letter-spacing: -0.7px;}

.mgr5 {margin-right:5px;}
.mgr10 {margin-right:10px;}
.mgr15 {margin-right:15px;}
.mgr20 {margin-right:20px;}
.mgr25 {margin-right:25px;}

.mgb30 {margin-bottom:30px !important;}

.mgt50 {margin-top:50px;}

.pdb10 {padding-bottom:10px !important;}

.cartoon-btbox {display:flex;flex-wrap:wrap;justify-content: flex-end;align-items:center;}
.cartoon-btbox p {font-weight:bold;font-size:14px;margin-bottom:0;}
.cartoon-btbox .bt-box {display:flex;margin-left:7px;}
.bt-st {border:1px solid #ddd;background:#fff;transition:all 0.3s;font-size:15px;border-radius:50px;padding:6.25px 10px;box-sizing:border-box;}
.bt-st:hover {transform:translateY(-2px);}

.main-bt {display: inline-block;background: linear-gradient(135deg, var(--orange), #e05a1c);color: white;font-size: 1.2rem;font-weight: 700;padding: 1rem 0;width:310px;border-radius: 50px;text-decoration: none;box-shadow: 0 5px 15px rgba(48, 48, 48, 0.4);transition: all 0.3s ease;position: relative;overflow: hidden;border: none;}
.main-bt:hover {transform: translateY(-3px);box-shadow: 0 8px 25px rgba(48, 48, 48, 0.5);color: white;}
.main-bt:active {transform: translateY(-1px);box-shadow: 0 4px 15px rgba(48, 48, 48, 0.4);}
.main-bt:after {content: '';position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: rgba(255, 255, 255, 0.15);transform: scaleX(0);transform-origin: right;transition: transform 0.5s ease;}
.main-bt:hover::after {transform: scaleX(1);transform-origin: left;}

.main-bt2 {display: inline-block;background: linear-gradient(135deg, #20c997, #17a2b8);color: white;font-size: 1.2rem;font-weight: 700;padding: 1rem 0;width:310px;border-radius: 50px;text-decoration: none;box-shadow: 0 5px 15px rgba(48, 48, 48, 0.4);transition: all 0.3s ease;position: relative;overflow: hidden;border: none;}
.main-bt2:hover {transform: translateY(-3px);box-shadow: 0 8px 25px rgba(48, 48, 48, 0.5);color: white;}
.main-bt2:active {transform: translateY(-1px);box-shadow: 0 4px 15px rgba(48, 48, 48, 0.4);}
.main-bt2:after {content: '';position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: rgba(255, 255, 255, 0.15);transform: scaleX(0);transform-origin: right;transition: transform 0.5s ease;}
.main-bt2:hover::after {transform: scaleX(1);transform-origin: left;}


.cartoonBT {display:block;font-size:13px;position:relative;padding-left:27px;font-weight:bold;color:#000;}
.cartoonBT:before {content:'';background:url(/images/front/cartoon-icon.png)no-repeat;display:inline-block;width:17px;height:21px;background-size:85%;position:absolute;left:10px;}

.popup_layer {position:fixed;top:0;left:0;z-index:9999; width:100%; height:100%; background-color:rgba(0, 0, 0, 0.7);}
.popup {background:#fff;width:900px;height:90%;top:50%;left:50%;transform:translate(-50%,-50%);position:absolute;display:none;}

.popup .modal-img {width:100%;}
.popup .pop-hd {background:#1a4ca1;padding:15px 20px;position:fixed;width:100%;font-weight: 800;font-size:27px;color:#fff;display: flex;align-items: center;}
.popup .pop-hd .close {position:absolute;right:20px;}
.popup .pop-hd .close img {vertical-align: 3px;}
.popup .pop-content {overflow-y:auto;height:calc(100% - 70.5px);margin-top:70.5px;}
.popup .pop-content iframe {height:500px;}
.popup.videoH {height:570.5px !important;}
.popup.videoH .pop-content {overflow:hidden;}

.stop-scroll {overflow-y:scroll;position:fixed;width:100%;}
.material-icons {color:#111;}

/* 로고 영역 */
.logo-wrap {display:flex;align-items:center;margin-bottom:15px;}
.logo {height:36px;width:auto;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));}
.logo-divider {width:1px;height:24px;background-color:rgba(255, 255, 255, 0.3);margin:0 15px;}
.logo-text {font-size:0.8rem;color:rgba(255, 255, 255, 0.95);font-weight:500;letter-spacing:0.5px;}

/* 헤더 콘텐츠 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800&family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

#main-screen {height: 100%;display: flex;flex-wrap: wrap;align-content: space-between;}
.header {width:100%;position:relative;background:linear-gradient(135deg, #0a2e6b 0%, #1a4ca1 50%, #336ac2 100%);color:white;box-shadow:0 4px 25px rgba(0, 0, 0, 0.2);padding:30px 0;border-bottom:1px solid rgba(255, 255, 255, 0.1);}
.header::before {content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1.5'/%3E%3Ccircle cx='13' cy='13' r='1.5'/%3E%3Ccircle cx='13' cy='3' r='1.5'/%3E%3Ccircle cx='3' cy='13' r='1.5'/%3E%3C/g%3E%3C/svg%3E");opacity:0.3;z-index:1;}

.main-title {font-size:3.5rem;font-weight: 800;margin-bottom: 2rem;text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);letter-spacing: -0.5px;line-height: 1.2;}

.main-header-content {width:100%;position: relative;height: 70vh;overflow: hidden;background: linear-gradient(135deg, rgba(10, 46, 107, 0.95) 0%, rgba(26, 76, 161, 0.95) 100%);display: flex;align-items: center;justify-content: center;text-align: center;color: white;padding: 4rem 2rem;}


.header-content {position:relative;z-index:2;text-align:center;}
.header-logo-container {display:flex;justify-content:center;}
.header-title {font-family:'Noto Sans KR', sans-serif;font-weight:800;font-size:2.2rem;margin-bottom:12px;text-shadow:0 3px 5px rgba(0, 0, 0, 0.35);letter-spacing:-0.5px;line-height:1.3;margin-top:20px;}
.header-subtitle {font-family:'Noto Sans KR', sans-serif;font-size:1.3rem;opacity:0.95;margin-bottom:6px;text-shadow:0 2px 3px rgba(0, 0, 0, 0.3);font-weight:600;letter-spacing:-0.2px;line-height:1.5;}
.header-description {font-size:0.95rem;opacity:0.9;text-shadow:0 1px 2px rgba(0, 0, 0, 0.3);}

.sub-headBOX {display:flex;justify-content:space-between;}

/* 메인 콘텐츠 영역 */
.main-content {width:100%;position:relative;z-index:10;padding:35px;}
.main-btBOX {display: flex;justify-content: center;margin-top:60px}
.main-info-section {width:100%;height:30vh;background-color: white;display: flex;align-items: center;justify-content: center;padding: 2rem;box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);}
.main-info-section .main-info-cards {display: flex;justify-content: center;gap: 2rem;flex-wrap: wrap;}
.main-info-section .main-info-card {flex: 1;min-width: 250px;max-width: 350px;background-color: #fff;border-radius: 12px;overflow: hidden;box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);transition: transform 0.3s ease, box-shadow 0.3s ease;padding: 1.5rem;}
.main-info-section .main-info-card:hover {transform: translateY(-5px);box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);}
.main-info-section .main-info-card-icon {width: 60px;height: 60px;display: flex;align-items: center;justify-content: center;margin-bottom: 1rem;border-radius: 12px;color: white;font-size: 1.5rem;}
.main-info-section .info-icon-1 {background: linear-gradient(135deg, #1a4ca1, #3572e3);}
.main-info-section .info-icon-2 {background: linear-gradient(135deg, #17a2b8, #20c997);}
.main-info-section .info-icon-3 {background: linear-gradient(135deg, #8957e5, #9966cc);}
.main-info-section .info-card-title {font-size: 1.2rem;font-weight: 700;color: #333;margin-bottom: 0.5rem;}
.main-info-section .info-card-text {font-size: 0.95rem;color: #6c757d;line-height: 1.5;}

.title-section {background-color:#fff;border-radius:10px;padding:15px 20px;margin-bottom:20px;box-shadow:0 3px 15px rgba(0, 0, 0, 0.05);border-left:5px solid var(--primary);}

.title-section h2 {color:var(--primary);font-size:1.2rem;font-weight:700;margin-bottom:0;}

/* 카드 스타일링 */
.card {border:none;border-radius:10px;box-shadow:0 3px 15px rgba(0, 0, 0, 0.05);transition:transform 0.3s, box-shadow 0.3s;height:100%;overflow:hidden;}
.card:hover {transform:translateY(-5px);box-shadow:0 8px 25px rgba(0, 0, 0, 0.1);}
.card-header {background-color:transparent;border-bottom:none;padding:10px 20px;display:flex;align-items:center;}
.card-icon {width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:15px;color:white;font-size:1.2rem;box-shadow:0 5px 15px rgba(0, 0, 0, 0.1);}
.icon-blue {background:linear-gradient(135deg, #3572e3, #1a4ca1);}
.icon-orange {background:linear-gradient(135deg, #ff9966, #ff7f45);}
.icon-teal {background:linear-gradient(135deg, #20c997, #17a2b8);}
.icon-purple {background:linear-gradient(135deg, #9966cc, #8957e5);}
.icon-red {background:linear-gradient(135deg, #ff6b6b, #ff5252);}
.card-title {font-weight:700;font-size:1rem;color:#17a2b8;margin:0;}
.card-subtitle {font-size:0.85rem;color:#6c757d;margin-top:3px;}
.card-body {padding:10px 20px 20px 20px;display:flex;flex-direction:column;flex-grow:1;}
.card-body .btn {padding-right:0;padding-left:0;}
.card-text {font-size:0.9rem;color:#555;margin-bottom:15px;flex-grow:1;}

/* 버튼 스타일링 */
.btn-action {border-radius:50px;padding:8px 20px;font-weight:600;font-size:0.9rem;text-transform:none;display:flex;align-items:center;justify-content:center;transition:all 0.3s;}
.btn-action:hover {transform:translateY(-2px);}
.btn-action i {margin-left:5px;}
.btn-blue {background:linear-gradient(135deg, #3572e3, #1a4ca1);border:none;color:white;}
.btn-orange {background:linear-gradient(135deg, #ff9966, #ff7f45);border:none;color:white;}
.btn-teal {background:linear-gradient(135deg, #20c997, #17a2b8);border:none;color:white;}
.btn-purple {background:linear-gradient(135deg, #9966cc, #8957e5);border:none;color:white;}
.btn-red {background:linear-gradient(135deg, #e74c3c, #c0392b);border:none;color:white;}

/* 알림 스타일링 */
.alert-custom {background-color:#fff2f2;border-left:4px solid #ff5252;border-radius:10px;box-shadow:0 3px 15px rgba(0, 0, 0, 0.05);}
.alert-icon {width:40px;height:40px;background:linear-gradient(135deg, #ff6b6b, #ff5252);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:15px;color:white;font-size:1.2rem;box-shadow:0 4px 10px rgba(0, 0, 0, 0.1);}
.alert-custom .txtbox {width:calc(100% - 55px);}
.alert-title {font-weight:700;color:#ff5252;margin-bottom:5px;font-size:1rem;}
.alert-text {color:#555;font-size:0.9rem;margin:0;}

/* 푸터 스타일링 */
.footer {width:100%;background:linear-gradient(135deg, #0a2e6b 0%, #1a4ca1 50%, #336ac2 100%);color:white;padding:20px 0;text-align:center;font-size:0.8rem;position:relative;overflow:hidden;}
.footer::before {content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1.5'/%3E%3Ccircle cx='13' cy='13' r='1.5'/%3E%3Ccircle cx='13' cy='3' r='1.5'/%3E%3Ccircle cx='3' cy='13' r='1.5'/%3E%3C/g%3E%3C/svg%3E");opacity:0.2;z-index:1;}
.contact-info {margin:10px 0;opacity:0.8;position:relative;z-index:2;}
.copyright {position:relative;z-index:2;}

/* 자가문진 페이지 스타일 - 헤더 색상 유지하면서 디자인 통일 */
.self-check-header {background:linear-gradient(135deg, #e65c00 0%, #ff7f45 50%, #ffad86 100%);}
.progress {height:0.6rem;border-radius:10px;}
.progress-bar {background:linear-gradient(to right, #ff9966, #ff7f45);}
.symptom-card {border-radius:10px;box-shadow:0 2px 10px rgba(0, 0, 0, 0.05);margin-bottom:15px;}
.symptom-card .card-header {background-color:rgba(255, 127, 69, 0.1);color:#ff7f45;font-weight:600;}

.symptom-card label {width:33.33%;}

label > input[type="checkbox"] {display:none;}
label > input[type="checkbox"] + *::before {content:url("/images/front/bg_chk_off.png");display:inline-block;vertical-align:-5px;margin-right:0.3rem;}
label > input[type="checkbox"]:checked + * {/* color:teal; */}
label > input[type="checkbox"]:checked + *::before {content:url("/images/front/bg_chk_on.png");color:white;text-align:center;}

.btn-outline-symptom {border:1px solid #dee2e6;color:#495057;background-color:#f8f9fa;transition:all 0.2s;width:33.333%;}
.btn-outline-symptom:hover, .btn-outline-symptom.active {background-color:#ff7f45;color:white;border-color:#ff7f45;}
.btn-submit {background:linear-gradient(135deg, #ff9966, #ff7f45);color:white;border:none;border-radius:50px;padding:12px 30px;font-weight:600;box-shadow:0 4px 10px rgba(255, 127, 69, 0.3);transition:all 0.3s;}
.btn-submit:hover {transform:translateY(-2px);box-shadow:0 6px 15px rgba(255, 127, 69, 0.4);}

.btn-group {flex-wrap:wrap;}

.card-body.check4 .btn-outline-symptom {width:25%;}

.card-body.check6 .btn-group {flex-wrap:wrap;}
.card-body.check6 .btn-group .btn:nth-child(2) {border-radius:0.375rem 0 0 0;}
.card-body.check6 .btn-group .btn:nth-child(4) {border-radius:0 0 0 0;}
.card-body.check6 .btn-group .btn:nth-child(6) {border-radius:0 0.375rem 0 0;}
.card-body.check6 .btn-group .btn:nth-child(8) {border-radius:0 0 0 0.375rem;margin-left:0;margin-top:calc(var(--bs-border-width) * -1);}
.card-body.check6 .btn-group .btn:nth-child(10) {border-radius:0 0 0 0;margin-top:calc(var(--bs-border-width) * -1);}
.card-body.check6 .btn-group .btn:nth-child(12) {border-radius:0 0 0.375rem 0;margin-top:calc(var(--bs-border-width) * -1);}

/* 질병정보 페이지 스타일 - 헤더 색상 유지하면서 디자인 통일 */
.info-header {background:linear-gradient(135deg, #159285 0%, #17a2b8 50%, #20c997 100%);}
.info-section {background:white;border-radius:10px;padding:20px;margin-bottom:20px;box-shadow:0 2px 10px rgba(0, 0, 0, 0.05);}
.info-section h3 {color:#17a2b8;font-size:1.2rem;font-weight:700;margin-bottom:15px;padding-bottom:10px;border-bottom:2px solid rgba(23, 162, 184, 0.2);}
.info-icon {width:60px;height:60px;background:linear-gradient(135deg, #20c997, #17a2b8);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:15px;color:white;font-size:1.5rem;ox-shadow:0 3px 6px rgba(0, 0, 0, 0.1);}
.list-info {list-style-type:none;padding-left:0;margin :20px 0 0 0;}
.list-info li {position:relative;padding-left:1.5rem;margin-bottom:0.5rem;font-size:0.95rem;}
.list-info li::before {content:'•';position:absolute;left:0.5rem;color:#17a2b8;font-weight:bold;}
.btn-back {background:linear-gradient(135deg, #6c757d, #495057);color:white;border:none;border-radius:50px;font-weight:600;font-size:0.9rem;display:flex;align-items:center;justify-content:center;transition:all 0.3s;text-decoration:none;width:fit-content;width:34px;height:34px;}
.btn-back:hover {transform:translateY(-2px);color:white;}
/* .btn-back i {margin-right:5px;} */

/* 네비게이션 탭 스타일 */
.nav-pills .nav-link {color:#555;font-weight:500;padding:0.75rem 1rem;border-radius:50px;margin:0 5px;transition:all 0.3s;}
.nav-pills .nav-link.active {background-color:#17a2b8;color:white;box-shadow:0 4px 10px rgba(23, 162, 184, 0.3);}
.nav-pills .nav-link:hover:not(.active) {background-color:rgba(23, 162, 184, 0.1);}

/* 의심신고 관련 스타일 */
.report-header {background:linear-gradient(135deg, #c0392b 0%, #e74c3c 50%, #f39c12 100%);}
.report-header .header-title {text-shadow:0 3px 5px rgba(0, 0, 0, 0.4);}
.emergency-report-banner {background:linear-gradient(135deg, rgba(231, 76, 60, 0.9), rgba(192, 57, 43, 0.9));border-radius:10px;padding:15px 20px;margin-bottom:20px;color:white;box-shadow:0 4px 15px rgba(0, 0, 0, 0.1);position:relative;overflow:hidden;border:1px solid rgba(255, 255, 255, 0.1);}
.emergency-report-banner::before {content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1.5'/%3E%3Ccircle cx='13' cy='13' r='1.5'/%3E%3Ccircle cx='13' cy='3' r='1.5'/%3E%3Ccircle cx='3' cy='13' r='1.5'/%3E%3C/g%3E%3C/svg%3E");opacity:0.1;z-index:1;}
.emergency-report-content {position:relative;z-index:2;display:flex;align-items:center;}
.emergency-icon {width:50px;height:50px;min-width:50px;background-color:rgba(255, 255, 255, 0.15);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-right:15px;font-size:1.5rem;}
.emergency-text h4 {font-weight:700;font-size:1.2rem;margin-bottom:5px;}
.emergency-text p {margin-bottom:10px;font-size:0.9rem;opacity:0.9;}
.btn-emergency {background-color:white;color:#e74c3c;border:none;border-radius:50px;padding:8px 25px;font-weight:600;font-size:0.9rem;transition:all 0.3s;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(0, 0, 0, 0.1);}
.btn-emergency:hover {transform:translateY(-2px);box-shadow:0 6px 15px rgba(0, 0, 0, 0.15);background-color:#f8f9fa;}
.btn-emergency i {margin-left:5px;}
.required-label::after {content:'*';color:#e74c3c;margin-left:4px;}
.custom-file-upload {display:block;border:1px dashed #ddd;border-radius:10px;padding:20px;text-align:center;background-color:#f8f9fa;cursor:pointer;transition:all 0.3s;}
.custom-file-upload:hover {background-color:#e9ecef;border-color:#ced4da;}
.upload-icon {font-size:2rem;color:#6c757d;margin-bottom:10px;}

.btn-check+.btn:hover {background-color:#fff;border-color:#000;}

.btn-group-vertical>.btn, .btn-group>.btn {flex:unset;}
.fa-arrow-left:before {vertical-align:-2px;}

.educational-content {width:100%;display:grid;grid-template-columns:repeat(3, 1fr);gap:30px;}
.educational-content .edulinkbox {margin-bottom:0;text-align:center;padding:0;}
.educational-content .edulinkbox img {width:100%;}
.educational-content .edulinkbox a {display:inline-block;width:100%;height:100%;text-decoration:none;padding:20px;transition:all 0.3s;}
.educational-content .edulinkbox a:hover {transform:translateY(-2px);}
.educational-content .edulinkbox p {font-size:1rem;color:#000;font-weight:700;margin-top:15px;margin-bottom:0;}
.educational-content .edulinkbox p span {font-weight:400;}
.fa-shield-dog:before {font-size:27px;}

/* 모바일 최적화 */
@media (max-width:767.98px) {
.h-n {height:unset;}
.txt-Wsm {display:block;font-weight:300;margin-top:-5px;}

.logo {height:4.5vw;}
.header-logo-container {position:static;justify-content:center;margin-bottom:15px;}
.header-title {font-size:1.7rem;margin-top:0;}
.header-subtitle {font-size:1.05rem;}
.header-description {font-size:0.9rem;}
.logo-divider {height:20px;margin:0 10px;}
.logo-divider {height:20px;margin:0 10px;}
.card-container {margin-bottom:1rem;}
.card {margin-bottom:1rem;}
.card-header {padding:15px 15px 5px 15px;}
.card-icon {width:40px;height:40px;font-size:1rem;}
.nav-pills .nav-link {padding:0.5rem 0.75rem;font-size:0.8rem;margin:0 2px;}
.info-icon {width:40px;height:40px;font-size:1.2rem;}
.info-section h3 {font-size:1.1rem;}
.emergency-report-content {flex-direction:column;text-align:center;}
.emergency-icon {margin-right:0;margin-bottom:10px;}
.btn-outline-symptom {font-size:13px;}
.educational-content {grid-template-columns:repeat(1, 1fr);gap:30px;}
.popup {width:90%;}
.popup .pop-hd {font-size:20px;}
.popup .pop-content iframe {height:200px;}
.popup .pop-content {margin-top:59.5px;height:calc(100% - 59.5px);}

.popup.videoH {height: 284.5px !important;}
.popup.videoH .pop-content {margin-top:84.5px;}
.symptom-card label {width:50%;}
}


/* 태블릿 최적화 */
@media (min-width:768px) and (max-width:991.98px) {
.logo-container {padding:0 15px;}
.header-title {font-size:1.5rem;}
}