@charset "utf-8";
/* 실시간 대출문의 트렌디한 Latest 스킨 - 핑크-퍼플 테마 */

/* 메인 컨테이너 */
.loaninq-widget {
    width: 260px;
    height: 409px;
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(155, 63, 140, 0.10);
    border: 1px solid #4169e1;
}

/* 헤더 스타일 */
.loaninq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    position: relative;
    overflow: hidden;
}

.loaninq-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%);
    z-index: 1;
}

.loaninq-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin: 0;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.loaninq-title i {
    margin-right: 8px;
    font-size: 15px;
}

.loaninq-title span {
    font-weight: 400;
    margin-left: 2px;
}

.loaninq-badge {
    background: #fff;
    color: var(--primary, #1E90FF);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LIVE 아이콘 깜빡임 효과 */
.loaninq-live-icon {
    color: #f13c3c;
    font-size: 8px;
    margin-right: 4px;
    animation: loaninq-blink 1.5s infinite;
}

@keyframes loaninq-blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* 배지 주변 물결 효과 */
.loaninq-badge::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    animation: loaninq-pulse 2s infinite;
    pointer-events: none;
}

@keyframes loaninq-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 슬라이더 컨테이너 */
.loaninq-slider {
    height: calc(100% - 45px);
    overflow: hidden;
}

/* 개별 아이템 스타일 */
.loaninq-item {
    padding: 12px 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    height: auto !important;
    position: relative;
    overflow: hidden;
}

.loaninq-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, #1E90FF, #4169E1);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.loaninq-item:hover {
    background: #fdf0f7;
}

.loaninq-item:hover::before {
    opacity: 1;
}

.loaninq-item:last-child {
    border-bottom: none;
}

/* 메타 정보 */
.loaninq-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

/* 카테고리 라벨 */
.loaninq-category {
    display: inline-block;
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(213, 63, 140, 0.2);
}

/* 시간 표시 */
.loaninq-time {
    font-size: 11px;
    color: #adb5bd;
}

/* 콘텐츠 영역 */
.loaninq-content {
    display: flex;
    flex-direction: column;
}

/* 마스킹된 개인정보 */
.loaninq-masked-info {
    font-size: 12px;
    color: #6c757d;
    letter-spacing: -0.3px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-bottom: 5px;
    border-bottom: 1px dashed #e9ecef;
}

/* 제목 스타일 */
.loaninq-subject {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: 1.4;
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* NEW 라벨 */
.loaninq-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 5px;
    border-radius: 3px;
    background: #4169E1;
    color: #fff;
    font-size: 9px;
    font-weight: 400;
    margin-left: 6px;
    line-height: 1;
    position: relative;
}

/* 빈 상태 표시 */
.loaninq-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 30px 15px;
    color: #adb5bd;
    background: #fff;
}

.loaninq-empty-icon {
    font-size: 24px;
    color: #ced4da;
    margin-bottom: 10px;
}

.loaninq-empty p {
    margin: 0;
    font-size: 14px;
}

/* 애니메이션 효과 */
@keyframes loaninq-slideIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.loaninq-item {
    animation: loaninq-slideIn 0.3s ease-out forwards;
    animation-delay: calc(var(--item-index, 0) * 0.05s);
}

/* 반응형 설정 */
@media (max-width: 768px) {
    .loaninq-widget {
        width: 100%;
        height: auto;
        min-height: 300px;
    }
    
    .loaninq-slider {
        height: auto;
        min-height: 250px;
    }
}