/* ==================== BREADCRUMBS ==================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* Talent Card - Academic & Platform Items */
.talent-academic-list {
    margin: 10px 0;
    padding: 8px;
    background: rgba(243, 244, 246, 0.5);
    border-radius: 8px;
    font-size: 0.85rem;
}

.talent-academic-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.talent-academic-item i {
    width: 16px;
    text-align: center;
}

.platform-cert {
    background: #fdf4ff !important;
    border-color: #f0abfc !important;
    color: #86198f !important;
    font-weight: 500;
}

.platform-cert i {
    color: #d946ef !important;
}

.talent-social-links a {
    font-size: 1.1rem;
    transition: transform 0.2s;
    display: inline-block;
}

.talent-social-links a:hover {
    transform: translateY(-2px);
}

/* Dark Mode Adjustments */
[data-theme='dark'] .talent-academic-list {
    background: rgba(30, 41, 59, 0.5);
}

[data-theme='dark'] .platform-cert {
    background: #4a1d4a !important;
    border-color: #701a75 !important;
    color: #f0abfc !important;
}

[data-theme='dark'] .platform-cert i {
    color: #f0abfc !important;
}

.breadcrumb-separator {
    color: var(--text-secondary);
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--text-main);
    font-weight: 600;
}

/* ==================== TOOLTIPS ==================== */
.tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    z-index: 10001;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    max-width: 200px;
    text-align: center;
}

.tooltip.visible {
    opacity: 1;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

/* ==================== SKELETON LOADERS ==================== */
.skeleton-loader {
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
}

.skeleton-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-title {
    height: 24px;
    width: 80%;
    margin-bottom: 0.75rem;
}

.skeleton-text {
    height: 16px;
    width: 100%;
    margin-bottom: 0.5rem;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-body {
    flex: 1;
}

/* ==================== MICRO ANIMATIONS ==================== */
.card-hover-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.button-press {
    transition: transform 0.1s ease;
}

.button-press:active {
    transform: scale(0.95);
}

.fade-in {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-in-up {
    animation: slideInUp 0.4s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Apply animations to common elements */
.course-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

button,
.btn,
.cta-button {
    transition: all 0.2s ease;
}

button:active,
.btn:active,
.cta-button:active {
    transform: scale(0.97);
}

.badge {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.badge:not(:empty) {
    animation: badgePop 0.4s ease;
}

@keyframes badgePop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Page transitions */
.page-transition {
    animation: pageSlideIn 0.5s ease;
}

@keyframes pageSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Talent Pool Admin View --- */
.talent-pool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.talent-item-card {
    background: var(--card-bg);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

[data-theme='dark'] .talent-item-card {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

.talent-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.talent-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.talent-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
}

.talent-info-main h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.talent-info-main p {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
}

.talent-skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.skill-tag {
    font-size: 0.7rem;
    padding: 4px 8px;
    background: rgba(13, 138, 188, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 500;
}

.talent-certs-preview {
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

[data-theme='dark'] .talent-certs-preview {
    border-color: #334155;
}

.cert-mini-item {
    font-size: 0.75rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-mini-item i {
    color: #f59e0b;
}

.admin-search-container {
    background: rgba(255, 255, 255, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
}

.feature-card-link {
    transition: all 0.3s ease;
}

.highlight-card {
    border-left: 5px solid var(--primary-color) !important;
    background: linear-gradient(to right, white, #f8fafc) !important;
}

[data-theme='dark'] .highlight-card {
    background: linear-gradient(to right, #1e293b, #0f172a) !important;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(13, 138, 188, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}