/* Полный обновленный CSS */
:root {
    --bg: #050607;
    --surface: #1b1e22;
    --surface-2: #26292d;
    --muted: #8b95a1;
    --accent: #ff3b30;
    --pill: #ffffff;
    --text: #ffffff;
    --card-radius: 18px;
    --gap: 16px;
    --container-w: 980px;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    --border: 1px solid rgba(255, 255, 255, 0.02);
    --university-color: #6366f1;
    --faculty-color: #10b981;
    --program-color: #f59e0b;
    --year-color: #ef4444;
}

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

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.45;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 24px;
    min-height: 100vh;
    background: var(--bg);
    padding-bottom: 100px;
}

/* Header */
.header {
    margin-bottom: 30px;
}

.page-title {
    font-size: 34px;
    font-weight: 700;
    margin: 6px 0 18px;
    color: var(--text);
}

.lead {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 18px;
}

/* Хлебные крошки */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0 25px;
    font-size: 14px;
}

.breadcrumb-item {
    color: var(--muted);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--surface);
    border: var(--border);
}

.breadcrumb-item:hover {
    background: var(--surface-2);
    color: var(--text);
}

.breadcrumb-item.active {
    background: var(--surface-2);
    color: var(--text);
    cursor: default;
}

.breadcrumb-separator {
    color: var(--muted);
}

/* Карточки с цветовым кодированием */
.clickable-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border-radius: var(--card-radius);
    margin-bottom: 12px;
    cursor: pointer;
    border: var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.clickable-card:hover {
    transform: translateY(-2px);
    background: var(--surface-2);
    box-shadow: var(--shadow);
}

