﻿.scroll-container {
    touch-action: pan-y;
}

.clickable-element {
    touch-action: manipulation;
}

.reference-card {
    display: block;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    margin: 30px 4px 30px 4px;
    transition: all 0.3s ease;
    border-top: 4px solid #4376AA;
}

    .reference-card:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        transform: translateY(-3px);
        text-decoration: none !important;
    }

.reference-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: space-between;
}

.reference-card-title-container {
    display: flex;
    align-items: center;
}

.reference-card-icon {
    margin-right: 10px;
    color: #4376AA;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
}

.reference-card-title {
    font-size: 16px;
    font-weight: bold;
    color: #4376AA;
    font-family: 'Consolas', 'Courier New', monospace;
    line-height: 1;
    display: flex;
    align-items: center;
}

.reference-card-assembly {
    font-size: 12px;
    color: #888;
    font-family: 'Consolas', 'Courier New', monospace;
}

.reference-card-namespace {
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
}

.reference-card-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.reference-card-footer {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #4376AA;
}

    .reference-card-footer svg {
        margin-right: 5px;
    }

.reference-link {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    background-color: #fafafa !important;
    border: 1px solid #ddd;
    border-left: 4px solid #4376AA;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    margin: 20px 0;
}

    .reference-link:hover {
        background-color: #f0f0f0 !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

.reference-icon {
    margin-right: 16px;
    color: #4376AA;
    flex-shrink: 0;
}

.reference-content {
    flex: 1;
}

.reference-title {
    font-weight: bold;
    font-family: 'Consolas', 'Courier New', monospace;
    color: #4376AA;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reference-assembly {
    font-size: 12px;
    color: #888;
    font-weight: normal;
}

.reference-namespace {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.reference-description {
    font-size: 12px;
    color: #666;
}

/* style=3, style=4를 위한 디자인 CSS (아이콘 제거) */
.reference-link-inline {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 0px;
    background-color: #ecfdf5; /* 연한 초록색 배경 */
    border: none;
    border-bottom: 1px dashed #d1d5db; /* 하단 점선 */
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    margin: 0px 0;
    font-size: 13px;
    box-sizing: border-box;
    max-width: 100%;
}

    .reference-link-inline:hover {
        background-color: #d1fae5; /* 호버 시 더 진한 초록색 */
        border-bottom-color: #10b981; /* 호버 시 점선 색상 변경 */
        text-decoration: none;
    }

.reference-text-inline {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 4px; /* 아이콘 제거 후 간격 조정 */
}

.reference-classname-inline {
    font-weight: bold;
    font-family: 'Consolas', 'Courier New', monospace;
    color: #047857; /* 진한 초록색 */
    margin-right: 6px;
}

.reference-namespace-inline {
    font-size: 12px;
    color: #6b7280; /* 회색 */
    position: relative;
    padding-left: 8px;
}

    /*.reference-namespace-inline::before {
        content: "→";*/ /* 클래스 이름과 네임스페이스 사이 화살표 구분자 */
        /*position: absolute;
        left: 0;
        color: #9ca3af;*/ /* 구분자 색상 */
    /*}*/
