:root {
    --bg-primary: #000000;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --text-tertiary: #666666;
    --accent: #ffffff;
    --border: #333333;
    --success: #00ff9d;
    --hover: #222222;
    --filter-bg: #222222;
    --filter-active: #00ff9d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 12px;
    min-height: 100vh;
    letter-spacing: -0.01em;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
.header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.user-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    flex-shrink: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.user-info h1 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.user-id {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 400;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.stat-card:hover {
    background: var(--hover);
    transform: translateY(-1px);
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.stat-value.ton {
    color: var(--success);
    font-size: 16px;
}

.stat-value.usd {
    font-size: 12px;
    color: var(--text-secondary);
}

.stat-label {
    font-size: 10px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

/* Refresh Button */
.refresh-btn {
    width: 100%;
    padding: 14px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.refresh-btn:hover {
    background: var(--hover);
    border-color: var(--accent);
}

.refresh-btn:active {
    transform: scale(0.98);
}

.refresh-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--border);
}

/* Filters */
.filters-section {
    margin-bottom: 20px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.filter-tab {
    background: var(--filter-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    background: var(--hover);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--filter-active);
    color: var(--bg-primary);
    border-color: var(--filter-active);
}

.filter-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-select {
    background: var(--filter-bg);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    min-width: 120px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--filter-active);
}

.filter-search {
    background: var(--filter-bg);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    flex-grow: 1;
    min-width: 150px;
}

.filter-search:focus {
    outline: none;
    border-color: var(--filter-active);
}

.active-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.active-filter {
    background: var(--filter-active);
    color: var(--bg-primary);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.clear-filters {
    background: transparent;
    color: var(--text-tertiary);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-filters:hover {
    color: var(--text-primary);
    border-color: var(--text-tertiary);
}

/* Inventory Title */
.inventory-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.title-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.item-count {
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.item-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    cursor: pointer;
}

.item-card:hover {
    background: var(--hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ИСПРАВЛЕНИЕ: Контейнер для изображения */
.item-image-container {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-card));
    border-radius: 8px;
    padding: 8px;
    overflow: hidden;
    position: relative;
}

.item-image {
    max-width: 80%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

/* Исправление для изображений в карточках */
.item-image-container img,
.market-item-image img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
    border-radius: 6px;
}

.item-name {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text-primary);
    line-height: 1.3;
    min-height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.item-type {
    font-size: 9px;
    color: var(--text-tertiary);
    background: var(--bg-primary);
    padding: 3px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.item-price {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-ton {
    font-size: 14px;
    font-weight: 700;
    color: var(--success);
}

.price-usd {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Для предметов рынка */
.market-item-image {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-card));
    border-radius: 8px;
    padding: 8px;
    overflow: hidden;
}

.market-item-image img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
    border-radius: 4px;
}

/* Type badges */
.type-badge {
    display: inline-block;
    background: var(--bg-primary);
    color: var(--text-tertiary);
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 10px;
    margin: 1px;
    border: 1px solid var(--border);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-tertiary);
}

.empty-icon {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* Error State */
.error-message {
    text-align: center;
    padding: 40px 20px;
}

.error-title {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.error-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 14px;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 2px solid var(--border);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-options {
        flex-direction: column;
    }
    
    .filter-select, .filter-search {
        width: 100%;
    }
    
    .container {
        padding: 0 6px;
    }
    
    body {
        padding: 10px;
    }
    
    .item-card {
        min-height: 200px;
    }
    
    .item-image-container {
        height: 90px;
    }
    
    .item-image {
        max-height: 70px;
    }
}

@media (max-width: 400px) {
    .items-grid {
        grid-template-columns: 1fr;
    }
    
    .user-section {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .avatar, .avatar-placeholder {
        width: 56px;
        height: 56px;
        font-size: 18px;
    }
    
    .item-card {
        min-height: 190px;
    }
    
    .item-image-container {
        height: 80px;
    }
    
    .item-image {
        max-height: 60px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* Модальное окно для графиков */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Стили для мобильных устройств */
.is-mobile .item-card {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.is-mobile .items-grid {
    will-change: transform;
    transform: translateZ(0);
}

.is-mobile .filter-tab,
.is-mobile .nav-btn {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.is-mobile .filter-tab:active,
.is-mobile .nav-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* Улучшаем скролл на iOS */
.is-mobile .page-content {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

/* Предотвращаем "скачки" при скролле */
.is-mobile body {
    overscroll-behavior: none;
}

/* Анимации для мобильных */
@keyframes mobileFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes mobileFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}

/* Дополнительные стили для модального окна */
.modal-overlay {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Стили для карточек предметов в статистике */
.market-item {
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.market-item:active {
    transform: scale(0.98);
}

/* Фиксация для правильного отображения графиков */
.chart-wrapper canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Стили для модального окна с деталями предмета */
.modal-content {
    max-height: 85vh;
    overflow-y: auto;
}

.modal-content h3 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
}

.modal-content .item-details {
    background: var(--bg-primary);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
}

.modal-content .detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.modal-content .detail-label {
    color: var(--text-tertiary);
}

.modal-content .detail-value {
    color: var(--text-primary);
    font-weight: 500;
}

.modal-content .detail-value.ton {
    color: var(--success);
    font-weight: 600;
}

.modal-content .chart-container {
    margin-top: 20px;
}

.modal-content .chart-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

/* Прогресс-бар */
.progress-bar {
    height: 6px;
    background: var(--bg-primary);
    border-radius: 3px;
    overflow: hidden;
    flex: 1;
}

.progress-fill {
    height: 100%;
    background: var(--success);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 10px;
    color: var(--text-tertiary);
    min-width: 40px;
    text-align: right;
}

/* Кнопка закрытия цены */
.item-price-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--success);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* Дополнительные стили для карточек рынка */
.market-item .item-price {
    margin-top: auto;
}

/* Гарантируем, что изображения всегда видны */
.item-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 80px;
}

/* Исправление для карточек предметов рынка */
.market-item .item-image-container {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-card));
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

/* Улучшение для изображений в карточках */
.item-image-container, .market-item-image {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-card));
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.item-image-container img, .market-item-image img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
    border-radius: 6px;
}

/* Стили для разделения предметов инвентаря и рынка */
.item-card.inventory-item {
    border: 1px solid #00ff9d;
}

.item-card.market-item {
    border: 1px solid #ffaa00;
}

.item-card.inventory-item .item-type {
    background: rgba(0, 255, 157, 0.1);
    color: #00ff9d;
}

.item-card.market-item .item-type {
    background: rgba(255, 170, 0, 0.1);
    color: #ffaa00;
}
/* Стили для модального окна предмета рынка */
.market-item-modal {
    max-width: 500px;
    margin: 0 auto;
}

.market-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.market-item-image-large {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    flex-shrink: 0;
}

.market-item-image-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-card));
    padding: 8px;
}

.market-item-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    line-height: 1.3;
}

.market-item-category {
    font-size: 12px;
    color: var(--text-tertiary);
    background: var(--bg-primary);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid var(--border);
}

.market-item-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.stat-card.compact {
    padding: 12px;
    text-align: center;
}

.stat-card.compact .stat-value {
    font-size: 16px;
    margin-bottom: 2px;
}

.stat-card.compact .stat-label {
    font-size: 10px;
}

.market-item-supply {
    background: var(--bg-card);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.supply-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-primary);
}

.supply-progress {
    height: 8px;
    background: var(--bg-primary);
    border-radius: 4px;
    overflow: hidden;
}

.supply-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--success), #00cc88);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.market-item-description {
    background: var(--bg-card);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.market-item-description h4 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.market-item-description p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.market-item-history {
    background: var(--bg-card);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.history-header h4 {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.history-loading {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-tertiary);
}

.loading-spinner.small {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.history-chart {
    height: 200px;
    margin-bottom: 15px;
}

.history-summary {
    background: var(--bg-primary);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.price-change {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.price-change.positive .change-amount,
.price-change.positive .change-percent {
    color: var(--success);
}

.price-change.negative .change-amount,
.price-change.negative .change-percent {
    color: #ff4757;
}

.change-label {
    font-size: 12px;
    color: var(--text-tertiary);
}

.change-value {
    font-size: 14px;
    font-weight: 600;
}

.change-amount {
    margin-right: 5px;
}

.price-range {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}

.range-item {
    text-align: center;
}

.range-label {
    display: block;
    color: var(--text-tertiary);
    margin-bottom: 2px;
}

.range-value {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
}

.market-item-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--success);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #00cc88;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--hover);
    transform: translateY(-1px);
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .market-item-header {
        flex-direction: column;
        text-align: center;
    }
    
    .market-item-image-large {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100px;
        height: 100px;
    }
    
    .market-item-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .market-item-actions {
        flex-direction: column;
    }
    
    .price-range {
        flex-direction: column;
        gap: 8px;
    }
    
    .range-item {
        display: flex;
        justify-content: space-between;
    }
}

@media (max-width: 400px) {
    .market-item-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card.compact {
        padding: 10px;
    }
}
/* Добавьте в конец style.css */
.modal-content {
    max-height: 85vh;
    overflow-y: auto;
}

.modal-content .item-details {
    background: var(--bg-primary);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
}

.modal-content .detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.modal-content .detail-label {
    color: var(--text-tertiary);
}

.modal-content .detail-value {
    color: var(--text-primary);
    font-weight: 500;
}

.modal-content .detail-value.ton {
    color: var(--success);
    font-weight: 600;
}

/* Адаптивные стили для мобильных */
@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-history {
        grid-template-columns: 1fr;
    }
    
    .stat-detailed {
        grid-template-columns: 1fr;
    }
    
    .supply-analysis {
        grid-template-columns: 1fr;
    }
    
    .modal-tabs {
        flex-direction: column;
    }
    
    .modal-tab {
        padding: 8px;
        font-size: 11px;
    }
}