.longevity-badge {
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: 7px;
    left: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
}
.badge-image {
    width: 50px;
    height: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.history-vertical-scroll {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px;
    white-space: nowrap;
}
.history-vertical-scroll::-webkit-scrollbar {
    height: 4px;
}
.history-vertical-scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #ccc;
}
.performance-history-card {
    width: 100px;
    height: 100px;
    min-width: 100px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 6px;
}
.performance-year {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}
.performance-label {
    font-size: 10px;
    font-weight: 600;
    color: #6c757d;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.performance-rating {
    font-size: 13px;
    font-weight: 600;
}
.empty-history {
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.history-table-scroll {
    max-height: 160px;
    overflow-y: auto;
    overflow-x: hidden;
}
.history-table-scroll thead th {
    position: sticky;
    top: 0;
    background: white;
    z-index: 2;
}
.history-card {
    height: 158px;
    display: flex;
    flex-direction: column;
}
.history-card .card-header {
    flex-shrink: 0;
}
.history-card .card-body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.history-horizontal-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1px;
}
.empty-history {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.pdf-download-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2c63b0!important;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    z-index: 9999;
}
.pdf-download-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}
.smart-profile {
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: 7px;
    left: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    background-color: #eff3f9 !important;
}
.performance-empty-history {
    width: 100%;
    min-width: 100%;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}