/* 여기에 작업 또는 수정할 당신의 css style을 설정하세요. (customizations) */

/* FontAwesome 5 Global Fix */
.fas, .fa {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

.far {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400 !important;
}

.fab {
    font-family: "Font Awesome 5 Brands" !important;
}

/* Navbar Layout Fix */
@media (min-width: 992px) {
    .navbar-nav {
        width: 100%;
        display: flex;
        align-items: center;
    }
    .nav-social-btns {
        margin-left: 10px !important;
    }
    .navbar-nav > li.darkmode-menu {
        position: static !important;
        background-color: transparent !important;
        margin-left: auto !important;
    }
}

/* 핀토스 상품 추천대상 스타일 */
.fintos-recommend-container { background: #fff; padding: 40px 40px; border: 1px solid #eee; border-radius: 0px; margin-bottom: 20px; }
.pinto-recommend-section { padding: 0px 0; line-height: 1.6; }
.pinto-recommend-section h3, .pinto-recommend-section h4, .pinto-recommend-section .recommend-title { color: #000 !important; }
.recommend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.recommend-card { 
    background: #f1f5f9; border: 1px solid #edf2f7; border-radius: 0px; padding: 25px; 
    text-align: center;
}
.card-icon { font-size: 40px; margin-bottom: 15px; display: block; }
.card-title { font-size: 1.2rem; font-weight: 700; color: #1a202c; margin-bottom: 10px; }
.card-desc { font-size: 0.95rem; color: #4a5568; min-height: 3em; }
.check-list { text-align: left; margin-top: 15px; padding-left: 0; list-style: none; }
.check-list li { margin-bottom: 8px; font-size: 0.95rem; display: flex; align-items: flex-start; }
.check-list li::before { content: '✅'; margin-right: 8px; font-size: 0.8rem; margin-top: 2px; }

/* 핀토스 가입안내 레이아웃 최적화 */
.fintos-guide-container { padding: 15px 15px; background: #fff; border: 1px solid #eee; margin-bottom: 20px; }
@media (min-width: 992px) {
    .fintos-guide-container .guide-grid { 
        display: grid !important; 
        grid-template-columns: repeat(4, 1fr) !important; 
        gap: 20px !important; 
    }
}

/* 핀토스 가입안내 카드 스타일 */
.fintos-guide-section { background: #fff; padding: 40px 30px; border: 1px solid #eee; line-height: 1.6; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.guide-card { 
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 0px; padding: 30px; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    display: flex; flex-direction: column; height: 100%;
}
.guide-header { display: flex; align-items: center; margin-bottom: 20px; }
.guide-icon-box { 
    width: 50px; height: 50px; background: #f0f7ff; border-radius: 12px; 
    display: flex; align-items: center; justify-content: center; font-size: 24px; margin-right: 15px;
}
.guide-title { font-size: 1.25rem; font-weight: 800; color: #2d3748; }
.guide-body { flex-grow: 1; }

/* 테이블 형태 정렬 스타일 */
.guide-table { display: flex; flex-direction: column; gap: 12px; }
.guide-row { display: flex; align-items: flex-start; gap: 10px; }
.guide-label { 
    min-width: 80px; font-weight: 700; color: #3182ce; font-size: 0.95rem; 
    position: relative; padding-left: 12px;
}
.guide-label::before { 
    content: ''; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; 
    background: #3182ce; border-radius: 50%; 
}
.guide-value { color: #4a5568; font-size: 0.95rem; line-height: 1.5; flex: 1; }

.guide-card { background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%); }

/* 상담후기 모달 프리미엄 스타일 (보험나이 스타일 적용) */
.itemuse-iframe-modal .modal-dialog {
    max-width: 800px;
}
.itemuse-iframe-modal .modal-content {
    background: #fff;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}
.itemuse-iframe-modal .modal-header {
    background: #007bff;
    border-bottom: none;
    padding: 20px;
}
.itemuse-iframe-modal .modal-header .modal-title {
    color: #fff !important;
    font-weight: 700;
    font-size: 20px;
}
.itemuse-iframe-modal .modal-header .btn-close {
    filter: invert(1) brightness(200%);
}
.itemuse-iframe-modal .modal-body {
    padding: 0;
}
#itemuse-iframe {
    background: transparent;
}
