

/* Start:/bitrix/templates/bs_education_s1/components/bitrix/news.list/spec_employees/style.css?17807634649076*/
/* ==========================================================================
   0. КОМПОНЕНТ ВКЛАДОК (БЕЗ BOOTSTRAP)
   ========================================================================== */
.specialties-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.tab-nav-btn {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-nav-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.tab-nav-btn.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2);
}

.specialties-tabs-content .tab-panel {
    display: none;
}

.specialties-tabs-content .tab-panel.active {
    display: block;
    animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   1. ОБЩАЯ СЕТКА И КОНТЕЙНЕР
   ========================================================================== */
.specialties-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

.specialties-container *, 
.specialties-container *::before, 
.specialties-container *::after {
    box-sizing: inherit;
}

/* ==========================================================================
   2. АККОРДЕОНЫ (DETAILS / SUMMARY)
   ========================================================================== */
.spec-group {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.spec-group:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.spec-group summary::-webkit-details-marker {
    display: none;
}
.spec-group summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: #f8fafc;
    cursor: pointer;
    font-weight: 600;
    user-select: none;
    transition: background-color 0.2s ease;
}

.spec-group summary:hover {
    background-color: #f1f5f9;
}

.spec-group .title-text {
    font-size: 1.15rem;
    color: #1e293b;
    line-height: 1.4;
    padding-right: 15px;
}

.spec-group .title-icon {
    font-size: 0.75rem;
    color: #64748b;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.spec-group[open] {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.spec-group[open] summary {
    background-color: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.spec-group[open] .title-icon {
    transform: rotate(180deg);
    background: #64748b;
    color: #ffffff;
    border-color: #64748b;
}

.spec-group .staff-list {
    padding: 24px;
    background: #f1f5f9; 
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* ==========================================================================
   3. КАРТОЧКИ ПРЕПОДАВАТЕЛЕЙ (GLASSMORPHISM)
   ========================================================================== */
.staff-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04), 
                inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.staff-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.07), 
                inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
}

.staff-header {
    margin-bottom: 12px;
}

.staff-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.staff-post {
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
}

.staff-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(226, 232, 240, 0.8);
}

.staff-contacts a {
    font-size: 0.9rem;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s ease;
}

.staff-contacts a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.staff-body {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.6;
}

.staff-body > div {
    margin-bottom: 8px;
}

.field-empty {
    color: #94a3b8;
    font-style: italic;
    font-weight: normal;
}

/* ==========================================================================
   4. КНОПКИ МОДАЛОК
   ========================================================================== */
.staff-modal-triggers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(226, 232, 240, 0.8);
}

.modal-wrapper {
    display: inline-block;
}

.btn-modal-open {
    background: rgba(255, 255, 255, 0.8);
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative !important;
    z-index: 5 !important;
}

.btn-modal-open:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.btn-modal-open:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

/* ==========================================================================
   5. ВСПЛЫВАЮЩИЕ ОКНА (ЖЕСТКИЙ ЦЕНТР)
   ========================================================================== */
.staff-dialog {
    border: none;
    border-radius: 12px;
    padding: 0;
    max-width: 650px; 
    width: 90%;
    background: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 85vh; 

    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    margin: 0 !important; 
    transform: translate(-50%, -50%) scale(0.95);
    
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    right: auto !important;
    bottom: auto !important;
    z-index: 99999 !important;
}

.staff-dialog[open] {
    display: flex !important;
    flex-direction: column;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.dialog-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.4;
}

.btn-modal-close {
    background: transparent;
    border: none;
    font-size: 1.7rem;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 5px;
    transition: color 0.15s ease;
}

.btn-modal-close:hover {
    color: #ef4444;
}

.dialog-body {
    padding: 24px;
    overflow-y: auto; 
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
    flex-grow: 1;
}

.staff-dialog::backdrop {
    background-color: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

.dialog-body::-webkit-scrollbar {
    width: 6px;
}
.dialog-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.dialog-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* ==========================================================================
   6. АДАПТИВНОСТЬ
   ========================================================================== */
@media (min-width: 992px) {
    .spec-group .staff-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Добавьте этот фрагмент в секцию 0. КОМПОНЕНТ ВКЛАДОК вашего style.css */
.tab-loader {
    padding: 30px;
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    font-style: italic;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
/* End */
/* /bitrix/templates/bs_education_s1/components/bitrix/news.list/spec_employees/style.css?17807634649076 */
