/* personel_detay.css — стили для страницы персонала */
:root{ --turquoise: #06B6D4; --turquoise-dark: #0ea5a4; }
/* === ГЛОБАЛЬНЫЕ СТИЛИ ШРИФТОВ === */
.team-details-content,
.team-details-content .content-block,
.team-details-content .content-block h3,
.team-details-content .content-block p,
.team-details-content .content-block li,
.team-details-content .education-list li,
.team-details-content .awards-list li,
.team-details-content .bio-text {
    font-family: 'Spartan', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* === 1. АНИМАЦИЯ === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; animation-fill-mode: forwards; opacity: 0; will-change: transform, opacity; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; animation-fill-mode: forwards; opacity: 0; will-change: opacity; }
.animate-scale-in { animation: scaleIn 0.6s ease-out forwards; animation-fill-mode: forwards; opacity: 0; will-change: transform, opacity; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }
@media (max-width: 991.98px) {
    .team-details-content { margin-top: 30px; }
    .team-details-sidebar,
    .team-details-content .content-block { padding: 30px; }
    .edu-breadcrumb-area .breadcrumb-inner .page-title h1.title,
    .edu-breadcrumb-area .breadcrumb-inner .page-title h5.title { font-size: 32px; line-height: 1.3; }
}
@media (max-width: 575.98px) {
    .team-details-sidebar,
    .team-details-content .content-block { padding: 20px; }
    .edu-team-details-area { padding-top: 20px; padding-bottom: 80px; }
    .team-details-content .content-block h3 { font-size: 20px; }
    .edu-breadcrumb-area .breadcrumb-inner .page-title h1.title,
    .edu-breadcrumb-area .breadcrumb-inner .page-title h5.title { font-size: 26px; }
    .th-team-form { padding: 25px; }
}
/* === SIDEBAR STYLES === */
.team-details-sidebar { background-color: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 30px; padding-bottom: 40px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); margin-top: 20px; margin-bottom: 40px; }
.team-details-sidebar .team-name { font-size: 22px; font-weight: 700; margin-top: 15px; margin-bottom: 10px; color: #333; }
.team-details-sidebar .th-social { display: grid; grid-template-columns: repeat(auto-fill, minmax(45px, 1fr)); gap: 10px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 2px solid #e2e8f0; }
.team-details-sidebar .th-social a { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); border: none; border-radius: 10px; color: #475569; font-size: 18px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.team-details-sidebar .th-social a::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #2563EB 0%, #1e40af 100%); opacity: 0; transition: opacity 0.3s ease; z-index: 0; }
.team-details-sidebar .th-social a i { position: relative; z-index: 1; transition: transform 0.3s ease; }
.team-details-sidebar .th-social a:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25); }
.team-details-sidebar .th-social a:hover::before { opacity: 1; }
.team-details-sidebar .th-social a:hover i { color: #ffffff; transform: scale(1.15); }
.team-details-sidebar .th-social a[title*="ORCID"]:hover { box-shadow: 0 8px 20px rgba(166, 206, 57, 0.3); }
.team-details-sidebar .th-social a[title*="ORCID"]:hover::before { background: linear-gradient(135deg, #A6CE39, #8AB82E); }
.team-details-sidebar .th-social a[title*="Scopus"]:hover { box-shadow: 0 8px 20px rgba(255, 108, 0, 0.3); }
.team-details-sidebar .th-social a[title*="Scopus"]:hover::before { background: linear-gradient(135deg, #FF6C00, #E65100); }
.team-details-sidebar .th-social a[title*="Scholar"]:hover { box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3); }
.team-details-sidebar .th-social a[title*="Scholar"]:hover::before { background: linear-gradient(135deg, #4285F4, #1a73e8); }
.team-details-sidebar .th-social a[title*="ResearchGate"]:hover { box-shadow: 0 8px 20px rgba(0, 208, 175, 0.3); }
.team-details-sidebar .th-social a[title*="ResearchGate"]:hover::before { background: linear-gradient(135deg, #00D0AF, #00B89C); }
.team-details-sidebar .th-social a[title*="LinkedIn"]:hover { box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3); }
.team-details-sidebar .th-social a[title*="LinkedIn"]:hover::before { background: linear-gradient(135deg, #0A66C2, #004182); }
.info-block { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; }
.info-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.info-block .info-title { font-size: 13px; font-weight: 600; color: #888; margin-bottom: 6px; display: flex; align-items: center; text-transform: uppercase; letter-spacing: 0.5px; }
.info-block .info-title i { margin-right: 10px; color: #0192AD; font-size: 18px; width: 20px; text-align: center; }
.info-block .info-title i.fa-certificate,
.info-block .info-title i.fa-award { color: #0192AD; }
.info-block .info-content { font-size: 16px; font-weight: 500; color: #333; padding-left: 30px; }
.info-block .info-content a { color: #333; text-decoration: none; }
.info-block .info-content a:hover { color: #2563EB; text-decoration: underline; }
.info-block .info-content.sertifika-link a { color: #B91C1C; }
.info-block .info-content.sertifika-link a:hover { color: #991B1B; }
.info-block .info-content.sertifika-link { display: block; margin-top: 8px; }
.info-block .info-content.sertifika-link i { margin-right: 5px; }
.team-details-content .content-block { background-color: #f8f9fa; border-radius: 10px; padding: 35px; margin-bottom: 30px; border: 1px solid #e9ecef; }
.team-details-content .content-block h3 { font-size: 24px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; color: #333; }
.team-details-content .content-block h3 i,
.team-details-content .content-block h3 svg.ico { margin-right: 12px; width: 28px; height: 28px; font-size: 28px; vertical-align: middle; color: var(--turquoise); fill: var(--turquoise); flex: 0 0 28px; }
.team-details-content .content-block h3 svg.edu-icon { fill: var(--turquoise); }
.team-details-content .content-block h3 svg.award-icon { fill: var(--turquoise); }
.team-details-content .bio-tag { display: inline-block; background-color: #0192AD; color: #fff; padding: 5px 12px; border-radius: 5px; font-size: 14px; font-weight: 600; margin-bottom: 15px; }
.team-details-content .bio-text { font-size: 16px; line-height: 1.7; color: #555; }
.team-details-content .education-list,
.team-details-content .awards-list { list-style: none; padding-left: 0; }
.team-details-content .education-list li,
.team-details-content .awards-list li { position: relative; padding-left: 25px; font-size: 16px; color: #333; margin-bottom: 12px; }
.team-details-content .education-list li::before,
.team-details-content .awards-list li::before { content: '\2022'; color: var(--turquoise); font-weight: bold; display: inline-block; width: 20px; margin-left: -25px; position: absolute; left: 10px; font-size: 22px; }
.team-details-content .bio-collapsed { max-height: 220px; overflow: hidden; position: relative; }
.team-details-content .bio-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; pointer-events: none; background: linear-gradient(180deg, rgba(248,249,250,0) 0%, #f8f9fa 70%); }
.fas { font-family: "Font Awesome 5 Free" !important; font-weight: 900; }
.far { font-family: "Font Awesome 5 Free" !important; font-weight: 400; }
.fab { font-family: "Font Awesome 5 Brands" !important; font-weight: 400; }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 30px; }
.metric-card { background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); border-radius: 12px; padding: 28px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid #e2e8f0; position: relative; overflow: hidden; opacity: 0; transform: translateY(30px); animation: fadeInUp 0.6s ease forwards; }
.metric-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--turquoise-dark) 0%, var(--turquoise) 100%); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.metric-card:hover::before { transform: scaleX(1); }
.metric-card:nth-child(1) { animation-delay: 0.1s; }
.metric-card:nth-child(2) { animation-delay: 0.2s; }
.metric-card:nth-child(3) { animation-delay: 0.3s; }
.metric-card:nth-child(4) { animation-delay: 0.4s; }
.metric-card:hover { box-shadow: 0 12px 40px rgba(6, 182, 212, 0.12); transform: translateY(-6px); border-color: #cbd5e1; }
.metric-header { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid #e2e8f0; font-family: 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: 1.2px; color: #1e293b; display: flex; align-items: center; gap: 10px; }
.metric-header::before { content: ''; width: 6px; height: 6px; background: linear-gradient(135deg, var(--turquoise-dark), var(--turquoise)); border-radius: 50%; box-shadow: 0 0 10px rgba(6, 182, 212, 0.28); }
.metric-items { display: flex; flex-direction: column; gap: 16px; }
.metric-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: rgba(248, 250, 252, 0.5); border-radius: 8px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; border: 1px solid transparent; }
.metric-item:hover { background: linear-gradient(135deg, rgba(6,182,212,0.06) 0%, rgba(6,182,212,0.03) 100%); border-color: rgba(6,182,212,0.12); transform: translateX(4px); }
.metric-item:hover .metric-value { transform: scale(1.08); color: var(--turquoise); }
.metric-item:hover .metric-label { color: var(--turquoise); font-weight: 600; }
.metric-label { font-size: 14px; color: #64748b; font-weight: 500; font-family: 'Poppins', sans-serif; transition: all 0.3s ease; letter-spacing: 0.3px; }
.metric-value { font-size: 28px; font-weight: 800; font-family: 'Poppins', sans-serif; line-height: 1; color: var(--turquoise); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); text-shadow: 0 2px 4px rgba(6,182,212,0.08); }
@media (max-width: 768px) { .metrics-grid { grid-template-columns: 1fr; gap: 20px; } .bio-text h1 { font-size: 24px; } .bio-text h2 { font-size: 20px; } .bio-text h3 { font-size: 18px; } .metric-card { padding: 24px; } .metric-value { font-size: 26px; } .metric-header { font-size: 16px; } }
@media (max-width: 480px) { .metric-card { padding: 20px; } .metric-value { font-size: 24px; } .metric-item { padding: 10px 12px; } }
.team-details-sidebar .bio-tag { background-color: #f0f0f0; color: #007bff; display: inline-block; padding: 4px 10px; margin-top: 5px; margin-bottom: 20px; border-radius: 4px; font-size: 18px; font-weight: 600; line-height: 1; }
.course-details-content .nav-tabs { border-bottom: 2px solid #e5e5e5; margin-bottom: 0; }
.course-details-content .nav-tabs .nav-item { margin-bottom: -2px; }
.course-details-content .nav-tabs .nav-link { border: none; border-bottom: 3px solid transparent; color: #64748b; font-weight: 600; font-size: 16px; padding: 15px 25px; transition: all 0.3s ease; background: transparent; }
.course-details-content .nav-tabs .nav-link:hover { border-bottom-color: #cbd5e1; color: #3B82F6; }
.course-details-content .nav-tabs .nav-link.active { border-bottom-color: #3B82F6; color: #3B82F6; background: transparent; }
.course-details-content .tab-content { background: #ffffff; }
@media (max-width: 768px) { .course-details-content .nav-tabs .nav-link { font-size: 14px; padding: 12px 15px; } }
@media (max-width: 480px) { .course-details-content .nav-tabs { flex-wrap: wrap; } .course-details-content .nav-tabs .nav-link { font-size: 13px; padding: 10px 12px; } }
