/* =========================================================
   health9484 Landing Page — main.css (리디자인 2026-05-24)
   Primary #1a3a6b | Teal #0d9488
   ========================================================= */

/* 메인 배경 */
#content {
    height: 100vh;
    overflow: hidden;
    margin: 0 auto !important;
    text-align: center;
    position: relative;
    background: linear-gradient(160deg, #1a3a6b 0%, #0b1f3a 65%, #091629 100%);
}
#content .wrap {
    padding: 0 10%;
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

/* 타이틀 */
#content .tit {
    font-size: 46px;
    line-height: 1.4;
    color: #fff;
    font-weight: 800;
    margin-top: 0;
    letter-spacing: -1.5px;
}
#content .tit::before {
    content: "";
    display: block;
    width: 52px;
    height: 52px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230d9488'%3E%3Cpath d='M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-7 3a1 1 0 0 1 1 1v2h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 0v-2H9a1 1 0 0 1 0-2h2V7a1 1 0 0 1 1-1z'/%3E%3C/svg%3E") center/contain no-repeat;
    margin: 0 auto 16px;
}

/* 버튼 */
#content .btns {
    margin-top: 44px;
}
#content .btns > li {
    margin: 14px 0;
}
#content .btns > li a {
    display: block;
    height: 58px;
    line-height: 58px;
    border-radius: 58px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.2s;
    text-decoration: none;
}
/* 고객용 버튼 — teal */
#content .btns > li:first-child a {
    background: #0d9488;
    color: #fff;
    box-shadow: 0 4px 18px rgba(13,148,136,0.45);
}
#content .btns > li:first-child a:hover {
    background: #0a7a70;
    transform: translateY(-2px);
}
/* 관리자용 버튼 — ghost */
#content .btns > li:last-child a {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.25);
}
#content .btns > li:last-child a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* =========================================================
   모달
   ========================================================= */
#modal .modal-dialog {
    border-radius: 10px;
    overflow: hidden;
}
#modal .modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
#modal .modal-header {
    background: #1a3a6b;
    padding: 18px 24px;
    border-bottom: none;
}
#modal .modal-header .modal-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}
#modal .modal-header .close {
    color: #fff;
    opacity: 0.6;
    text-shadow: none;
    font-size: 26px;
    margin-top: -2px;
}
#modal .modal-header .close:hover { opacity: 1; }

#modal .modal-body {
    padding: 0;
    text-align: center;
    padding-top: 40px;
}
#modal .modal-body .title {
    font-size: 22px;
    line-height: 1.5;
    color: #1a3a6b;
    font-weight: 800;
    letter-spacing: -0.5px;
}
#modal .modal-body .desc {
    margin-top: 10px;
    color: #64748b;
    line-height: 1.5;
    font-size: 13px;
}
#modal .modal-body .search {
    border-top: 1px solid #e8edf5;
    font-size: 0;
    height: 56px;
    line-height: 56px;
    box-sizing: border-box;
    margin-top: 36px;
}
#inputVal {
    font-size: 15px;
    border: 0 none;
    height: 100%;
    padding: 0 16px;
    width: calc(100% - 90px);
    box-sizing: border-box;
    color: #1a3a6b;
    outline: none;
}
#inputBtn {
    border: 0 none;
    padding: 0;
    cursor: pointer;
    background: #1a3a6b;
    font-size: 15px;
    height: 100%;
    color: #fff;
    width: 90px;
    font-weight: 700;
    transition: background 0.2s;
    border-radius: 0 0 10px 0;
}
#inputBtn:hover { background: #0b2a52; }

/* =========================================================
   모바일
   ========================================================= */
@media screen and (max-width: 420px) {
    #content .tit { font-size: 36px; letter-spacing: -1px; }
    #content .btns > li a { height: 52px; line-height: 52px; font-size: 15px; }
    #content .btns > li { margin: 12px 0; }
    #content .btns { margin-top: 36px; }
    #content .wrap { padding: 0 7%; }
}
