/* Shimmer Loading Animations */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Custom Active Navigation Tabs */
.tab-btn.active {
    color: #60a5fa;
    border-bottom-color: #3b82f6;
}

/* Responsive Chart Container */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 320px;
}

/* Full Description Display */
.full-description {
    word-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.6;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Line Clamp Utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Standard property for future compatibility */
    line-clamp: 2;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Standard property for future compatibility */
    line-clamp: 3;
}