.clickable-card:hover .card-arrow {
    transform: translateX(4px);
    color: var(--text);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.card-icon.university {
    background: linear-gradient(135deg, var(--university-color), #4f46e5);
}

.card-icon.faculty {
    background: linear-gradient(135deg, var(--faculty-color), #059669);
}

.card-icon.program {
    background: linear-gradient(135deg, var(--program-color), #d97706);
}

.card-icon.year {
    background: linear-gradient(135deg, var(--year-color), #dc2626);
    font-weight: 700;
    color: white;
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.card-description {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.card-arrow {
    color: var(--muted);
    font-size: 20px;
    font-weight: 300;
    transition: all 0.3s ease;
}

/* Обновленная нижняя навигация с кнопками поддержки */
.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.6), rgba(8, 8, 8, 0.95));
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    gap: 10px;
}

.nav-section {
    display: flex;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.support-section {
    display: flex;
    gap: 8px;
}

.nav-item {
    color: #bfc8cf;
    text-align: center;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.nav-item.active {
    color: white;
    font-weight: 700;
}

.nav-item:hover {
    color: white;
}

.nav-icon {
    font-size: 20px;
    font-weight: 300;
}

.nav-label {
    font-size: 11px;
    font-weight: 500;
}

/* Кнопки поддержки */
.support-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.support-btn.error-btn {
    background: var(--error);
}

.support-btn.manager-btn {
    background: var(--university-color);
}

.support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.support-btn-icon {
    font-weight: 600;
}

/* Улучшенные карточки курсов */
.course-card {
    background: var(--surface);
    border-radius: var(--card-radius);
    padding: 20px;
    margin-bottom: 16px;
    border: var(--border);
    position: relative;
}

.block-card {
    background: var(--surface);
    border-radius: var(--card-radius);
    padding: 20px;
    margin-bottom: 20px;
    border: var(--border);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--surface-2);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.course-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    padding-right: 80px;
}

.course-description {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.course-meta {
    margin: 10px 0;
}

.blocks-count {
    background: var(--surface-2);
    color: var(--muted);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.course-price {
    font-weight: 700;
    font-size: 20px;
    color: var(--success);
}

.course-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Стили для кнопок корзины */
.add-to-cart-btn {
    background: var(--success);
    color: white;
    border: 1px solid var(--surface-2);
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
}

.add-to-cart-btn:hover {
    background: #0da271;
    transform: translateY(-2px);
}

.in-cart-btn {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--surface-2);
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
}

.in-cart-btn:hover {
    background: var(--surface);
    transform: translateY(-2px);
}

.remove-from-cart-btn {
    background: var(--error);
    color: white;
    border: 1px solid var(--surface-2);
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
}

.remove-from-cart-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.clear-cart-btn {
    background: var(--error);
    color: white;
    border: 1px solid var(--surface-2);
    padding: 15px 25px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.clear-cart-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.view-course-btn {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--surface-2);
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-course-btn:hover {
    background: var(--surface);
    transform: translateY(-2px);
}

.buy-button {
    background: var(--success);
    color: white;
    border: 1px solid var(--surface-2);
    padding: 15px 25px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.buy-button:hover {
    background: #0da271;
    transform: translateY(-2px);
}

/* Убираем support-links из корзины и аккаунта */
.cart-page .support-links,
.account-page .support-links {
    display: none;
}

/* Стили для корзины */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-summary {
    background: var(--surface);
    border-radius: var(--card-radius);
    padding: 20px;
    margin: 20px 0;
    border: 2px solid var(--success);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.summary-header h3 {
    margin: 0;
    color: var(--text);
}

.total-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--success);
}

.summary-discount {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    border-radius: 10px;
    padding: 12px;
    margin: 15px 0;
}

.discount-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.discount-badge {
    background: var(--success);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.discount-text {
    color: var(--success);
    font-size: 14px;
    font-weight: 600;
}

.discount-prices {
    display: flex;
    align-items: center;
    gap: 10px;
}

.old-price {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 16px;
}

.new-price {
    color: var(--success);
    font-size: 20px;
    font-weight: 700;
}

.full-course-btn {
    background: var(--success);
    color: white;
    border: 1px solid var(--surface-2);
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.full-course-btn:hover {
    background: #0da271;
    transform: translateY(-2px);
}

/* Улучшенные стили для аккаунта */
.purchased-course-card {
    background: var(--surface);
    border-radius: var(--card-radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 2px solid var(--success);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.purchased-course-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.purchased-course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--success);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.partial-course-badge {
    background: var(--warning);
}

.course-full-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    margin-bottom: 15px;
}

.course-main-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

.course-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.course-detail-item {
    color: var(--muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-stats {
    display: flex;
    gap: 15px;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--success);
}

.stat-label {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.course-year-badge {
    background: var(--year-color);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

/* Стили для страницы курса */
.purchase-options {
    margin: 30px 0;
}

.purchase-option {
    background: var(--surface);
    border-radius: var(--card-radius);
    padding: 25px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 18px;
}

.purchase-option.full-course {
    border-color: var(--success);
    background: linear-gradient(135deg, var(--surface), rgba(16, 185, 129, 0.1));
}

.discount-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.option-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--text);
}

.option-prices {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.option-description {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.purchase-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.purchase-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.purchase-divider span {
    background: var(--bg);
    padding: 0 15px;
    color: var(--muted);
    font-size: 14px;
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 20px;
}

.block-info {
    flex: 1;
}

.block-info h4 {
    margin-bottom: 8px;
    color: var(--text);
}

.block-info p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.block-purchase {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 120px;
}

.block-price {
    font-weight: 700;
    font-size: 18px;
    color: var(--success);
}

.buy-block-btn {
    background: var(--surface-2);
    color: white;
    border: 1px solid var(--surface-2);
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.buy-block-btn:hover {
    background: var(--surface);
    transform: translateY(-2px);
}

.purchased-badge {
    background: var(--success);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

/* Улучшенные стили для тем */
.topics-section {
    margin-top: 20px;
}

.topics-section h5 {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 600;
}

.topic-card {
    background: var(--surface-2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.topic-card:hover {
    background: var(--surface);
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.topic-card.locked {
    opacity: 0.7;
    cursor: not-allowed;
}

.topic-card.locked:hover {
    transform: none;
    background: var(--surface-2);
}

.topic-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.topic-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.topic-card.locked .topic-icon {
    background: var(--muted);
}

.topic-title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.topic-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.topic-description {
    color: var(--muted);
    font-size: 12px;
    flex: 1;
}

.free-badge {
    background: var(--success);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

/* Loading States */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--muted);
    display: none;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: var(--muted);
    font-size: 16px;
}

.error-message {
    text-align: center;
    color: #fed7d7;
    background: rgba(239, 68, 68, 0.2);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Back button */
.back-button {
    background: var(--surface);
    border: var(--border);
    color: var(--text);
    padding: 12px 16px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--surface-2);
    transform: translateY(-2px);
}

/* Content List */
.content-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Empty cart */
.empty-cart {
    text-align: center;
    padding: 40px 20px;
}

.cart-actions {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Адаптивность */
@media (max-width: 900px) {
    .container {
        padding: 18px;
    }

    .page-title {
        font-size: 28px;
    }

    .bottom-nav {
        padding: 10px 15px;
    }

    .nav-section {
        gap: 20px;
    }

    .nav-item {
        min-width: 50px;
    }

    .support-btn {
        width: 40px;
        height: 40px;
    }

    .breadcrumbs {
        font-size: 13px;
    }

    .breadcrumb-item {
        padding: 4px 8px;
    }

    .block-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .block-purchase {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .course-header {
        flex-direction: column;
        gap: 8px;
    }

    .course-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .view-course-btn,
    .add-to-cart-btn,
    .in-cart-btn {
        width: 100%;
        text-align: center;
    }

    .course-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .course-full-info {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-8 {
    gap: 8px;
}

.gap-16 {
    gap: 16px;
}

.w-full {
    width: 100%;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

/* Focus states for accessibility */
button:focus,
select:focus {
    outline: 2px solid var(--surface-2);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: var(--surface-2);
    color: white;
/* Стили для кнопки "Подробнее" */
.view-details-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 1px solid var(--surface-2);
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.view-details-btn:active {
    transform: translateY(0);
}

/* Адаптивность для кнопок */
@media (max-width: 768px) {
    .course-actions {
        flex-direction: column;
        width: 100%;
    }

    .view-details-btn,
    .add-to-cart-btn,
    .in-cart-btn {
        width: 100%;
        text-align: center;
    }
/* Стили для отображения цены с учетом скидки */
.course-price-adjusted {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.original-price {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 14px;
}

.adjusted-price {
    font-weight: 700;
    font-size: 20px;
    color: var(--success);
}

.discount-info-small {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

.purchased-blocks-badge {
    background: var(--success);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
/* Дополнительные стили для улучшенного отображения */
.course-card-enhanced {
    background: var(--surface);
    border-radius: var(--card-radius);
    padding: 20px;
    margin-bottom: 16px;
    border: var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.course-card-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 255, 255, 0.1);
}

.blocks-badge {
    background: var(--surface-2);
    color: var(--text);
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blocks-badge.purchased {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.3);
}

.price-fully-purchased {
    font-size: 16px;
    color: var(--success);
    font-weight: 700;
    background: rgba(16, 185, 129, 0.15);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
}

.purchased-course-btn {
    background: var(--surface-2);
    color: var(--muted);
    border: 1px solid var(--surface-2);
    padding: 12px 20px;
    border-radius: 12px;
    cursor: not-allowed;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 120px;
    opacity: 0.7;
}

.loading-enhanced {
    text-align: center;
    padding: 40px 20px;
    color: var(--muted);
    font-size: 16px;
}

.loading-enhanced::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--muted);
    border-top: 2px solid var(--success);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
/* Стили для нижней панели навигации */
.bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.nav-item:hover {
    background-color: #f5f5f5;
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-text {
    font-weight: 500;
}

/* Добавьте отступ для основного контента, чтобы он не перекрывался панелью */
.container {
    padding-bottom: 70px;
}