@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

/* S-CoreDream Font (fallback to Noto Sans KR) */
@font-face {
    font-family: 'S-CoreDream-5Medium';
    src: local('S-CoreDream-5Medium'), local('Noto Sans KR');
    font-weight: 500;
    font-style: normal;
}

/* ============================================
   GLOBAL RESET & BASE
   ============================================ */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ============================================
   UTILITY CLASSES - Margin
   ============================================ */
.m-0 { margin: 0 !important; }
.m-t-0 { margin-top: 0 !important; }
.m-t-5 { margin-top: 5px !important; }
.m-t-10 { margin-top: 10px !important; }
.m-t-15 { margin-top: 15px !important; }
.m-t-20 { margin-top: 20px !important; }
.m-t-25 { margin-top: 25px !important; }
.m-t-30 { margin-top: 30px !important; }
.m-t-40 { margin-top: 40px !important; }
.m-t-50 { margin-top: 50px !important; }
.m-t-100 { margin-top: 100px !important; }
.m-b-5 { margin-bottom: 5px !important; }
.m-b-10 { margin-bottom: 10px !important; }
.m-b-20 { margin-bottom: 20px !important; }
.m-b-30 { margin-bottom: 30px !important; }
.m-b-50 { margin-bottom: 50px !important; }
.m-r-5 { margin-right: 5px !important; }
.m-r-10 { margin-right: 10px !important; }
.m-l-5 { margin-left: 5px !important; }
.m-l-10 { margin-left: 10px !important; }

/* ============================================
   UTILITY CLASSES - Padding
   ============================================ */
.p-0 { padding: 0 !important; }
.p-5 { padding: 5px !important; }
.p-10 { padding: 10px !important; }
.p-20 { padding: 20px !important; }
.p-30 { padding: 30px !important; }
.p-t-5 { padding-top: 5px !important; }
.p-t-10 { padding-top: 10px !important; }
.p-t-15 { padding-top: 15px !important; }
.p-t-20 { padding-top: 20px !important; }
.p-t-25 { padding-top: 25px !important; }
.p-t-30 { padding-top: 30px !important; }
.p-t-50 { padding-top: 50px !important; }
.p-b-5 { padding-bottom: 5px !important; }
.p-b-10 { padding-bottom: 10px !important; }
.p-b-20 { padding-bottom: 20px !important; }
.p-b-30 { padding-bottom: 30px !important; }
.p-b-40 { padding-bottom: 40px !important; }
.p-b-50 { padding-bottom: 50px !important; }
.p-l-5 { padding-left: 5px !important; }
.p-l-10 { padding-left: 10px !important; }
.p-l-20 { padding-left: 20px !important; }
.p-r-5 { padding-right: 5px !important; }
.p-r-10 { padding-right: 10px !important; }
.p-h-5 { padding-left: 5px !important; padding-right: 5px !important; }
.p-h-10 { padding-left: 10px !important; padding-right: 10px !important; }
.p-h-20 { padding-left: 20px !important; padding-right: 20px !important; }
.p-v-10 { padding-top: 10px !important; padding-bottom: 10px !important; }
.p-v-20 { padding-top: 20px !important; padding-bottom: 20px !important; }
.p-v-40 { padding-top: 40px !important; padding-bottom: 40px !important; }

/* ============================================
   UTILITY CLASSES - Font Size
   ============================================ */
.f-11 { font-size: 11px !important; }
.f-12 { font-size: 12px !important; }
.f-13 { font-size: 13px !important; }
.f-14 { font-size: 14px !important; }
.f-15 { font-size: 15px !important; }
.f-16 { font-size: 16px !important; }
.f-17 { font-size: 17px !important; }
.f-18 { font-size: 18px !important; }
.f-19 { font-size: 19px !important; }
.f-20 { font-size: 20px !important; }
.f-22 { font-size: 22px !important; }
.f-24 { font-size: 24px !important; }
.f-28 { font-size: 28px !important; }
.f-30 { font-size: 30px !important; }
.f-25 { font-size: 25px !important; }
.f-32 { font-size: 32px !important; }
.f-36 { font-size: 36px !important; }

/* Responsive font sizes */
.f-14-trans-11 { font-size: 14px !important; }
.f-14-trans-13 { font-size: 14px !important; }
.f-15-trans-14 { font-size: 15px !important; }
.f-22-trans-20 { font-size: 22px !important; }
.f-24-trans-20 { font-size: 24px !important; }
.f-20-trans-13 { font-size: 20px !important; }
.f-20-trans-15 { font-size: 20px !important; }
.f-20-trans-17 { font-size: 20px !important; }
.f-30-trans-20 { font-size: 30px !important; }

