/* TopRank Skills Marketplace - List Page Styles */

/* Material Symbols Icons */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f8fafc;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Sidebar Navigation */
.sidebar-nav-link {
    transition: all 0.2s ease;
}

.sidebar-nav-link:hover {
    background-color: #f8fafc;
    color: #0f172a;
}

.sidebar-nav-link.active {
    background-color: rgba(37, 99, 235, 0.05);
    color: #2563eb;
    font-weight: bold;
}

/* Skill Card Hover Effect */
.skill-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.skill-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

/* Filter Buttons */
.filter-button {
    transition: all 0.2s ease;
}

.filter-button:hover {
    border-color: #94a3b8;
    color: #0f172a;
}

.filter-button.active {
    border-color: #2563eb;
    border-width: 2px;
    background-color: rgba(37, 99, 235, 0.05);
    color: #2563eb;
}

/* Tag Pills */
.tag-pill {
    transition: all 0.2s ease;
}

.tag-pill:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* Pagination Buttons */
.pagination-btn {
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background-color: #f8fafc;
}

.pagination-btn.active {
    background-color: #0f172a;
    color: white;
}

/* Range Slider */
.range-slider {
    position: relative;
    width: 100%;
    height: 6px;
    background-color: #f1f5f9;
    border-radius: 10px;
}

.range-slider-track {
    position: absolute;
    left: 0;
    top: 0;
    height: 6px;
    background-color: #2563eb;
    border-radius: 10px;
}

.range-slider-thumb {
    position: absolute;
    top: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #2563eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar-nav-link {
        padding: 0.625rem 0.75rem;
    }
}

/* Text truncate utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dropdown Menu Styles */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:visible {
    visibility: visible;
}

/* Dropdown animation */
.group > div[class*="absolute"] {
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
    pointer-events: none;
}

.group:hover > div[class*="absolute"] {
    transform: translateY(0);
    pointer-events: auto;
}

/* Modal backdrop blur */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Smooth transitions */
.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.scale-95 {
    transform: scale(0.95);
}

.scale-100 {
    transform: scale(1);
}
