/* Стили для системы просмотра профилей */

.avatar-placeholder {
    transition: transform 0.2s ease-in-out;
}

.avatar-placeholder:hover {
    transform: scale(1.05);
}

.user-card {
    transition: box-shadow 0.2s ease-in-out;
}

.user-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.profile-stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.profile-stats .stat-item {
    text-align: center;
    padding: 10px;
}

.profile-stats .stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.profile-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.character-table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.character-table .level-badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

.search-results .user-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.search-results .user-card:hover {
    border-color: #007bff;
}

.pagination .page-link {
    color: #007bff;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

/* Стили для иконок Bootstrap Icons */
.bi {
    display: inline-block;
    vertical-align: middle;
}

.bi-eye, .bi-person, .bi-search, .bi-people, .bi-person-x, .bi-chevron-left, .bi-chevron-right {
    font-size: 1rem;
}

.btn .bi {
    margin-right: 0.25rem;
}

.btn-sm .bi {
    font-size: 0.875rem;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .profile-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .character-table {
        font-size: 0.9rem;
    }
    
    .avatar-placeholder {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
}

/* Анимации для загрузки */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Стили для статусов пользователей */
.user-status {
    position: relative;
}

.user-status.online::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #28a745;
    border: 2px solid white;
    border-radius: 50%;
}

.user-status.offline::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #6c757d;
    border: 2px solid white;
    border-radius: 50%;
} 