@media (max-width: 767px) {
    .f-14-trans-11 { font-size: 11px !important; }
    .f-14-trans-13 { font-size: 13px !important; }
    .f-15-trans-14 { font-size: 14px !important; }
    .f-22-trans-20 { font-size: 20px !important; }
    .f-24-trans-20 { font-size: 20px !important; }
    .f-20-trans-13 { font-size: 13px !important; }
    .f-20-trans-15 { font-size: 15px !important; }
    .f-20-trans-17 { font-size: 17px !important; }
    .f-30-trans-20 { font-size: 20px !important; }
}

/* ============================================
   UTILITY CLASSES - Font Weight
   ============================================ */
.f-300 { font-weight: 300 !important; }
.f-400 { font-weight: 400 !important; }
.f-500 { font-weight: 500 !important; }
.f-600 { font-weight: 600 !important; }
.f-700 { font-weight: 700 !important; }

/* ============================================
   UTILITY CLASSES - Font Family
   ============================================ */
.ff-score-m {
    font-family: 'S-CoreDream-5Medium', 'Noto Sans KR', sans-serif !important;
}
.ff-score-b {
    font-family: 'S-CoreDream-5Medium', 'Noto Sans KR', sans-serif !important;
    font-weight: 700;
}

/* ============================================
   UTILITY CLASSES - Colors
   ============================================ */
