 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 20px;
        }

        /* Основной контейнер - адаптивная ширина */
        .dashboard {
            width: 1100px;
            min-width: 1200px;
            max-width: 1200px;
            backdrop-filter: blur(10px);
            border-radius: 0px 0px 32px 32px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            display: flex;
            overflow: hidden;
            min-height: 600px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        /* Левое меню */
        .sidebar {
            width: 320px;
            flex-shrink: 0;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);
            padding: 32px 16px;
            border-right: 1px solid rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            overflow-y: auto;
            max-height: 700px;
        }

        /* Правая область */
        .content-area {
            flex: 1;
    min-width: 0;
    padding: 40px 48px;
    background: rgba(255, 255, 255, 0.5); /* Прозрачность 60% */
    backdrop-filter: blur(12px); /* Размытие 12px */
    -webkit-backdrop-filter: blur(12px); /* Для Safari */
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    overflow-y: auto;
    transition: padding 0.3s ease;
    max-height: 700px;
    position: relative;
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.2);
        }

        /* ========== АДАПТИВНОСТЬ ========== */
        @media screen and (max-width: 1200px) {
            .dashboard {
                width: 95%;
                min-width: 95%;
                max-width: 95%;
            }
            
            .sidebar {
                width: 280px;
            }
        }

        @media screen and (max-width: 768px) {
            body {
                padding: 10px;
                align-items: flex-start;
            }

            .dashboard {
                width: 100%;
                min-width: 100%;
                max-width: 100%;
                flex-direction: column;
                min-height: auto;
                border-radius: 24px;
                margin: 0;
            }

            .sidebar {
                width: 100%;
                padding: 16px 12px;
                border-right: none;
                border-bottom: 1px solid rgba(0, 0, 0, 0.05);
                display: flex;
                flex-wrap: wrap;
                gap: 8px;
                background: white;
                max-height: none;
                overflow-y: visible;
            }

            .menu-title {
                width: 100%;
                margin-bottom: 8px;
                padding-left: 8px;
                font-size: 12px;
            }

            .menu-item {
                width: auto;
                flex: 1 1 auto;
                min-width: calc(50% - 4px);
                padding: 10px 12px;
                margin: 0;
                font-size: 13px;
                justify-content: center;
                background: #f8fafc;
                border-radius: 40px;
                text-align: center;
                white-space: normal;
                word-break: break-word;
                line-height: 1.3;
            }

            .content-area {
                padding: 24px 20px;
                max-height: none;
            }

            .content-card h2 {
                font-size: 1.5rem;
                white-space: normal;
                word-break: break-word;
                margin-bottom: 16px;
            }

            .document-list {
                grid-template-columns: 1fr;
            }
        }

        @media screen and (max-width: 480px) {
            .sidebar {
                padding: 12px 8px;
            }

            .menu-item {
                min-width: 100%;
                flex: 1 1 100%;
                font-size: 12px;
            }

            .content-area {
                padding: 16px 12px;
            }
        }

        /* Стили для меню */
        .menu-title {
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #94a3b8;
            font-weight: 600;
            margin-bottom: 24px;
            padding-left: 16px;
        }

        .menu-item {
            display: flex;
            align-items: center;
            padding: 14px 20px;
            margin: 4px 8px;
            border-radius: 16px;
            color: #334155;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
            background: transparent;
            width: calc(100% - 16px);
            text-align: left;
            font-size: 14px;
            line-height: 1.4;
            word-break: break-word;
        }

        .menu-item:hover {
            background: #f1f5f9;
            color: #0f172a;
        }

        .menu-item.active {
            background: #004a9b;
            color: white;
            box-shadow: 0 10px 20px -8px rgba(99, 102, 241, 0.5);
        }

        /* Стили для контента */
        .content-card {
            animation: fadeSlideIn 0.3s ease-out;
            width: 100%;
        }

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

        .content-card h2 {
            font-size: 1.8rem;
            font-weight: 700;
            background: #004a9b;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 24px;
            word-break: break-word;
        }

        .content-card p {
            color: #475569;
            line-height: 1.7;
            font-size: 1rem;
            margin-bottom: 20px;
        }

        /* Стили для документов с иконками */
        .document-list {
            display: grid;
            /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
            gap: 16px;
            margin: 20px 0;
        }

        .document-item {
            background: #f8fafc;
            border-radius: 16px;
            padding: 0;
            border: 1px solid #e2e8f0;
            transition: all 0.2s ease;
            overflow: hidden;
        }

        .document-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.2);
            border-color: #6366f1;
        }

        .document-link {
            display: flex;
            align-items: center;
            padding: 16px;
            text-decoration: none;
            color: inherit;
            gap: 16px;
            cursor: pointer;
        }

        .document-icon {
            width: 40px;
            height: 40px;
            background: white;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        /* Цвета иконок для разных типов документов */
        .icon-pdf {
            color: #ef4444;
        }
        .icon-doc {
            color: #2563eb;
        }
        .icon-xls {
            color: #16a34a;
        }
        .icon-ppt {
            color: #ea580c;
        }
        .icon-zip {
            color: #7c3aed;
        }
        .icon-link {
            color: #6366f1;
        }

        .document-info {
            flex: 1;
        }

        .document-name {
            font-weight: 600;
            color: #0f172a;
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .document-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #64748b;
            font-size: 0.85rem;
        }

        .document-size {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .document-size i {
            font-size: 0.8rem;
        }

        .document-format {
            background: #e2e8f0;
            padding: 2px 8px;
            border-radius: 100px;
            font-weight: 600;
            font-size: 0.7rem;
            text-transform: uppercase;
        }

        .document-link-icon {
            color: #94a3b8;
            transition: color 0.2s;
            font-size: 1rem;
        }

        .document-item:hover .document-link-icon {
            color: #6366f1;
        }

        /* Дополнительные стили (остаются без изменений) */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }

        .stat-card {
            background: #f8fafc;
            border-radius: 20px;
            padding: 20px;
            border: 1px solid #e2e8f0;
        }

        .stat-value {
            font-size: 2rem;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 4px;
        }

        .stat-label {
            color: #64748b;
            font-weight: 500;
        }

        .info-block {
            background: #f8fafc;
            border-radius: 20px;
            padding: 24px;
            margin: 20px 0;
            border: 1px solid #e2e8f0;
        }

        .info-block h3 {
            color: #0f172a;
            margin-bottom: 16px;
            font-size: 1.2rem;
        }

        .info-list {
            list-style: none;
        }

        .info-list li {
            padding: 12px 0;
            border-bottom: 1px solid #e2e8f0;
            color: #475569;
        }

        .info-list li:last-child {
            border-bottom: none;
        }

        .badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 100px;
            font-size: 0.85rem;
            font-weight: 600;
            background: #e0f2fe;
            color: #0369a1;
            margin-right: 8px;
            margin-bottom: 8px;
        }

        hr {
            margin: 24px 0;
            border: none;
            border-top: 1px solid #e2e8f0;
        }

        .teacher-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 20px 0;
        }

        .teacher-card {
            background: #f8fafc;
            border-radius: 16px;
            padding: 16px;
            text-align: center;
        }

        .teacher-name {
            font-weight: 600;
            color: #0f172a;
            margin-bottom: 4px;
        }

        .teacher-position {
            color: #64748b;
            font-size: 0.9rem;
        }

        .vacancy-item {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 16px;
            margin-bottom: 12px;
        }

