@charset "utf-8";

html{box-sizing:border-box}
*,*::after,*::before{box-sizing:inherit}
html,body,hgroup,h1,h2,h3,h4,h5,h6,dl,dt,dd,ol,ul,li,p,blockquote,pre,abbr,form,fieldset,legend,label,input,select,textarea,button,table,caption,thead,tbody,tfoot,tr,th,td{padding:0;margin:0}
table{border-collapse:collapse;border-spacing:0}
fieldset,iframe,img{border:0}
dl,ol,ul,li{list-style:none}
a{color:inherit;text-decoration:none}
a:hover,a:active,a:focus{text-decoration:underline}
button{border:0;color:inherit;font:inherit}
::-moz-placeholder{opacity:1}
::-ms-clear{display:none}
body,input,select,textarea,button{font-family:NanumSquare,"맑은 고딕","Malgun Gothic","Apple SD Gothic Neo",sans-serif;font-size:14px;line-height:1.135}

.header {
    overflow: hidden;
    flex: none;
    height: 56px;
    padding: 4px 48px;
    color: #4a4a4a;
    line-height: 48px;
}
.header--type1 {
    border-bottom: 1px solid #e0dfdf;
}
.header--type2 {
    border-bottom: 1px solid #e5e4e4;
}
.header__service {
    display: flex;
    align-items: center;
    float: left;
    height: 100%;
}
.header__logo {
    float: left;
}
.header__logo__img {
    display: block;
    overflow: hidden;
    width: 94px;
    background-image: url(../images/logo_nolbal_cp_b.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    text-indent: 100%;
    white-space: nowrap;
}
.header__title {
    float: left;
    margin-left: 16px;
    font-size: 20px;
    font-weight: 800;
}
.header__link {
    float: right;
}
.header__link li {
    display: inline-block;
    margin-right: 52px;
}
.header__username {
    font-weight: 800;
}

.footer {
    position: relative;
    flex: none;
    height: 78px;
    padding-top: 18px;
    border-top: 1px solid #e5e4e4;
    color: rgba(74, 74, 74, .8);
    font-size: 12px;
    text-align: center;
}
.footer-link li {
    display: inline-block;
    margin: 0 10px;
}
.footer-copyright {
    margin-top: 12px;
}

.floating-btns {
    position: fixed;
    right: 80px;
    bottom: 136px;
    z-index: 10;
    transition: opacity .4s, visibility .4s;
    opacity: 0;
    visibility: hidden;
}
.floating-btns.show {
    opacity: 1;
    visibility: visible;
}
.floating-btn-move-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #515560;
    background-image: url(../images/floating-up.png);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 13px;
    cursor: pointer;
}

/* 공지사항 모달 스타일 */
.notice-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(24, 29, 38, 0.56);
}

.notice-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    width: calc(100% - 40px);
    max-width: 720px;
    max-height: calc(100% - 48px);
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(20, 25, 35, 0.24);
}

.notice-modal-header {
    flex-shrink: 0;
    padding: 32px 32px 24px;
    background: #fffbf0;
}

.notice-modal-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 6px;
    background: #ffedb5;
    color: #785000;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.notice-modal-title {
    margin: 0;
    color: #242830;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.6px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.notice-modal-body {
    min-height: 0;
    padding: 28px 32px 32px;
    overflow-y: auto;
    word-break: keep-all;
    overflow-wrap: anywhere;
    overscroll-behavior: contain;
    font-size: 15px;
    line-height: 1.85;
    color: #454b54;
}

.notice-modal-body p { margin: 0 0 16px; }
.notice-modal-body > :last-child { margin-bottom: 0; }
.notice-modal-body img { max-width: 100%; height: auto; }
.notice-modal-body table { max-width: 100%; }
.notice-modal-body a { color: #765000; text-decoration: underline; }

.notice-modal-footer {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    border-top: 1px solid #eceef1;
    background: #fafbfc;
}

.notice-hide-today {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #5f6670;
    cursor: pointer;
}

.notice-hide-today input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #946200;
    -webkit-appearance: checkbox;
    appearance: checkbox;
}

.notice-confirm-btn {
    background: #ffbd28;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.notice-modal-content :focus-visible { outline: 2px solid #946200; outline-offset: 3px; }
.notice-modal-body:focus-visible { outline: none; }

@media (max-width: 600px) {
    .notice-modal-content { width: calc(100% - 24px); max-height: calc(100% - 32px); border-radius: 16px; }
    .notice-modal-header { padding: 24px 20px 20px; }
    .notice-modal-title { font-size: 20px; }
    .notice-modal-body { padding: 24px 20px; font-size: 14px; }
    .notice-modal-footer { padding: 16px 20px; }
}
