/* Proxima Nova Font Faces */
@font-face {
    font-family: 'Proxima Nova';
    src: url('../../web-fonts/fonts/proximanova-regular.woff2.woff') format('woff2'),
         url('../../web-fonts/fonts/proximanova-regular.woff.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../../web-fonts/fonts/proximanova-medium.woff2.woff') format('woff2'),
         url('../../web-fonts/fonts/proximanova-medium.woff.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../../web-fonts/fonts/proximanova-semibold.woff2.woff') format('woff2'),
         url('../../web-fonts/fonts/proximanova-semibold.woff.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../../web-fonts/fonts/proximanova-bold.woff2.woff') format('woff2'),
         url('../../web-fonts/fonts/proximanova-bold.woff.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #f8f9fa;
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.metric-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    height: 100%;
}

.metric-label {
    font-size: 13px;
    color: #212529;
    margin-bottom: 8px;
}

.metric-label-main {
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.metric-label-sub {
    font-size: 11px;
    color: #6c757d;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.info-icon {
    width: 14px;
    height: 14px;
    border: 1px solid #6c757d;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-left: 5px;
    color: #6c757d;
    cursor: pointer;
    position: relative;
}

.info-icon:hover .info-tooltip {
    opacity: 1;
    visibility: visible;
}

.info-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: -77px;
    transform: translateX(0);
    background-color: rgba(13, 13, 13, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 400;
    white-space: normal;
    max-width: 200px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    pointer-events: none;
    line-height: 1.4;
}

.info-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 85px;
    border: 5px solid transparent;
    border-bottom-color: rgba(13, 13, 13, 0.9);
    border-top-color: rgba(13, 13, 13, 0.9);
}

.metric-value {
    font-size: 14px;
    font-weight: 300;
    color: #212529;
    margin: 92px 0 0 0;
}
#diversityValue{
    margin-bottom: 47px;
}

.metric-comparison {
    font-size: 13px;
    color: #6c757d;
    margin-top: 10px;
}

.trend-positive {
    color: #28a745;
}

.trend-negative {
    color: #dc3545;
}

.divider {
    height: 1px;
    background-color: #dee2e6;
    margin: 20px 0;
}

/* Skeleton Loading */
@keyframes skeleton-shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f2f5 25%, #e4e7ec 50%, #f0f2f5 75%);
    background-size: 1200px 100%;
    animation: skeleton-shimmer 1.6s infinite linear;
    border-radius: 4px;
}

.skeleton-label-main {
    height: 13px;
    width: 170px;
    margin-bottom: 7px;
}

.skeleton-label-sub {
    height: 10px;
    width: 110px;
}

.skeleton-value {
    height: 14px;
    width: 80px;
    margin-top: 92px;
}

.section-block.loaded .section-skeleton { display: none; }
.section-block:not(.loaded) .section-content { display: none; }
