/* ABP Catalog Hover — Tooltip Card */

.abp-ch-course {
    position: relative;
}

.abp-ch-tooltip {
    position: absolute;
    z-index: 99999;
    pointer-events: none;
    transition: opacity 0.15s;
    opacity: 0;
}

.abp-ch-tooltip.visible {
    opacity: 1;
    pointer-events: auto;
}

.abp-ch-card {
    width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.abp-ch-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.abp-ch-body {
    padding: 14px 16px 16px;
}

.abp-ch-cat,
.abp-ch-level {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 3px;
    margin-bottom: 6px;
}

.abp-ch-cat {
    background: #f0f6fc;
    color: #2271b1;
}

.abp-ch-level {
    background: #f0fdf4;
    color: #15803d;
}

.abp-ch-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 6px;
    color: #1d2327;
}

.abp-ch-presenter {
    font-size: 12px;
    color: #646970;
    margin: 0 0 8px;
}

.abp-ch-excerpt {
    font-size: 12px;
    color: #50575e;
    line-height: 1.5;
    margin: 0 0 10px;
}

.abp-ch-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #646970;
    margin-bottom: 10px;
}

.abp-ch-price {
    font-weight: 700;
    color: #1d2327;
}

.abp-ch-btn {
    display: block;
    text-align: center;
    background: #2271b1;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}

.abp-ch-btn:hover {
    background: #135e96;
    color: #fff;
}
