/* 상단 대출 슬라이더 */
.top_loan_slider {
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
}



/* 슬라이더 전체 */
.loan_swiper {
    width: 100%;
    padding: 5px 0 0px 0;
    overflow: visible;
    margin-top: 3px;
}

/* 개별 슬라이드 항목 */
.loan_item {
    background: linear-gradient(145deg, #fff 0%, #f8f9ff 100%);
    box-shadow: 0 3px 12px rgba(0,0,0,0.008);
    cursor: pointer;
    overflow: hidden;
    padding: 16px;
    border: 1px solid #eaeaea;
    transition: all 0.25s ease;
}

.loan_item:hover {
    box-shadow: 0 5px 18px rgba(255,130,0,0.15);
    transform: translateY(-2px);
    border-color: #ff8200;
}

/* 대출 헤더 영역 */
.loan_head {
    margin-bottom: 10px;
    position: relative;
	font-size:0;
}

.loan_label {
    display: inline-block;
    color: #ff8200;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 5px;
    position: relative;
}

.loan_label:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,130,0,0.3);
}

.loan_title {
    color: #222;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 대출 본문 (정보) 영역 */
.loan_body {
    margin-bottom: 12px;
}

.loan_info_row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    position: relative;
}

.loan_info_row:last-child {
    margin-bottom: 0;
}

.info_tag {
    background-color: rgba(255,130,0,0.08);
    border-radius: 30px;
    color: #ff8200;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: -0.3px;
    padding: 3px 8px;
    margin-right: 6px;
    min-width: 32px;
    text-align: center;
}

.info_text_search {
    color: #000;
    font-size: 12px;
    letter-spacing: -0.3px;
	font-weight:500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 대출 푸터 (자세히보기) 영역 */
.loan_foot {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 10px;
    text-align: center;
	font-size:0;

}
/* 자세히보기 버튼 - 아이콘 추가 */
.more_btn {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.3px;
    padding: 6px 14px;
    border-radius: 4px;
    background: #ff8200;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(255,130,0,0.2);
}

.more_btn:before {
    content: '\f002'; /* 돋보기(검색) 아이콘 */
    font-family: 'FontAwesome';
    margin-right: 5px;
    font-size: 11px;
}

.more_btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transition: all 0.8s ease;
}

.loan_item:hover .more_btn:after {
    left: 100%;
}

.loan_item:hover .more_btn {
    background: #ff6a00;
}

/* 페이징 스타일 */
.loan_paging {
    text-align: center;
    margin-top: 12px;
}

.loan_paging .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #ddd;
    opacity: 0.7;
    margin: 0 3px;
    transition: all 0.2s ease;
}

.loan_paging .swiper-pagination-bullet-active {
    background: #ff8200;
    opacity: 1;
    transform: scale(1.2);
}

/* 비어있는 슬라이드 */
.empty_slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
}

.empty_slide p {
    color: #999;
    font-size: 13px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .loan_item {
        padding: 12px;
    }
    
    .loan_title {
        font-size: 15px;
    }
    
    .info_tag {
        padding: 2px 7px;
        font-size: 10px;
    }
    
    .info_text_search {
        font-size: 11px;
    }
    
    .more_btn {
        padding: 5px 12px;
        font-size: 11px;
    }
}
/* 프리미엄 배지 - 기본 스타일 */
.premium_badge {
    position: absolute;
    top: 9px;
    right: 0;
    background: linear-gradient(90deg, #ff6a00 0%, #ff8200 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.5px;
    padding: 4px 10px;
    border-radius: 0 0 0 8px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* 배지 내부 반짝임 효과 */
.premium_badge:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    animation: shimmer 3s infinite linear;
    z-index: -1;
}

/* 호버 시 변화 */
.top_loan_slider:hover .premium_badge {
    padding: 4px 10px;
    background: linear-gradient(90deg, #ff5500 0%, #ff7700 100%);
    box-shadow: 0 3px 8px rgba(255,85,0,0.2);
	top:7px;
}

/* 반짝임 애니메이션 */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}