/* ===== ОСНОВНЫЕ СТИЛИ ЛИЧНОГО КАБИНЕТА ===== */
.dashboard-container, .mytreasure-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* ===== ШАПКА ЛИЧНОГО КАБИНЕТА ===== */
.dashboard-header {
    background: linear-gradient(135deg, #333332 0%, #000000 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.dashboard-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

.dashboard-header h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dashboard-header p {
    margin: 10px 0 0;
    opacity: 0.9;
    font-size: 1.1rem;
}


/* Сетка карточек */
.dashboard-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    align-items: stretch;
}

/* Убираем подчеркивание у всех ссылок в карточках */
.dashboard-card a,
.dashboard-card span,
.dashboard-card .btn {
    text-decoration: none;
}

.dashboard-card *:hover {
    text-decoration: none;
}

/* ===== КАРТОЧКИ ДАШБОРДА ===== */
.dashboard-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

/* Убираем псевдоэлемент который мешает кликам */
.dashboard-card::before {
    display: none;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: #000000;
}

/* Эффект при нажатии (активации) */
.dashboard-card:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Контент карточки */
.dashboard-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dashboard-card h3 {
    color: #000000;
    margin-bottom: 15px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.dashboard-card:hover h3 {
    color: #000000;
}

.dashboard-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* УБИРАЕМ КОНТЕЙНЕР ДЛЯ КНОПКИ - он нам не нужен */
.dashboard-card-actions {
    display: none;
}

/* Убираем стили для кнопок внутри карточек */
.dashboard-card .btn {
    display: none;
}

/* ===== КНОПКИ БЕЗ РАМКИ ===== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: #000000;
    text-decoration: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
    text-align: center;
    position: relative;
    font-size: 16px;
}

/* Эффект при наведении на кнопку - подчеркивание */
.btn::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #000000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.btn:hover::after {
    transform: scaleX(1);
}

.btn:hover {
    transform: translateY(-2px);
    background: transparent;
    color: #000000;
    box-shadow: none;
}

/* Варианты кнопок без рамки */
.btn-primary {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 16px;
}

.btn-secondary {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 16px;
}

.btn-danger {
    background: transparent;
    border: none;
    color: #171717;
    font-size: 16px;
}


/* ===== ЗАГОЛОВКИ СТРАНИЦ ===== */
.page-header {
    background: linear-gradient(135deg, #000000 0%, #393939 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-header h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ===== СТИЛИ ДЛЯ ИСТОРИИ ПРОСМОТРОВ ===== */
.view-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.view-history-stats {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.view-history-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    
}

/* Сетка товаров в стиле главной страницы */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 30px 0;
}

/* Карточка товара - СТИЛЬ ГЛАВНОЙ СТРАНИЦЫ */
.product-card {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: visible;
    z-index: 1;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Кликабельная область карточки */
.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
}

/* Контейнер изображения */
.product-image-container {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Бейдж истории просмотров */
.view-history-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

/* Информация о товаре */
.product-info {
    padding: 15px;
    flex: 0 0 auto;
    position: relative;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #2c3e50;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: #2c3e50;
    text-decoration: none;
}

.product-title a:hover {
    color: #000000;
}

/* Цены */
.product-price {
    margin-bottom: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 14px;
    margin-right: 8px;
}

.new-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
}

.price {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

/* Мета-информация */
.view-history-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Кнопка удаления */
.remove-form {
    position: absolute;
    top: 15px;
    right: 15px;
}

.btn-remove {
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* ===== ПАНЕЛЬ ПРИ НАВЕДЕНИИ (как на главной) ===== */
.product-hover-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
    border-radius: 0 0 12px 12px;
    height: auto;
    max-height: 280px;
    box-shadow: none;
    border-top: 1px solid #f0f0f0;
}

.panel-content {
    background: white;
    border-radius: 0 0 12px 12px;
    padding: 15px 12px 12px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Дополнительная информация в панели */
.product-details {
    margin-bottom: 15px;
}

/* Категория */
.product-category {
    font-size: 10px;
    color: #7f8c8d;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Улучшенная мета-информация */
.product-meta {
    margin: 8px 0;
    width: 100%;
}

.stock-info {
    margin-bottom: 6px;
}

.stock-badge.in-stock {
    background: #27ae60;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.rating-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.stars {
    position: relative;
    display: inline-block;
    color: #ddd;
    font-size: 12px;
}

.stars-filled {
    position: absolute;
    top: 0;
    left: 0;
    color: #f39c12;
    overflow: hidden;
    white-space: nowrap;
}

.review-count {
    font-size: 11px;
    color: #7f8c8d;
}

/* Цены в панели - центрированные */
.base-price {
    margin: 10px 0;
    text-align: center;
}

.old-price-small {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 13px;
    margin-right: 6px;
}

.current-price-small {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

/* Кнопка "Смотреть" в панели */
.product-actions {
    margin-top: 15px;
    width: 100%;
}



/* ===== АКТИВАЦИЯ ПАНЕЛИ ПРИ НАВЕДЕНИИ ===== */
.product-card:hover {
    z-index: 200;
}



/* Обновляем стили для кнопок в карточках товаров */
.buy-now-btn {
    width: auto;
    padding: 10px 20px;
    background: transparent;
    color: #000000;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
}

.buy-now-btn::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 1px;
    background: #000000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.buy-now-btn:hover::after {
    transform: scaleX(1);
}

.buy-now-btn:hover {
    background: transparent;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: none;
}

/* Стили для формы добавления в корзину */
.add-to-cart-form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.product-card:hover .product-hover-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* ===== СОСТОЯНИЕ ПУСТОЙ ИСТОРИИ ===== */

/* Улучшенные стили для пустого состояния */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    color: #666;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin: 30px 0;
    line-height: 1.6;
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 25px;
    opacity: 0.7;
    display: block;
}

.empty-state h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.empty-state p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #7f8c8d;
    line-height: 1.5;
}

/* ===== ПАГИНАЦИЯ ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding: 20px;
}

.page-link {
    padding: 10px 20px;
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid transparent;
}

.page-link:hover {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 13, 173, 0.3);
}

.current-page {
    color: #2c3e50;
    font-weight: 600;
    padding: 10px 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid #000000;
}

/* ===== ФОРМЫ И КОНТЕЙНЕРЫ ===== */
.profile-form-container, 
.address-form-container, 
.confirm-delete-container,
.order-detail-card,
.orders-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .dashboard-nav {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .mytreasure-container {
        padding: 10px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .page-header {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .view-history-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .view-history-actions {
        justify-content: center;
    }
    
    /* Адаптация панели на мобильных */
    .product-hover-panel {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        height: 65%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 2;
        border-radius: 0 0 12px 12px;
        max-height: none;
        box-shadow: none;
    }

    .product-card:hover .product-hover-panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .product-card:hover .product-image {
        transform: scale(1.05);
    }
    
    .panel-content {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 0 0 12px 12px;
        padding: 25px 20px 20px;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    .product-card:hover {
        z-index: 1;
        border-radius: 12px;
    }
    
    /* Адаптивность для карточек дашборда на мобильных */
    .dashboard-card {
        padding: 20px 15px;
        min-height: 100px;
    }
    
    .dashboard-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .dashboard-card p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dashboard-nav {
        grid-template-columns: 1fr;
    }
    
    .panel-content {
        padding: 15px 10px 10px;
    }
    
    .pagination {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .dashboard-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .product-category {
        font-size: 10px;
    }
}

/* ===== СТАТУСЫ ЗАКАЗОВ ===== */
.status-pending { color: #f39c12; font-weight: bold; }
.status-processing { color: #3498db; font-weight: bold; }
.status-completed { color: #27ae60; font-weight: bold; }
.status-cancelled { color: #e74c3c; font-weight: bold; }

/* ===== КАРТОЧКИ АДРЕСОВ ===== */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.address-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    padding-top: 50px;
}

.address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.address-card.default {
    border-color: #000000;
    background: linear-gradient(135deg, #fff, #f9f5f0);
}

.default-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000000;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.address-field {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.address-field strong {
    min-width: auto;
    color: #000000;
    font-size: 0.9rem;
}

.address-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-link {
    color: #303030;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #000000;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.action-link:hover {
    background: #000000;
    color: white;
}

/* Утилиты */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.mb-30 { margin-bottom: 30px; }

/* Адаптивность для панели на мобильных */
@media (max-width: 768px) {
    .product-hover-panel {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        height: 60%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 2;
        border-radius: 0 0 12px 12px;
        max-height: none;
        box-shadow: none;
        border-top: 1px solid #e0e0e0;
    }

    .product-card:hover .product-hover-panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .panel-content {
        background: transparent;
        border-radius: 0 0 12px 12px;
        padding: 20px 15px 15px;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    .buy-now-btn {
        padding: 12px 18px;
        font-size: 14px;
        min-height: 44px;
    }
}

/* Улучшения для маленьких экранов */
@media (max-width: 480px) {
    .panel-content {
        padding: 15px 10px 10px;
    }
    
    .buy-now-btn {
        padding: 10px 14px;
        font-size: 12px;
        min-height: 36px;
    }
    
    .current-price-small {
        font-size: 14px;
    }
}

/* ===== УНИФИКАЦИЯ ШРИФТОВ КАК НА ГЛАВНОЙ ===== */
.mytreasure-container h1,
.mytreasure-container h2,
.mytreasure-container h3,
.mytreasure-container strong {
    color: #000000;
    font-family: 'Georgia', serif;
}

.page-header h1 {
    color: white;
    font-family: 'Georgia', serif;
    font-weight: 300;
}

/* ===== АДАПТИВНОСТЬ ДЛЯ 2 ЭЛЕМЕНТОВ В СТРОКУ ===== */
@media (max-width: 768px) {
    /* Для адресов */
    .addresses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Для карточек товаров в истории просмотров */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Для таблицы заказов на мобильных */
    .orders-table {
        font-size: 14px;
    }
    
    .orders-table td,
    .orders-table th {
        padding: 8px 5px;
    }
    
    /* Карточки дашборда */
    .dashboard-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .dashboard-card {
        padding: 15px;
        min-height: 120px;
    }
    
    .dashboard-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .dashboard-card p {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    /* На очень маленьких экранах - 1 колонка */
    .addresses-grid,
    .products-grid,
    .dashboard-nav {
        grid-template-columns: 1fr;
    }
    
    /* Кнопки действий в таблице */
    .action-link {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
}

/* ===== УЛУЧШЕННЫЕ СТИЛИ ДЛЯ ФОРМ ===== */
.form-section {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    background: #f8f9fa;
}

.form-section legend {
    font-family: 'Georgia', serif;
    color: #000000;
    font-size: 1.2rem;
    padding: 0 10px;
    background: white;
    border-radius: 20px;
    border: 2px solid #000000;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: 600;
}

/* ===== КНОПКИ БЕЗ РАМКИ (ЧЕРНЫЕ КАК НА ГЛАВНОЙ) ===== */
.btn {
    color: #000000;
    font-family: 'Georgia', serif;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    font-size: 16px;
}

.btn:hover {
    color: #000000;
    background: transparent;
}

/* ===== ЗАГОЛОВКИ С КНОПКАМИ КАК В ИСТОРИИ ПРОСМОТРОВ ===== */
.view-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex-wrap: wrap;
    gap: 20px;
}

.view-history-stats {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 600;
}

.view-history-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

/* ===== УЛУЧШЕННОЕ ОТОБРАЖЕНИЕ ФОТО ПРОФИЛЯ ===== */
.profile-avatar img {
    border: 3px solid #000000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.profile-avatar img:hover {
    transform: scale(1.05);
}

/* ===== СОСТОЯНИЕ ПУСТОЙ СТРАНИЦЫ ===== */
.empty-state {
    background: white;
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin: 30px 0;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    opacity: 0.8;
}

.empty-state h3 {
    color: #000000;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
}

.empty-state p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.5;
}