/* ===== Menu copied from main page for official-info ===== */
body {
    flex-direction: column;
    align-items: stretch;
}

.official-main-nav {
    position: sticky;
    top: 16px;
    z-index: 50;
    width: min(1180px, calc(100% - 40px));
    margin: 16px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px 12px 18px;
    border: 1px solid rgba(35,120,255,.16);
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 999px;
    box-shadow: 0 18px 50px rgba(36,91,160,.12);
}

.official-main-nav a {
    color: inherit;
    text-decoration: none;
}

.official-main-nav .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.official-main-nav .logo img {
    display: block;
    width: clamp(160px, 16vw, 225px);
    height: auto;
    object-fit: contain;
}

.official-main-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #47617d;
    font-size: 14px;
}

.official-main-nav .nav-links a:hover,
.official-main-nav .nav-links a[aria-current="page"] {
    color: #0b1b2f;
}

.official-main-nav .nav-links a[aria-current="page"] {
    font-weight: 900;
}

.official-main-nav .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(35,120,255,.16);
    background: rgba(255,255,255,.72);
    color: #0b1b2f;
    font-weight: 800;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.official-main-nav .btn:hover {
    transform: translateY(-2px);
    background: rgba(232,244,255,.95);
    color: #2378ff;
}

.official-main-nav .btn-primary {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #35b8ff, #2378ff 58%, #0b4fc4);
    box-shadow: 0 20px 45px rgba(95,168,255,.30);
}

.official-main-nav .btn-primary:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #4cc2ff, #2f86ff 58%, #1560d8);
    box-shadow: 0 24px 55px rgba(95,168,255,.40);
}

@media (max-width: 1080px) {
    .official-main-nav {
        align-items: flex-start;
        border-radius: 28px;
        flex-wrap: wrap;
    }

    .official-main-nav .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 16px;
    }
}

@media (max-width: 640px) {
    .official-main-nav {
        width: min(100% - 20px, 1180px);
        margin-top: 10px;
        padding: 12px;
        justify-content: center;
    }

    .official-main-nav .logo img {
        width: 180px;
    }

    .official-main-nav .btn {
        width: 100%;
    }

    .official-main-nav .nav-links {
        font-size: 13px;
    }
}
