/* Solution Page 1 - 모든 탭 통일된 가시성 개선 스타일 */

/* 모든 탭 공통 카드 스타일 - 가시성 대폭 개선 */
.tab-pane .module-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #94a3b8;
    padding: 45px 45px 35px 45px !important; /* 하단 여백 줄임 */
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tab-pane .module-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
    border-color: #10b981;
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 60px rgba(16, 185, 129, 0.28);
}

/* 아이콘 크기 및 스타일 개선 - 60% 축소 */
.tab-pane .module-icon {
    width: 66px !important;
    height: 66px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
    font-size: 1.9rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 21px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tab-pane .module-card:hover .module-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.55);
}

/* 카드 제목 크기 및 스타일 개선 */
.tab-pane .module-card h4 {
    font-size: 1.95rem !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900 !important;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

/* 리스트 항목 가시성 개선 */
.tab-pane .feature-list {
    text-align: left;
    display: inline-block;
    width: 100%;
}

.tab-pane .feature-list li {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    padding: 22px 0 !important; /* 문장 간격 대폭 늘림 - 카드 영역 확대 */
    line-height: 1.7 !important;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 5px;
}

.tab-pane .feature-list li:hover {
    color: #10b981 !important;
    transform: translateX(8px);
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
    margin-left: -5px;
    padding-left: 10px;
    border-radius: 8px;
}

/* 체크 아이콘 개선 */
.tab-pane .feature-list li i {
    color: #10b981 !important;
    font-size: 1.35rem !important;
    font-weight: 700;
    flex-shrink: 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 대시보드 그리드 배경 개선 */
.tab-pane .dashboard-grid {
    background: linear-gradient(135deg, #f1f5f9 0%, #d1fae5 100%);
    padding: 25px !important;
    border-radius: 30px;
    box-shadow: inset 0 5px 25px rgba(16, 185, 129, 0.08);
    gap: 40px !important;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

/* 모듈 컨테이너 추가 개선 */
.tab-pane .module-container {
    background: rgba(241, 245, 249, 0.4);
    padding: 15px 20px;
    border-radius: 20px;
}

/* 헤더 섹션 개선 */
.tab-pane .module-header {
    margin-bottom: 15px;
}

.tab-pane .module-title {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin-bottom: 8px;
}

.tab-pane .module-description {
    font-size: 1rem !important;
    color: #334155 !important;
    font-weight: 500 !important;
    line-height: 1.5;
}

/* 카드 그라데이션 라인 강화 */
.tab-pane .card-gradient {
    height: 5px !important;
    background: linear-gradient(90deg, #10b981 0%, #059669 50%, #10b981 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* 카드 내부 컨텐츠 정렬 개선 */
.tab-pane .card-content {
    position: relative;
    z-index: 1;
}

/* 반응형 디자인 개선 */
@media (max-width: 768px) {
    .tab-pane .module-card {
        padding: 35px !important;
    }
    
    .tab-pane .module-icon {
        width: 54px !important;
        height: 54px !important;
        font-size: 1.5rem !important;
    }
    
    .tab-pane .module-card h4 {
        font-size: 1.6rem !important;
    }
    
    .tab-pane .feature-list li {
        font-size: 1.1rem !important;
        padding: 12px 0 !important;
    }
    
    .tab-pane .dashboard-grid {
        padding: 30px !important;
        gap: 25px !important;
    }
}

/* 추가적인 시각적 개선 */
.tab-pane .module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    border-radius: 16px;
}

.tab-pane .module-card:hover::before {
    opacity: 1;
}

/* 포커스 상태 개선 */
.tab-pane .module-card:focus-within {
    outline: 3px solid #10b981;
    outline-offset: 2px;
}

/* 공통관리 탭 management-card 스타일 통일 - 균형 잡힌 컴팩트 디자인 */
.common-management .management-card {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 50%, #f8fafc 100%);
    border: 2px solid #d1fae5;
    padding: 28px 24px 20px 24px !important; /* 하단 여백 줄임 */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.12), inset 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}

/* 카드 상단 장식 라인 */
.common-management .management-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399, #10b981);
    opacity: 0.7;
}

.common-management .management-card:hover {
    background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
    border-color: #10b981;
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.25);
}

.common-management .management-card:hover::before {
    opacity: 1;
}

.common-management .management-icon {
    width: 56px !important;
    height: 56px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    font-size: 1.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 14px;
    transition: all 0.3s ease;
    color: white;
}

.common-management .management-card:hover .management-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
}

.common-management .management-title {
    font-size: 1.4rem !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800 !important;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
    text-align: center;
}

.common-management .management-features {
    text-align: left;
    display: inline-block;
    width: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, transparent 100%);
    border-radius: 10px;
    padding: 8px 12px;
}

.common-management .management-features li {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    padding: 14px 4px !important; /* 문장 간격 대폭 늘림 - 카드 영역 확대 */
    line-height: 1.6 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    position: relative;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.common-management .management-features li:last-child {
    border-bottom: none;
}

.common-management .management-features li:hover {
    color: #059669 !important;
    transform: translateX(5px);
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, transparent 100%);
    border-radius: 6px;
}

.common-management .management-features li i {
    color: #10b981 !important;
    font-size: 1.05rem !important;
    font-weight: 700;
    flex-shrink: 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 다크 모드 대응 (선택사항) */
@media (prefers-color-scheme: dark) {
    .tab-pane .module-card,
    .common-management .management-card {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        border-color: #475569;
    }
    
    .tab-pane .feature-list li,
    .common-management .management-features li {
        color: #f1f5f9 !important;
    }
    
    .tab-pane .dashboard-grid {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
}

/* Solution1 전용 - 탭 콘텐츠 높이 조정 (푸터가 간신히 안 보이는 정도) */
.tab-content {
    min-height: calc(100vh - 280px) !important; /* 솔루션2와 유사하게 하단 여백 줄임 */
    padding-bottom: 20px !important;
}