.c-white { color: #ffffff !important; }
.c-black { color: #333333 !important; }
.c-gray { color: #888888 !important; }
.c-red { color: #e74c3c !important; }
.c-blue { color: #17378a !important; }
.c-client-first, .c-client-1 { color: #17378a !important; }
.c-client-second { color: #082882 !important; }

/* ============================================
   UTILITY CLASSES - Background
   ============================================ */
.bgm-white { background-color: #ffffff !important; }
.bgm-gray-100 { background-color: #f5f5f5 !important; }
.bgm-client-second { background-color: #082882 !important; }

/* ============================================
   UTILITY CLASSES - Width & Layout
   ============================================ */
.w-100 { width: 100% !important; }
.mw-90 { min-width: 90px !important; }
.table-fixed { table-layout: fixed; }
.c-overflow { overflow: auto; }
.cursor { cursor: pointer; }

/* ============================================
   UTILITY CLASSES - Border & Radius
   ============================================ */
.border-1-ea { border: 1px solid #eaeaea !important; }
.border-top-1 { border-top: 1px solid #eaeaea !important; }
.border-bottom-1-white-100 { border-bottom: 1px solid rgba(255,255,255,1) !important; }
.brd-5 { border-radius: 5px !important; }
.brd-10 { border-radius: 10px !important; }

/* ============================================
   UTILITY CLASSES - Shadow
   ============================================ */
.shadow-b-xs { box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.shadow-tb-xs { box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 -1px 3px rgba(0,0,0,0.02); }

/* ============================================
   UTILITY CLASSES - Text
   ============================================ */
.text-ignore { text-decoration: none !important; color: inherit !important; }
.text-keep-all { word-break: keep-all; }
.lh-1-7 { line-height: 1.7 !important; }
.lh-1-8 { line-height: 1.8 !important; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-custom {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
    background: transparent;
    color: inherit;
    line-height: 1.4;
    vertical-align: middle;
}

.btn-custom:hover {
    opacity: 0.85;
}

.btn-border-1 {
    border: 1px solid #333 !important;
    background: transparent !important;
    color: #333 !important;
    padding: 10px 16px;
    border-radius: 4px;
}

.btn-bgm-navy {
    background-color: #0f1c2b !important;
    color: #ffffff !important;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
}

.btn-bgm-navy:hover {
    background-color: #17378a !important;
}

/* ============================================
   HEADER
   ============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
    color: #ffffff;
    padding: 0;
}

.header-logo {
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-menu-header {
    min-width: 150px;
    border-radius: 4px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 8px 0;
}

.dropdown-menu-header li a {
    display: block;
    padding: 8px 16px;
    color: #333;
    transition: background 0.2s;
}

.dropdown-menu-header li a:hover {
    background: #f5f5f5;
}

/* ============================================
   SIDEBAR (Mobile Menu)
   ============================================ */
#sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #ffffff;
    z-index: 999;
    transition: all 0.3s ease;
    overflow-y: auto;
    box-shadow: 3px 0 10px rgba(0,0,0,0.1);
}

#sidebar.toggled {
    left: 0;
}

.sidebar-inner {
    height: 100%;
}

.ms-menu {
    padding: 10px;
}

.main-menu > li {
    padding: 12px 20px;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.main-menu > li > a {
    color: #333;
    font-weight: 500;
    display: block;
}

.sub-menu ul {
    display: none;
    padding: 5px 0 5px 10px;
}

.sub-menu.toggled ul {
    display: block;
}

.sub-menu ul li {
    padding: 6px 0;
}

/* ============================================
   BACKGROUND IMAGES
   ============================================ */
.bgi-mv {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 457px;
}

.bgi-default {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ============================================
   CARDS & BADGES
   ============================================ */
.badge-card-xs {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    background-color: rgba(23, 55, 138, 0.85);
    color: #ffffff;
    position: relative;
    z-index: 2;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.bc-progressbar-layout {
    width: 100%;
    background-color: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    height: 8px;
}

.bc-progressbar {
    height: 100%;
    background: linear-gradient(90deg, #17378a 0%, #082882 100%);
    border-radius: 4px;
    transition: width 1s ease;
}

/* ============================================
   FOOTER
   ============================================ */
footer, .footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 40px 0;
    font-size: 13px;
    line-height: 1.8;
}

footer a, .footer a {
    color: #ccc;
}

footer a:hover, .footer a:hover {
    color: #fff;
}

/* ============================================
   INVESTMENT PRODUCT ITEMS
   ============================================ */
.iv-bgi {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
    overflow: hidden;
}

.iv-bgi-height {
    height: 180px;
}

.iv-prod-items-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   LOADER
   ============================================ */
.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loader.is-active {
    display: flex;
}

.loader-default::after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #17378a;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   BOTTOM FIXED ALERT (Product List)
   ============================================ */
.bottom-fixed-alert {
    position: fixed;
    bottom: -60px;
    left: 0;
    right: 0;
    background: rgba(15, 28, 43, 0.9);
    color: #fff;
    text-align: center;
    padding: 15px;
    z-index: 99;
    transition: bottom 0.3s ease;
    font-size: 14px;
}

.bottom-fixed-alert.on {
    bottom: 0;
}

/* ============================================
   INPUT - Custom
   ============================================ */
.input-custom {
    display: block;
    width: 100%;
    padding: 10px 50px 10px 15px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
}
.input-custom:focus {
    border-color: #17378a;
    box-shadow: 0 0 0 2px rgba(23,55,138,0.1);
}

/* ============================================
   CONTAINER - Small
   ============================================ */
.container-sm {
    max-width: 900px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* ============================================
   ACCORDION (FAQ)
   ============================================ */
.accordion-box {
    margin-bottom: 0;
}
.accordion-title {
    cursor: pointer;
    transition: background 0.15s;
}
.accordion-title:hover {
    background-color: #f9f9f9;
}
.accordion-contents {
    padding: 15px 10px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    border-top: 1px solid #eee;
}

/* ============================================
   ADDITIONAL UTILITY
   ============================================ */
.p-v-15 { padding-top: 15px !important; padding-bottom: 15px !important; }
.f-30-trans-23 { font-size: 30px !important; }
@media (max-width: 767px) {
    .f-30-trans-23 { font-size: 23px !important; }
}

/* Login / Join page */
.auth-page-wrap {
    max-width: 420px;
    margin: 80px auto 60px;
    padding: 40px 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.auth-page-wrap h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f1c2b;
    margin-bottom: 8px;
}
.auth-page-wrap .auth-desc {
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
}
.auth-page-wrap .form-group {
    margin-bottom: 16px;
}
.auth-page-wrap .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}
.auth-page-wrap .form-group input {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.auth-page-wrap .form-group input:focus {
    border-color: #17378a;
}
.auth-page-wrap .auth-btn {
    display: block;
    width: 100%;
    padding: 13px;
    background: #0f1c2b;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
    transition: background 0.2s;
}
.auth-page-wrap .auth-btn:hover {
    background: #17378a;
}
.auth-page-wrap .auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #888;
}
.auth-page-wrap .auth-links a {
    color: #17378a;
    font-weight: 500;
}
.auth-notice {
    margin-top: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 13px;
    color: #888;
    line-height: 1.7;
    text-align: center;
}
