@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

/* 모달창 스타일 */
.welcome-modal-background {
    display: none;
    /* 기본값은 숨김 - JavaScript에서 제어 */
    position: fixed;
    z-index: 9999;
    /* 다른 요소보다 위에 표시되도록 높은 z-index 값 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

/* 모달 표시용 클래스 */
welcome-modal-background.show {
    display: flex;
}

/* 모달 컨텐츠 */
.welcome-modal-content {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 580px;
    border: 1px solid #fff;
    border-radius: 5px;
    overflow: hidden;
}

/* 모달 본문 */
.welcome-modal-body {
    background-color: black;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

/* 모달 제목 */
.welcome-modal-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    z-index: 2;
}

/* 서비스 이름 */
.welcome-modal-service-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f15a29;
    position: relative;
    z-index: 2;
}

/* 모달 텍스트 */
.welcome-modal-text {
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 16px;
    word-break: keep-all;
    position: relative;
    z-index: 2
}

/* 주황색 강조 */
.welcome-modal-text strong {
    color: #ee6344;
    /* 브랜드 주황 */
}

/* 버튼 스타일 */
.action-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

.action-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 푸터 스타일 */
.welcome-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

/* 오늘 하루 보지 않기 체크박스 */
.hide-today {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.hide-today input {
    margin-right: 8px;
}

/* 닫기 버튼 */
.welcome-modal-close-btn {
    padding: 7px 15px;
    background-color: transparent;
    color: #333;
    border: none;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

/* 모달 배경 이미지 */
.welcome-modal-image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../resource/welcome_modal.webp');
    /* 구급차 이미지 경로, 실제 경로로 변경 필요 */
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}